How to check if Google Consent Mode v2 is implemented correctly?

How to check if Google Consent Mode v2 is implemented correctly?

Nelson
Written by NelsonLast update 2 days ago

First, you jave to install CookieScript with Google Tag Manager. Then, implement Google Consent Mode v2 with GTM or manually.

After you have implemented Google Consent mode v2, check the following settings:

  1. Google Consent Mode is enabled in settings.
    See the guide about how to enable Google Consent Mode.

  2. CookieScript is installed in GTM using the latest template from gallery.
    See the guide about how to update the GTM template.

  3. CookieScript trigger is set to Consent Initialization (AND no other tags in that trigger)

  4. GA trigger is set to Initialization.
    The right GA trigger should look like this:

    The common mistake is the wrong GA trigger selected like in this example:

  5. Clear browser Cache

  6. Use preview mode to see how it works. Link to debugger info.

Note: There is no need to modify the google tag code, just enable the Google Consent Mode in the settings and Google will handle it.

Did this answer your question?