Manage templates

The template of a tag is the JavaScript code that integrates the vendor code snippet with Tealium iQ Tag Management. The tag template can be modified for advanced customization or updated to get the latest version of a tag.

To get the latest version of a tag, see the template status checker.

Edit a template

Editing a tag template is only recommended for advanced users with working knowledge of JavaScript.

To edit a tag template:

  1. Click the desired tag.
  2. In the Tag Configuration panel, click Edit.
  3. Scroll down to Advanced Settings and expand the section. Click Edit Templates.
    Edit Templates
  4. Make your changes and click Apply.
  5. Save the profile.

Update a template

Updating a template replaces the current template with the latest system version. If a template has been customized, this action will overwrite those changes.

To update a template:

  1. Use a method to access the template.
  2. Click Update.
    A confirmation dialog appears.
  3. Click Update to confirm and replace the template with the latest system version of the template.
  4. Click Apply.

You must save the profile to preserve the changes to the template.

Revert a template

Reverting a template discards any changes that have been made since the last time the profile was saved. If a template has been updated or edited, this action will undo those changes.

To revert a template:

  1. Use a method to access the template.
  2. Click Revert.
    A confirmation dialog appears.
  3. Click Revert to confirm and revert to the last saved version of the template.
  4. Click Apply.

Was this page helpful?

This page was last updated: January 7, 2023