The Consent Mode (Google tags) custom tag template is a tag template for Google Tag Manager’s community template gallery.

Resource
Vendor documentation
Blog post
Gallery entry
GitHub repo

Description

This tag lets you deploy the Consent Mode functionality offered by Google for controlling the storage settings for their tags and pixels.

Instructions

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.

Release notes

Date Changeset
17 October 2020 Initial release.