Google Consent Mode - Advanced

This tutorial is intended for advanced Google Consent Mode (GCM) settings. Consider using it if you use advanced settings on your Google Tag Manager tags.

This tutorial does not replace the need to previously complete the basic settings.


A brief summary on why this setting is needed and how Google Consent Mode works. Check out our GCM Getting Started guide for a more in-depth understanding.

Some tags, such as those for Google Analytics and Google Ads, now have Built-in consent checks.

Looking at it in the context of privacy, tags that contain Built-in consent checks are loaded/fired regardless of the visitor's consent. In other words, the data and information will be sent to Google without the explicit permission of the owner of the data.

The main technical difference is that in these cases these tags do not record cookies in the browser. For this reason, it is recommended to set up these tags with Additional consent checks. This way, the tags will not be loaded or triggered before explicit consent has been given.

To set up the Checks, follow the next steps.


Settings 01: permission - additional consent

  1. Click on the tag to open it, and click on the Tag configuration box. Screenshot from 2023-09-14 14-41-40

  2. Click Advanced Settings, then Consent Settings to display the options, and check the Require additional consent for tag to fire option. Screenshot from 2023-09-14 14-42-05 Screenshot from 2023-09-14 14-42-44

  3. Click on the + Add required consent button, click on the field that just appeared, and select the type of consent desired. Screenshot from 2023-09-14 14-56-37

  4. Repeat step 3 for all consent types you want to add.

Settings 02: single trigger

If the tag has a simple trigger, like an All Pages, follow these steps:

  1. Click on the Triggering box, and click on the "+" symbol, and in the list of available triggers, click on the "+" symbol again to configure a new trigger. Screenshot from 2023-09-14 14-57-36 Screenshot from 2023-09-14 14-57-48

  2. Click on the "Trigger Configuration" box, and from the list of available types, select the Custom Event, in the Others section. Screenshot from 2023-09-14 14-59-22 Screenshot from 2023-09-14 15-00-08

  3. In the Event name, type

    , and select the All custom events option, if this option is not already selected, choose a name for the trigger, and click the blue Save button. Screenshot from 2023-09-14 15-01-27

  4. Make sure both triggers are present (the old trigger that was already there and the new custom trigger that you just created), and click the blue Save button Screenshot from 2023-09-14 15-02-29

  5. Click the blue Save button in the top right corner.

Settings 03: other types of triggers

If the tag has other types of triggers, which depend on visitor actions, such as clicks, or other rules such as a specific url, follow these steps (in this specific example, we will use a click-based trigger):

  1. Click on the trigger, to open its settings, click on the Trigger Configuration box, and check the Some Clicks option Screenshot from 2023-09-14 15-04-19

  2. In the fields that have just appeared, in the first field, click on New variable..., and again on the Variable configuration box. Screenshot from 2023-09-14 15-05-30 Screenshot from 2023-09-14 15-32-03

  3. In the list, click JavaScript Variable.
    Screenshot from 2023-09-14 15-14-04

  4. Back in Variable Configuration, in Global Variable Name, type

    , choose a name for this variable, and click the blue Save button in the top right corner. Screenshot from 2023-09-14 15-15-30

  5. Back in Trigger Configuration, select contains in the second field, and in the third field, type

    again. Screenshot from 2023-09-14 15-16-58

  6. Click the blue Save button in the top right corner.

  7. Repeat these steps for each of the triggers of this type, but instead of creating a new variable, just select the variable you already created the first time.

And that's it, don't forget to publish the changes.

Address: 7345 W Sand Lake Road, Ste 210 Office 5898 Orlando, FL 32819
EIN: 86-3965064
Phone: +1 (407) 768-3792



Legal Terms

© GO ADOPT, LLC since 2020 • Made by people who love