Manage templates
A template contains JavaScript code that integrates the vendor code snippet with Tealium iQ Tag Management or a component of the consent manager. Templates 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.
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:
- Use a method to access the template.
- Click Update. A confirmation dialog appears.
- Click Update to confirm and replace the template with the latest system version of the template.
- Click Apply.
You must save the profile to preserve the changes to the template.
Edit a template
Editing templates is only recommended for advanced users with working knowledge of JavaScript.
There are two ways to access templates for edits: through the admin menu or the tag configuration screen.
Admin Menu
Follow these steps to edit a template:
- In the admin menu, click Manage Templates.
- Select the template you want to edit from the drop-down list and make changes.
This method allows you to browse all templates in the profile and quickly access them from a drop-down list.
Tag Configuration
To edit a tag template:
- Click the tag you want to edit.
- In the Tag Configuration panel, click Edit.
- Scroll down to Advanced Settings and expand the section. Click Edit Templates.
- Make your changes and click Apply.
- Save the profile.
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:
- Use a method to access the template.
- Click Revert. A confirmation dialog appears.
- Click Revert to confirm and revert to the last saved version of the template.
- Click Apply.
This page was last updated: September 8, 2023