- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
This article describes how to manage templates and how to update to the latest version of a template.
In this article:
To manage templates you need the Manage Tag Templates permission.
A template contains the JavaScript code for the core logic of a vendor tag or a component of the consent manager. Each marketplace vendor tag has its own template that converts the tag configuration, data mappings, and extensions from the iQ Tag Management interface into the JavaScript code that runs on your site. And each component of the consent manager has a template that controls its behavior on your site.
There are a number of scenarios where you might need to edit a template, including:
Some customizations and fixes can be achieved using an extension scoped to the tag rather than editing the template. This approach should be considered first because it is easier to maintain over time.
Templates are used for vendor tags, Tealium tags, and the consent manager. When you view a list of templates, each type can be identified by the following names:
Twitter Conversions: Twitter Conversions (Retargeting): Tag UID: 2042
When you edit or update a template you must apply your changes and then save the profile. If a marketplace tag template is changed, the tag will be marked as Updated. If you change a template and don't save the profile, the changes are discarded.
The following methods are available for accessing templates:
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:
You must save the profile to preserve the changes to the 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:
Copyright All Rights Reserved © 2008-2023