Universal Data Object (
utag_data in which dynamic data from your webpage is passed to the Tealium tag. The properties in this object are named using plain, vendor neutral terms that are specific to your business.
The following is an example declaration of
utag_data, which is done prior to loading the Universal Tag
Universal Tag (
utag.js that contains all of the generated code necessary to load third-party tags onto your site. It enables Tealium iQ Tag Management to fire tags by inserting the following code into the page:
utag.js file path contains the following attributes:
||Tealium account name||
||Tealium profile name||
||Tealium environment name||
Learn more about
Get the Code
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.
The following example shows the code placement:
<head> <!-- code --> </head> <body> <TEALIUM CODE SNIPPET GOES HERE> <!-- code --> </body>
Learn more about the order of operations to understand how the Universal Tag
Use the following tools to validate that your
utag.js installation is working properly.
Universal Tag (utag) 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
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.
- To enable this feature, turn on the Web Companion setting in your publish settings.
- Learn about other methods of switching environments.
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.
Thank you for your feedback!
This page was last updated: January 7, 2023