Properties
Provides a comprehensive reference for Scroll Tracking payload properties, detailing the required variables and values for event tracking in AI Paywall.
This page provides a detailed reference for the Scroll Tracking payload properties used when tracking user scroll behavior. The information is relevant to both client-side and server-side implementations and can help ensure consistency and accuracy when sending scroll data to Zephr.
The following table outlines the required variables and their corresponding values for event tracking in AI Paywall:
| Variable | Description |
|---|---|
brandId (required for client-side) | A unique brand identifier dynamically populated by JavaScript. |
wId_2 (required) | An offer ID or rate plan array passed by the client. |
dtId (required) | The blaize_tracking_id value. For client-side implementations, this ID is automatically populated by the Zephr JavaScript. For server-side implementations, it must be retrieved manually from the Zephr cookie of the same name. |
action (required) | A unique identifier indicating the action taken. |
isAttr(optional, specific to conversion events) | If true, the conversion did not originate from a CTA on a Zephr component, for example, site navigation or external links. |
refer (required) | The document.referrer value passed by the client. |
requestUrl (required) | The current page URL. Use window.location.href for this value. |
actionValue (required for scroll tracking and conversion events |
|
user object | Context about the viewed content.
|
content object | Context about the type of content.
|
product object | Context passed by the client about the type of paywall.
|
context object | Context about the user's journey.
|
checkout object | Context about the checkout journey.
|