Using a data layer for Analytics and other Experience Cloud solutions is a best practice. In this video, learn how to pull values out of the data layer and use them in Experience Platform Tags to populate variables in Adobe Analytics.
Review additional information about data layers in the Experience Cloud documentation and the blog Data Layers: From Buzzword to Best Practice.
Define or identify a data layer standard to use on your site.
Populate the data in the data layer.
In Experience Platform Tags, create “data elements” that map the data points in the data layer. These data elements are used throughout Experience Platform Tags in rules and extensions.
In either the Analytics extension’s global variables section or in a Tags rule, assign the values in data elements to props, eVars, pageName, and other Analytics variables.
Trigger a beacon that sends the data into Analytics.
The following video walks you through the process.
The specific data layer used in this video may not be considered “best practice” for your organization. The concept of using a data layer for surfacing important data to your digital marketing solutions is best practice.