We have expanded and simplified how you manage code in the
utag.sync.js file. A new extension scope named utag Sync associates an extension to the
utag.sync.js file could only be updated by editing the tag template. This method was inflexible, prone to error, and limited to users with the permission to manage templates. The new scope allows you to manage the contents of the
utag.sync.js file with all the conveniences of extensions.
How It Works
utag.sync.js is replaced by the code from the scoped extensions.
Convenience of Extensions
Enjoy the convenience of extensions while managing
utag.sync.js. Enable or disable the code in
utag.sync.js by turning on or off the associated extensions and easily publish
utag.sync.js to different environments using publish locations.
Support for Inheritance and Libraries
Create and manage shared utag Sync extensions with libraries, which will be inherited to child profiles. This allows you to easily manage common sync code across profiles.
Support for Publishing Approval and Environment Lock
How do I enable the feature?
To enable this feature, toggle on the Generate utag.sync.js File option in your Publish Configuration settings, as follows:
- Click Save/Publish.
- Click Configuration Publish Settings.
- From the General Publishing tab, scroll down to the Implementation section and toggle the Generate utag.sync.js File option to On.
- Click Save.
- Save and Publish your changes to the desired environments.