The following is an example declaration of utag_data, which is done prior to loading the Universal Tag utag.js:
To locate and get the code for installing Tealium on your site:
In Tealium iQ Tag Management, click the user menu icon in the upper right corner and select Code Center
In the Tealium Script tab, click the Select All button to select the code snippet
Copy the selected Universal Tag code to your clipboard
Paste the Universal tag code immediately after the opening <body> tag on every page of your website. This positioning provides the best compatibility with the greatest number of vendors and allows third-party tracking to complete before the visitor navigates to the next page.
Use the following tools to validate that your utag.js installation is working properly.
Universal Tag Debugger
The Universal Tag Debugger (or “utag debugger”) provides an easy way to validate your data layer and tracking calls in real-time as you navigate your site. It’s similar to Web Companion, but is focused on the data captured by each tracking event within utag.js.
The tracking calls made by utag.js are displayed and updated in the tool as you navigate or trigger in-page events.
Learn more about installing and using the Universal Tag Debugger
Web Companion is a browser tool that allows you to check your tag configuration, inspect data on your site, and create and test new configurations quickly and easily. Launching this tool quickly verifies that the utag.js library is loading properly on your site.
The current account, profile, version, and environment that the page is running is displayed under this tab.
Target Environment (Disabled by Default)
The environment detected in the page code is outlined in orange. The currently viewed environment is highlighted in blue. To change the environment, click the target environment you wish to load, then click Refresh Page.
Tags & Extensions Tabs
This tab shows which Tags loaded and whether they successfully sent requests. The Extensions that are successfully completed are also displayed.
Changes applied to the profile through the Web Companion are queued at the bottom of the bookmarklet and are not committed until you click the Save… button. If you do not wish to commit a change, you may also remove that change from the queue by clicking on the X button next to the appropriate change.
Learn more about installing and using Web Companion.