The data layer contains built-in variables that collect basic information about the page being tracked. These variables include cookies, standard DOM variables from the page, and Tealium-specific variables about the loaded configuration.
Learn more about the types of data layer variables available.
Standard Page Data
The example values shown are based on the following page URL:
Google Tag Manager events are flattened to Tealium attribute names in order to meet the Tealium Customer Data Hub specifications. The event data is received by Tealium EventStream.
The value of tealium_event is the value of the event in the dataLayer.push call. Google Tag Manager sets the default page view value to gtm.js as the name of the event. To override the default, set the Tealium Event config setting to a variable that contains the event name.
Attributes are not automatically added. You must add these attributes in Tealium EventStream.
The following purchase event example shows how the client-side e-commerce events get flattened.
'id':'T12345', // Transaction ID. Required for purchases and refunds.
'name':'Triblend Android T-Shirt', // Name or ID is required.
'name':'Donut Friday Scented T-Shirt',