Data Layer | Tag Manager
https://support.google.com/tagmanager/answer/6164391?hl=en#:~:text=Set%20up%20the%20data%20layer%20variable&text=Click%20Variables.,bookTitle%2C%20not%20book%20title.) The data layer Google Tag Manager functions best when deployed alongside a data layer. A data layer is a JavaScript object that is used to pass information from your website to your Tag Manager container. You can then use that information to populate variables and activate triggers in your tag configurations. Developers should read the developer documentation for more information. Rather than referencing variables, transaction information, page categories, and other important signals scattered throughout your page, Tag Manager is designed to easily reference information that you include in your data layer source code. Implementation of a data layer with variables and associated values, ensures that they will be available as soon as you need them to fire tags. When you set up your website or mobile app to work with Tag Manager and a data layer, think about what categories of information the data layer should handle, such as: Product data: Product name, price,
Data Layer | Tag Manager More »
