The following table summarizes the events tracked out-of-the-box by the Sitefinity Insight connector along with some additional information. All client-side tracking is performed via the JavaScript SDK.
NOTE: The JavaScript SDK supports HTML5 instrumentation functionality that makes reporting data to Sitefinity Insight on some interactions with the HTML elements on your page easier. 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.
src
“PageTitle”,
“PageUrl”,
“PageTitle”
“PageUrl”
You get additional object metadata for the title - with key “PageTitle”, and URL - with key “PageUrl”, of the page in which the navigation has been expanded.
Subject metadata, sent to Sitefinity Insight:
Referer
This interaction is tracked starting with Sitefinity CMS 14.1. An interaction is sent to Sitefinity Insight, along with personalization object metadata. For details, see Sitefinity Insight API data types » Personalization object metadata. You may use the following properties in the object metadata:
ReferrerUrl
ReferrerType
PageId
ReferrerId
SiteName
NOTE: If the visitor uses their browser’s context menu to open the file in another tab, the interaction will not be tracked.
This interaction is sent to Sitefinity Insight for links which navigate outside of the current domain.
This interaction is not sent in the following cases:
You can change the version of the Sitefinity Insight JavaScript SDK your website is using. To do so, in the Sitefinity CMS backend, navigate to Administration » Settings » Advanced » Pages » Script Manager » Script reference » DecJsClient » Path. For more information about how to get the JavaScript SDK from a CDN, see Capture client-side behavior with JavaScript SDK » Start the SDK.
In cases when the events tracked out-of-the-box do not serve the needs of a more complex scenario, you can access the instantiated Sitefinity Insight JavaScript SDK client on your pages. The client is saved under the window.DataIntelligenceSubmitScript._client variable via which you have access to all existing clients, for example, data collection, personalization, and others, provided by the JavaScript SDK. For more information, see Capture client-side behavior with JavaScript SDK.
window.DataIntelligenceSubmitScript._client
IMPORTANT: We strongly recommend using the Sitefinity CMS-provided instance of the JavaScript SDK, instead of instantiating it on your own.
To use any of the clients, listed above, make sure that the window.InsightInitScript._client is properly loaded. In the following example, this is indicated by raising the decclientready event:
decclientready
Following is an example of how to send an interaction to Sitefinity Insight when a visitor clicks a particular button on your page. You can insert the code on the page via a JavaScript widget.
If you are using Sitefinity CMS, you can use the cookie management features of the Sitefinity Insight JS SDK to track your users across all of your subdomains. To do this, set 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 Track interactions across Sitefinity CMS sites.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important