Consent Mode in TAG
Steps to configure the "Consent Mode" in TagCommander.
Summarizing all recommended steps:
- 2.Add our tag template.
- 3.Configure your tag and rules.
- 4.Configure your third-party vendor tags in GTM.
- 5.Test and deploy your container(s).
From the "INTEGRATIONS" side menu, expand
(1)"Sources" and select
Select "Sources" and "Web containers".
Select a "Web" container and, from the step
(3)"SELECT" (or "EDIT"), click on
Click on "Add Tag(s)".
Search for the tag "gtag - Google Consent Mode with TRUST (BETA)" to add it and proceed with its configuration.
Add the tag "gtag - Google Consent Mode with TRUST (BETA)".
You can now configure your tag and check the
(5)"Tag Implementation guide" for more details. See
(6)each field for detailed information on how you can map these fields with your datalayer.
Configure each field as needed.
Under "RULES", select
(7)"Do Not Include In Privacy Scope" as privacy category or select a category that is always ON.
Select "Do Not Include in Privacy Scope".
To ensure that the consent is correctly managed by GTM with third-party vendor tags, we strongly recommend to enable reactive events by configuring the related fields.
Configure reactive events.
While Google native product tags, such as "Google Analytics" or "Google Ads" ones, work out of the box, third-party vendor tags, hosted in GTM, require additional settings to properly operate with the user consent. First, open your tag configuration and check under the
(8)"Advanced Settings" →
(9)"Consent Settings" if a consent type (E.g. "ad_storage") is already preconfigured: if not, you need to add it by selecting the option
(10)"Require additional consent for tag to fire" and
(11)input the consent type(s) you want to include.
Tag specific "Consent Settings" in GTM.
Part 1: configure a "Trigger Group".
In the trigger group add
(12)any preexisting triggers and
(13)a trigger named as your configured reactive event.
Part 2: configure a "Trigger Group".
Part 3: configure a "Trigger Group".