Tracking snippet, identities and events
Install the script, configure consent and collect page, route, click, form, scroll and heartbeat activity.
Visitor Intelligence & Live Engagement
Open guide →GuideOpen the tracking snippet
Copy the generated async/defer script and required data attributes.
Open guide →GuideInstall the tracking snippet on a website
Place the script before the closing head tag or in the approved global template.
Open guide →GuideConfigure the data-site attribute
Use the exact site key registered by the module.
Open guide →GuideConfigure the data-endpoint attribute
Use the generated collector endpoint when tracking outside the CRM host.
Open guide →GuideUse explicit granted consent
Set data-consent="granted" only where the site’s consent process authorises collection.
Open guide →GuideUse runtime-required consent
Omit granted consent or integrate the script with the site consent process where required.
Open guide →GuideUse the data-respect-dnt attribute
Match the script attribute to the configured privacy policy.
Open guide →GuideSet visitor identity type
Use data-user-type to classify website visitor, client or other supported context.
Open guide →GuideSet a visitor label
Use data-user-label for a readable identity label where appropriate.
Open guide →GuideSet the access-area attribute
Use data-access-area to identify website, admin, client or another embedded context.
Open guide →GuideUnderstand page-view tracking
The script records initial and supported navigation page views.
Open guide →GuideTrack single-page application routes
The script observes supported history/navigation changes.
Open guide →GuideUnderstand click-event tracking
The script records supported click metadata, not arbitrary page content.
Open guide →GuideUnderstand form-submission metadata
The script records form submission metadata while avoiding unsupported field-content capture.
Open guide →GuideUnderstand scroll-depth tracking
The script records milestone depth events.
Open guide →GuideUnderstand session heartbeat pings
Periodic pings keep the visitor session active.
Open guide →GuideUnderstand event batching
The browser batches events and uses sendBeacon or fetch with keepalive where available.
Open guide →GuideUnderstand disabled mouse-movement capture
The supplied script does not stream mouse movement.
Open guide →GuideVerify the tracking script
Load a controlled page and confirm collect/ping responses and a visible session.
Open guide →