- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
The data layer is the foundation of tag management.
In this article:
The data layer defines attributes about your website, such as site language or page name, as well as important visitor activity, such as a purchase or login. The first step in implementing tag management is to define the attributes of your data layer. The primary development effort required to implement tag management is to add the data layer to your website page.
Before you add your first data layer variable, let's review how the data layer works:
utag_data
, also known as the Universal Data Object (UDO).page_name
in your configuration would appear in your web page code as utag_data = { "page_name" : "My Home Page" };
order_id
instead of oid
.The first step in creating your data layer is to add a variable. In this step, add a bundle of variables named "Base Variables" that are common variables on most sites. Specifically, this bundle includes a variable namedpage_type
that is used throughout this guide.
It is recommended to also add the "Tealium Built-In Data" variables bundle.
Follow these steps to add the variable bundle named "Base Variables":
Notice how the new variables are marked with an orange asterisk (*). The color orange indicates unsaved changes. Don't worry about saving yet, you will save all of your work in the final steps.
Copyright All Rights Reserved © 2008-2023