Tealium Tag Manager Integration with Sitecore : Part1

Posted 09/14/2016 by Yogeshwer Sharma

Recently we started working with Tealium tag Manager Integration with Sitecore. I am sharing information what we have built so far and also how we can use the Tealium dashboard.

I have divided this functionality into series of 3 posts –

  1. Part 1 - Overview of Tealium and integration with Sitecore
  2. Part 2 - Code which will render Tealium scripts on website which provided connection with Tealium.
  3. Part 3 - Complete overview about Tealium Dashboard and we will learn how we can add or manage Tealium features from Tealium Dashboard.

A quick overview about Tealium:

Tealium tag management integration with Sitecore enables marketers to easily deploy and manage their tag-based online marketing solutions on their own, without sapping valuable IT resources.

To take advantage, Sitecore clients simply install the certified Tealium plug in and drop a single line of code onto their web pages. They can then add, edit and remove any digital marketing vendor tag through a convenient web-based interface without ever touching the web page.

Features provided by Tealium:

The module represents an object-oriented framework that allows Sitecore developers to enable the Tealium Tag Management scripts into their solutions. The project is fully configurable and customizable. 

  • Automates the deployment of Tealium tag on Sitecore sites. 
  • Streamlines the addition of rich data layer on web site, simplifying analytics deployments. 
  • Provides support for both synchronous and asynchronous tag management implementations. 
  • Supports all third-party digital marketing tags

Now let me start with how we can integrate Tealium with Sitecore.

Tealium tag management integration with Sitecore:

  1. Create a data template under /sitecore/templates/  you can also create a folder with name “TealiumTagManagement” and under that folder you can create Data template with name “Tealium”.
  2. Create below fields on that data template –
  3. Field Name

    Field Type



    Single Line Text

    The enable setting adds Tealium Tags (Enable/Disable).


    Single Line Text

    Tealium account name


    Single Line Text

    Tealium profile name


    Single Line Text

    Environment name (i.e. prod/qa/dev)

    Enable utag.sync.js


    If selected, utag.sync.js is added to the head for A/B testing and personalization solutions such as Adobe Target, Optimizely, etc


    Tealium Fields

  4. Create a folder with name TealiumTagManagement under /sitecore/system/modules/ and create Tealium item by referring Tealium data template which we created in step 1 and provide field values as below.

    Tealium Fields on Item

  5. Create s config file under \App_Config\Include with name Tealium.TagManagement.config and paste below given configurations in that file.
    <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
    <setting name="Tealium.TealiumSettings.ItemID" value="[Item ID of Tealium Item created under /sitecore/system/modules/ TealiumTagManagement/]"></setting>
          <setting name="Tealium.Utag.Js.UriFormat" value="//tags.tiqcdn.com/utag/{0}/{1}/{2}/utag.js"></setting>
          <setting name="Tealium.Utag.Sync.Js.UriFormat" value="//tags.tiqcdn.com/utag/{0}/{1}/{2}/utag.sync.js"></setting>

In this post we leant about Tealium and created settings and fields in Sitecore which will manage Tealium settings. In next post we will learn about code which will render Tealium scripts on website which provided for connection with Tealium.