Data layer events will fire based on specific triggers.
You can best take advantage of data layer events by connecting a Google Tag Manager container to your application. The application's GTM container will be embedded on all landing pages, and you can use these data layer events to set up your own 3rd party pixels and integrations.
The following events will fire:
Each event will have the following payload:
Event Property | Description |
---|---|
revhq.event | The unique name of the trigger: should be used as the trigger definition within GTM. |
revhq.visitorID | Long-lived anonymous token assigned when a visitor comes to the page for the first time. When an individual clicks on a link in an email, it reuses this identifier to preserve identity and actions across devices. |
revhq.sessionID | Shorter-lived cookie value that expires after 30 min of inactivity. |
revhq.landingPage | Contains the information around the URL accessed and the specific components rendered. It contains a nested object. |
revhq.landingPage.host | The hostname component of the URL. E.g., a request to https://xyz.myrevhq.com/test-path?a=b with have a host attribute of xyz.myrevhq.com . |
revhq.landingPage.path | The path component of the URL (and also corresponds to the path attribute when building a landing page). E.g., a request to https://xyz.myrevhq.com/test-path?a=b will have a path attribute of /test-path . |
revhq.landingPage.search | The URL search string. E.g., a request to https://xyz.myrevhq.com/test-path?a=b will have a search attribute of ?a=b . |
revhq.landingPage.versionID | Identifies the specific landing page version rendered to the visitor. If this landing page is hosted outside of Revenue HQ (via the embedded JavaScript component), this value will be empty. |
revhq.landingPage.versionName | The name component of the version. If this landing page is hosted outside of Revenue HQ (via the embedded JavaScript component), this value will be empty. |
revhq.referral | Contains the Referral object of the existing request. It contains a nested object. All of the attributes will be present, but may be empty strings. |
revhq.referral.adGroup | |
revhq.referral.campaign | |
revhq.referral.content | |
revhq.referral.medium | |
revhq.referral.source | |
revhq.referral.term |