Last active
October 13, 2023 17:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function initInsight() { | |
var insightClient = new sfDataIntell.Client({ | |
apiKey: '12345678-1234-1234-1234-1234567890ab', // replace with your Insight data center API key | |
apiServerUrl: 'https://api.insight.sitefinity.com', // change this to the API server URL where your Insight account is hosted | |
source: 'Website', | |
trackPageVisits: true, | |
trackBrowserInformation: true, | |
trackUtmParameters: true, | |
crossDomainTrackingEntries: ["example.org", "example.com"], | |
sessionLengthInMinutes: 30, | |
trackYouTubeVideos: true, | |
trackVimeoVideos: true | |
}); | |
} | |
document.addEventListener('insight-sdk-ready', initInsight); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment