How to check your Google Consent Mode v2 implementation

To ensure your Google Consent Mode v2 implementation is set up correctly, follow these detailed steps:

1. Install the Tag Assistant Companion Browser Extension

For an improved debugging experience, install the Tag Assistant Companion browser extension.

2. Access Preview Mode

2.1. If you are using Google Tag Manager (GTM)
  • Log in to your Google Tag Manager account.
  • Navigate to your container.
  • Click the "Preview" button to enter preview mode.

    image-1717673978921.png

2.2. If you are not using GTM
2.3. Enter the URL

Enter the URL of the page you want to test and click "Connect."

Ensure you are testing from a country within the consent scope. If the consent scope is not set to "Global" in your consent settings, open the page from a country where the consent scope applies.

image-1717674199129.png

3. Initial Blocking Validation (Before Accepting Consent)

3.1. Check Default Consent Mode Flags
  • Choose GTM, GA, or Google Ads container in the preview mode interface.
  • Click to your page title in the left sidebar.
  • Navigate to the "Consent" tab within the action details.
  • Ensure the consent mode flags are set to the correct states, according to your default settings (typically, all flags are "denied" by default).

image-1717696840106.png

3.2. (Optional) Validate GTM Tag Blocking

Proceed with these steps if you have GTM tags that don’t support TCF or Advanced Consent Mode

  • Choose the GTM container from the preview mode interface.
  • Navigate to the "Summary"  section.
  • Select the "Tags" tab.
  • Ensure that your tag shows under the "Tags Not Fired" section; this means the tag is blocked.

    image-1717689435084.png


     

3.3. (Optional) Validate Google Analytics or Google Ads tags Blocking

Proceed with these steps if you use Advanced Consent Mode for Google Analytics or Google Ads. Clickio Consent implements Advanced Mode by default.

    • Select the Google Analytics (G-*) or Google Ads (AW-*) container. 
    • Locate the "Config" event for Google Analytics (G-*) or Google Ads (AW-*) container, or the "Container Loaded" event for the GTM container.
    • Navigate to the "Summary"  section.
    • Click to "Page View" box for Google Analytics (G-*) container or "Landing page" box for Google Ads (AW-*) container.

      image-1717689684835.png

    • Find the parameter named "Cookie Consent State".
    • Verify the G-code in its value, it should be G100, which means "No consent has been granted". See all possible G-codes below..
    • image-1717690125684.png

 

4. Unblocking Validation (After Accepting Consent)

On your page, accept the consent (press the "Agree & Close" button) to change the consent state.

  • Choose GTM, GA, or Google Ads container in the Google Tag Assistant interface.
  • Look for an event labeled "Consent Update" and select it.
  • Navigate to the "Consent" tab within the action details.
  • Ensure the consent mode flags are updated (typically, all flags are granted after full consent is accepted).

image-1717697169914.png

    4.3. (Optional) Validate GTM Tag Unblocking

    Proceed with these steps if you have GTM tags that don’t support TCF or Advanced Consent Mode

    • Choose the GTM container from the preview mode interface.
    • Navigate to the "Summary"  section.
    • Select the "Tags" tab.
    • Ensure that your tag shows under the "Tags Fired" section.

    image-1717692619568.png

    4.4. (Optional) Validate Google Analytics or Google Ads tags Unblocking

    Proceed with these steps if you use Advanced Consent Mode for Google Analytics or Google Ads. Clickio Consent implements Advanced Mode by default.

    • Select the Google Analytics (G-*) or Google Ads (AW-*) container. 
    • Locate the "Config" event for Google Analytics (G-*) or Google Ads (AW-*) container, or the "Container Loaded" event for GTM container
    • Navigate to the "Summary" section.
    • Click to "User Engagement" box for Google Analytics (G-*) container or second "Landing page" box for Google Ads (AW-*) container.

      image-1717693864347.pngimage-1717694015573.png

       

    • Find the parameter named "Cookie Consent State".
    • Verify the G-code in its value; it should be G111, which means "Both Google Ads and Google Analytics have consent.". See all possible G-codes below..

      image-1717694187132.png

    4.5. Validate unblocking after page refresh
    • Reload the page after accepting consent.
    • Repeat steps 4.1-4.4 to ensure all consent flags are still set to "granted" and all tags, including Google Analytics and Google Ads, remain unblocked.

    All possible G-codes