Element Visibility Event
The element visibility event sends tracking data when a visitor sees a specific element on a page. You can specify how much of the element needs to be visible and for how long before the event listener triggers.
See the full list of available events.
Prerequisites
- utag v4.38 or higher. For additional information, see How to upgrade utag.js.
How it works
A element visibility event tracks when a visitor sees a specific element on a page. When an element is visible to the visitor, the tracking call is triggered.
Event triggers
Event triggers are the specific actions the event listener tracks.
The event default is the element visibility event trigger. You can set the following thresholds for this trigger:
- Percent Visible - The percentage of the element that needs to be visible for the event listener to trigger.
- Minimum Duration - The amount of time in seconds that the element needs to be visible for the event listener to trigger. The default is 0 seconds, which triggers the event listener immediately.
Event trigger variables
Event trigger variables are the values the event sends with the tracking call. The element visibility event has the following default event trigger variable:
Element Visible
Identifier | Description |
---|---|
tealium_event="element_visible" |
The visitor revealed the specified element by a certain percentage of visibility and for the minimum amount of time. |
Example
{
"tealium_event" : "element_visible"
}
This page was last updated: January 30, 2023