extension-1-example-map

An example of an extension to supply the mapping, which should be a GroupToTagMap.

Also shows how to declare a non-standard name for the Tealium iQ TMS, which is used to determine if the TMS is allowed to run at all.

Source:
Example
window.tealiumCmpIntegration = window.tealiumCmpIntegration || {}
// the numbers are tag UIDs from the TiQ user interface
window.tealiumCmpIntegration.map = {
  yPyIAIIxY: {
    'Google Analytics': [6, 8, 10], // three Google Analytics tags in TiQ
    'Another Tag': [11]
  }
}
// if TiQ isn't allowed to fire, no tags will be fired at all, and no cookies will be set
window.tealiumCmpIntegration.tiqGroupName = 'Tealium iQ'