Consent Mode (Google tags) - Custom Tag Template
This tag lets you deploy the Consent Mode functionality offered by Google for controlling the storage settings for their tags and pixels.
The template is also compatible with GTM’s new consent features. It’s thus recommended to use the new Container Initialization trigger type to fire the Consent Mode tag generated with this template.
Please follow the official vendor documentation for information on how to configure the tag.
The tag should fire before any other tag in the container, so that the default settings will take effect. This means that you should also deploy a tag built with this template with the default command.
The URL Passthrough option isn’t really relevant for Google Tag Manager, as you are instructed to use Conversion Linker instead. However, it’s in the template in case you have other implementations using gtag.js.
|1 June 2021||Add compatibility with GTM’s new consent features.|
|17 October 2020||Initial release.|