Track data client-side
Events tracked out-of-the-box
For example, you can track clicks on buttons, links, and images on your page, or expanding dropdown menus. For more information, see Enable HTML5 attribute instrumentation.
|When working with Sitefinity CMS 10.0 and newer, you also get additional metadata, such as Title, CanonicalTitle, CanonicalUrl, and others.
|Play HTML5 Video
||The source of the video element, taken from the src attribute.
||When working with Sitefinity CMS 10.0 and newer, you also get additional object metadata for the title (with a key “PageTitle”) and URL (with a key “PageUrl”) of the page the video is played from.
|Shared on social media
||Share on social media
||Any social media, for example, Facebook, Twitter, or Google+.
||When working with Sitefinity CMS 10.0 and newer, you also get additional object metadata for the title (with a key “PageTitle”) and URL (with a key “PageUrl”) of the page from which the item was shared.
|Liked on Facebook
||Like on Facebook
||The URL of the object liked.
||When working with Sitefinity CMS 10.0 and newer, you also get additional object metadata for the title (with a key “SourcePageTitle”) and URL (with a key “SourcePageUrl”) of the source page from which the item was shared.
||The HTML content of the expanded list element.
||When working with Sitefinity CMS 10.0 and newer, you also get additional object metadata for the title (with a key “PageTitle”) and URL (with a key “PageUrl”) of the page in which the list is located.
||The name of the expanded navigation item, which is taken from the combined text contents of the expanded element.
||When working with Sitefinity CMS 10.0 and newer, you also get additional object metadata for the title (with a key “PageTitle”) and URL (with a key “PageUrl”) of the page in which the navigation has been expanded.
|Browser and device information
Subject metadata, sent to Sitefinity Insight:
- Name, version, and language of the browser
- Name, type, and manufacturer of the device the visitor uses
|Came from site (referrer tracking)
||Come from site
||The Referer request header of the current page.
|Participated in campaign (UTM parameters)
||Participate in campaign
||The query string containing the UTM parameters.
|Visited personalized page
||The URL of the page.
When working with Sitefinity CMS 10.1 and newer, this event is tracked client-side - an interaction is sent to Sitefinity Insight, along with personalization object metadata. For details, see Personalization object metadata API data type.
When working with Sitefinity CMS 10.0 and older, this event is tracked server-side.
To use any of the clients, listed above, make sure that the window.DataIntelligenceSubmitScript._client is properly loaded. In the following example, this is indicated by raising decclientready event:
If you are using newer versions of Sitefinity (i.e. 8.0 or newer) you will be able to use the cookie management features of the Sitefinity Insight JS SDK in order to track your users across all of your subdomains by setting the domain of the Sitefinity Insight JS SDK cookie from Administration -> Settings -> Advanced -> DigitalExperienceCloudConnector -> Tracking cookie domain. For example, if your main website mysite.com has several sub-domains, like music.mysite.com, movies.mysite.com and books.sitefinity.com, and you wish to track the person’s interactions across all of them, you should set the domain of the JS SDK cookie to .mysite.com. For more information, see Manage cookies.
You can implement cross-domain mapping across your Sitefinity CMS sites. You track two sites hosted under different domains and one of the domains is the mapping domain. For more information, see Tutorial: Track interactions across Sitefinity CMS sites.