---
title: How to check your Google Consent Mode v2 advanced implementation on web?
description: This guide will help you undertake some of the necessary checks to make sure your Google Consent Mode (GCM) v2 advanced setup is working as expected.
---

[Skip to content](https://support.didomi.io/how-to-check-your-google-consent-mode-v2-advanced-implementation-on-web#main-content)

- [English](https://support.didomi.io/how-to-check-your-google-consent-mode-v2-advanced-implementation-on-web)
- [Français](https://support.didomi.io/fr/comment-verifier-votre-implementation-google-consent-mode-v2-advanced-sur-web)

English

Show submenu for translations

[Customer portal](https://support.didomi.io/tickets-view)

![Didomi SAS](https://support.didomi.io/hs-fs/hubfs/Didomi-tail-name.png?width=182&height=34&name=Didomi-tail-name.png)

Open main navigation

Close main navigation

- - [English](https://support.didomi.io/how-to-check-your-google-consent-mode-v2-advanced-implementation-on-web)
    - [Français](https://support.didomi.io/fr/comment-verifier-votre-implementation-google-consent-mode-v2-advanced-sur-web)

  English
  
  Show submenu for translations
- [Customer portal](https://support.didomi.io/tickets-view)
- Go to didomi.io

 Go to didomi.io

 Our documentation has moved to docs.didomi.io. Please update any bookmarks.

- There are no suggestions because the search field is empty.

1. [Help Center](https://support.didomi.io/)
2. [Google integrations](https://support.didomi.io/google-integrations)

# How to check your Google Consent Mode v2 advanced implementation on web?

## This guide will help you undertake some of the necessary checks to make sure your Google Consent Mode (GCM) v2 advanced setup is working as expected for your website.

### [1. What's Google Consent Mode?](https://support.didomi.io/how-to-check-your-google-consent-mode-v2-advanced-implementation-on-web#what-is-gcm)

### [2. What is the advanced mode?](https://support.didomi.io/how-to-check-your-google-consent-mode-v2-advanced-implementation-on-web#what-is-basic-gcm)

### [3. How to test your advanced setup?](https://support.didomi.io/how-to-check-your-google-consent-mode-v2-advanced-implementation-on-web#check-basic-gcm)

### [4. How to read the `gcd` parameter?](https://support.didomi.io/how-to-check-your-google-consent-mode-v2-advanced-implementation-on-web#gcd-param)

### [5. Test cases](https://support.didomi.io/how-to-check-your-google-consent-mode-v2-advanced-implementation-on-web#test-cases)

#### [Verify the consent notice UI](https://support.didomi.io/how-to-check-your-google-consent-mode-v2-advanced-implementation-on-web#verify-ui) [Website - Prior consent](https://support.didomi.io/how-to-check-your-google-consent-mode-v2-advanced-implementation-on-web#website-prior-consent) [Website - After positive consent (optin)](https://support.didomi.io/how-to-check-your-google-consent-mode-v2-advanced-implementation-on-web#website-after-positive-consent) [Website - After negative consent (optout)](https://support.didomi.io/how-to-check-your-google-consent-mode-v2-advanced-implementation-on-web#website-optout) [GTM - Prior consent](https://support.didomi.io/how-to-check-your-google-consent-mode-v2-advanced-implementation-on-web#gtm-prior-consent) [GTM - After positive consent (optin)](https://support.didomi.io/how-to-check-your-google-consent-mode-v2-advanced-implementation-on-web#gtm-after-positive-consent) [GTM - After negative consent (optout)](https://support.didomi.io/how-to-check-your-google-consent-mode-v2-advanced-implementation-on-web#gtm-after-negative-consent) [Need further help?](https://support.didomi.io/how-to-check-your-google-consent-mode-v2-advanced-implementation-on-web#help)

---

### 1. What's Google Consent Mode? 

Google Consent Mode (GCM) serves as a link between data privacy and digital advertising by adjusting the behavior of Google tags to your users' consent status. This allows you to obtain insights on campaign conversions and other data, always respecting user consent choices for both ads cookies and analytics cookies, which will help you optimize and improve ad monetization. 

After several months, Google has come up with a v2 of the feature. If needed, please read more about Google Consent Mode v2 and how to set it up [in our article](https://support.didomi.io/enable-google-consent-mode-with-didomi-new-flow#what-is-GCM).

### 2. What is the advanced mode? 

There are two modes available: **advanced** and **basic**. To know more about the difference between the two, please refer to [this part of our article](https://support.didomi.io/enable-google-consent-mode-with-didomi-new-flow#basic-vs-advanced:~:text=set%20to%20granted.-,Difference%20between%20basics%20and%20advanced%20mode,-Source%3A%20Consent).

If you're not sure of the trade-off between advanced and basic, Didomi encourages you to consult with your Data Protection Officer or legal team. 

The objective of this article is to allow you to verify an implementation in advanced mode. This means that Google tags will fire as soon as Didomi is loaded and GCM signals are set.  
The data collected will adapt to the default GCM signals and then to the user's choices. In other words; data will almost always be collected. And what is collected and possibly stored may vary depending on your default settings or user choices.

The main benefit of this mode is: *"get modeled data into your GA4 property \[for traffic and audiences\] to fill in the gap in data observed when users withhold consent."*  
Source:*[Consent mode on websites and mobile apps](https://support.google.com/analytics/answer/9976101?hl=en#:~:text=Advanced%20implementation%20vs.%20basic%20implementation)*

### 3. How to test your advanced setup? 

The goal is to verify that requests are sent and that the GCM information sent with them matches your default GCM settings or your users' choice.

How you enabled GCM (via our console, using the GTM template or using the `didomiConfig` option - [see this part of our article](https://support.didomi.io/enable-google-consent-mode-with-didomi-new-flow#enable-GCM)) has no impact on where to check the behavior of your tags.

The location of the scripts is what determines the options for future checks. The checks will be carried out:

- On your website, if your Google tags are in your source code
- Via the Google Tag Manager preview (or on your website), if your Google tags are placed in GTM

### 4. How to read the `gcd` parameter? 

The `gcd` parameter is added to every Google Ad Words or Google Analytics hit when GCM is enabled. It reflects the statuses of GCM signals and is what assures Google that GCM is enabled (and consent is collected).  
This is not publicly documented by Google, but there are articles and literature about it.

It is a character string composed of several parts where each part can have different values:

`gcd=11<ad_storage>X<analytics_storage>X<ad_user_data>X<ad_personalization>5`

`“11”` – prefix that does not change (or "13" sometimes)

`“5”` - suffix that does not change (or "7" sometimes)

X can have the values:

`“1”` – separators for consent parameter values ​​(“ad\_storage”, “analytics\_storage”, “ad\_user\_data” and “ad\_personalization”)

`“3”` – separators for consent parameter values ​​(“ad\_storage”, “analytics\_storage”, “ad\_user\_data” and “ad\_personalization”)

 

Y can have the following values :

`“p”` – “denied” default value

`“t”` – “granted” default value

“`q”, “m” or “u”` – “denied” after a user's choice

`“e”, “r”, “n” or “v”` – “granted” after a user's choice

`“l”` – undefined value

 

For instance

13t3p3p3p5 = 

- ad\_storage granted by default
- analytics\_storage denied by default
- ad\_user\_data denied by default
- ad\_user\_personnalization denied par défaut

13u3q3q3q5 = 

- ad\_storage denied after a user's choice (and previously granted)
- analytics\_storage denied after a user's choice 
- ad\_user\_data denied after a user's choice 
- ad\_user\_personnalization denied after a user's choice 

### 5. Test cases

We recommend running the following tests on your website to confirm that GCM is correctly configured in advanced mode.

#### \* Verify the consent notice UI

Depending on the vendors you have selected, check that they are present and correctly displayed in the notice

1. Open your website in an incognito window
2. Access the vendor view of your record
3. Check the vendors

Case 1: you've selected the 2 vendors

![](https://support.didomi.io/hs-fs/hubfs/Screenshot%202024-02-15%20at%2022-55-51-png.png?width=336&height=285&name=Screenshot%202024-02-15%20at%2022-55-51-png.png)![](https://support.didomi.io/hs-fs/hubfs/Screenshot%202024-02-07%20at%2017-34-57-png.png?width=275&height=255&name=Screenshot%202024-02-07%20at%2017-34-57-png.png)

Case 2: you've only enabled the Google Advertizing Products vendor

![](https://support.didomi.io/hs-fs/hubfs/Screenshot%202024-02-07%20at%2017-36-34-png.png?width=260&height=240&name=Screenshot%202024-02-07%20at%2017-36-34-png.png)  
![](https://support.didomi.io/hs-fs/hubfs/Screenshot%202024-02-15%20at%2022-56-37-png.png?width=295&height=249&name=Screenshot%202024-02-15%20at%2022-56-37-png.png)

Case 2: you've only enabled the Google Analytics Products vendor

![](https://support.didomi.io/hs-fs/hubfs/Screenshot%202024-02-15%20at%2022-57-33-png.png?width=365&height=541&name=Screenshot%202024-02-15%20at%2022-57-33-png.png)![](https://support.didomi.io/hs-fs/hubfs/Screenshot%202024-02-07%20at%2017-37-03-png.png?width=273&height=253&name=Screenshot%202024-02-07%20at%2017-37-03-png.png)

#### \* Website - Prior consent: Verify that Google Analytics, Ad Words, Floodlight, or Conversion Linker queries are sent and contain the expected `gcd` value

1. Open a private browsing window
2. Before accessing your website, open the developer tools with a right click and then “Inspect”
3. Open your website
4. Go to the “Network” tab of your browser console, top left
5. Use the filter to check that there are queries containing the words "analytics.js" (legacy), "gtag", "collect" and that they contain a `gcd` parameter
6. Study the value of the `gcd` parameter and verify that it matches your default setting

![](https://support.didomi.io/hs-fs/hubfs/Screenshot%202024-02-15%20at%2022-59-28-png.png?width=667&height=958&name=Screenshot%202024-02-15%20at%2022-59-28-png.png)

#### \* Website - After positive consent (optin): Check that requests contain the `gcd` parameter with each signal set to granted

1. Open a private browsing window
2. Before accessing your website, open the developer tools with a right click and then “Inspect”
3. Open your website
4. Go to the “Network” tab of your browser console, top left
5. Click "Accept all"
6. Check that the value of the `gcd` parameter matches each signal with a granted value

![](https://support.didomi.io/hs-fs/hubfs/Screenshot%202024-02-15%20at%2023-01-48-png.png?width=641&height=913&name=Screenshot%202024-02-15%20at%2023-01-48-png.png)

#### \* Website - After negative consent (optout):  Check that queries contain `gcd` with each signal set to denied

1. Before accessing your website, open the developer tools with a right-click then "Inspect" in an incognito window
2. Open your website
3. Go to the “Network” tab, top left
4. Click on “Refuse all”
5. Verify that Analytics and Ad Words queries contain a "`gcd`" parameter and that its value reflects each signal as denied during your navigation

![](https://support.didomi.io/hs-fs/hubfs/Screenshot%202024-02-15%20at%2023-06-05-png.png?width=649&height=924&name=Screenshot%202024-02-15%20at%2023-06-05-png.png)

#### \* GTM - Prior consent: Confirm that Google tags are triggered and Consent is set as desired

1. Open Tag Manager in incognito mode (or clear your cookies and local storage for your website in your preferred browser)
2. In your Tag Manager console, click on the “Preview” button
3. Set your website URL
4. Establish that your Google Analytics, Ad Words, Floodlight, or Conversion Linker tags are fired during the `didomi-ready` event  
   Make sure they are not triggered before
5. Check the `Consent` (default) event   
   Go to the Consent tab and verify that the On-Page Default statuses match your default settings
   
   ![](https://support.didomi.io/hs-fs/hubfs/Screenshot%202024-02-15%20at%2022-58-50-png.png?width=563&height=1231&name=Screenshot%202024-02-15%20at%2022-58-50-png.png)

#### \* GTM - After positive consent (optin) : Confirm that tags are triggered and Consent is granted

1. Open Tag Manager in incognito mode (or clear your cookies and local storage for your website)
2. In your Tag Manager console, click on the “Preview” button
3. Go to your website
4. Click "Accept all"
5. Make sure there is a `Consent` (update) event and that GCM signals are granted in the On-page Update column
6. Also check that your tags are triggered during subsequent navigation during `didomi-ready` events

![](https://support.didomi.io/hs-fs/hubfs/Screenshot%202024-02-15%20at%2023-00-46-png.png?width=659&height=1441&name=Screenshot%202024-02-15%20at%2023-00-46-png.png)

#### GTM - After negative consent (optout): Check that the tags are triggered and that the statuses are denied

1. Open Tag Manager in incognito mode (or clear your cookies and local storage for your website)
2. In your Tag Manager console, click on the “Preview” button
3. Set your website URL
4. Click on “Refuse all”
5. Check that Google Analytics, Ad Words, Floodlight and Conversion Linker tags are fired on `didomi-ready` events
6. Study the `Consent` (update) event and make sure that every signal (except security\_storage) is denied in the On-page Update column

![](https://support.didomi.io/hs-fs/hubfs/Screenshot%202024-02-15%20at%2023-05-48-png.png?width=653&height=1427&name=Screenshot%202024-02-15%20at%2023-05-48-png.png)

If you need further assistance or have noticed something unusual, please feel free to reach out to [google-support@didomi.io](mailto:google-support@didomi.io).

- [Consent notice creation](https://support.didomi.io/consent-notice-creation#main-content)

    - [Basics](https://support.didomi.io/consent-notice-creation#basics)
    - [Consent notice per device](https://support.didomi.io/consent-notice-creation#consent-notice-per-device)
    - [Manage Vendors and Purposes](https://support.didomi.io/consent-notice-creation#manage-vendors-and-purposes)
    - [Customization](https://support.didomi.io/consent-notice-creation#customization)
    - [Multi-regulations](https://support.didomi.io/consent-notice-creation#multi-regulations)
    - [Frameworks](https://support.didomi.io/consent-notice-creation#frameworks)
    - [Integrations](https://support.didomi.io/consent-notice-creation#integrations)
    - [Console migration](https://support.didomi.io/consent-notice-creation#console-migration)
    - [IAB GPP Framework](https://support.didomi.io/consent-notice-creation#iab-gpp-framework)
    - [Accessibility](https://support.didomi.io/consent-notice-creation#accessibility)
- [Compliance report](https://support.didomi.io/compliance-report#main-content)

    - [CMP Vendor Sync](https://support.didomi.io/compliance-report#cmp-vendor-sync)
    - [Advanced Compliance Monitoring](https://support.didomi.io/compliance-report#advanced-compliance-monitoring)
- [Preference Management Platform](https://support.didomi.io/preference-management-platform#main-content)

    - [Configuration Tree](https://support.didomi.io/preference-management-platform#configuration-tree)
    - [Widget](https://support.didomi.io/preference-management-platform#widget)
    - [Deployment](https://support.didomi.io/preference-management-platform#deployment)
- [Google integrations](https://support.didomi.io/google-integrations)
- [Privacy Request](https://support.didomi.io/privacy-request#main-content)

    - [User Requests](https://support.didomi.io/privacy-request#user-requests)
    - [Widgets](https://support.didomi.io/privacy-request#widgets)
- [IAB TCF](https://support.didomi.io/iab-tcf#main-content)

    - [Google & TCF](https://support.didomi.io/iab-tcf#google-tcf)
    - [TCFv2 Presentation](https://support.didomi.io/iab-tcf#tcfv2-presentation)
    - [TCF v2.2](https://support.didomi.io/iab-tcf#tcf-v2-2)
- [Analytics](https://support.didomi.io/analytics#main-content)

    - [Consent Management Platform (CMP) Analytics](https://support.didomi.io/analytics#consent-management-platform-cmp-analytics)
    - [Preference Management Platform (PMP) Analytics](https://support.didomi.io/analytics#preference-management-platform-pmp-analytics)
    - [ACM (Advance Compliance Monitoring)](https://support.didomi.io/analytics#acm-advance-compliance-monitoring)
- [Integrations](https://support.didomi.io/integrations#main-content)

    - [AB testing](https://support.didomi.io/integrations#ab-testing)
    - [Paywalls](https://support.didomi.io/integrations#paywalls)
    - [CMS](https://support.didomi.io/integrations#cms)
    - [Generic integrations](https://support.didomi.io/integrations#generic-integrations)
    - [Marketing automation](https://support.didomi.io/integrations#marketing-automation)
    - [Customer Data Platform (CDP)](https://support.didomi.io/integrations#customer-data-platform-cdp)
    - [CRM](https://support.didomi.io/integrations#crm)
- [Lexicon](https://support.didomi.io/lexicon)
- [Legal Requirements](https://support.didomi.io/legal-requirements#main-content)

    - [Didomi SDK compliance](https://support.didomi.io/legal-requirements#didomi-sdk-compliance)
- [Privacy Center and Data Processing](https://support.didomi.io/privacy-center-and-data-processing)
- [FAQ](https://support.didomi.io/faq#main-content)

    - [CMP / Managing tags](https://support.didomi.io/faq#cmp-managing-tags)
    - [CMP / Data Privacy for publishers](https://support.didomi.io/faq#cmp-data-privacy-for-publishers)
    - [CMP / Implementing a consent notice](https://support.didomi.io/faq#cmp-implementing-a-consent-notice)
    - [Debugging](https://support.didomi.io/faq#debugging)
    - [CMP / CPRA](https://support.didomi.io/faq#cmp-cpra)
    - [CMP / Analytics](https://support.didomi.io/faq#cmp-analytics)
    - [PMP](https://support.didomi.io/faq#pmp)
    - [Share consent](https://support.didomi.io/faq#share-consent)
    - [Customization](https://support.didomi.io/faq#customization)
    - [Cookies](https://support.didomi.io/faq#cookies)
    - [IAB](https://support.didomi.io/faq#iab)
- [Versions & Proofs](https://support.didomi.io/versions-proofs)
- [Login & Security](https://support.didomi.io/login-security#main-content)

    - [SSO](https://support.didomi.io/login-security#sso)
    - [Users, Teams and Permissions](https://support.didomi.io/login-security#users-teams-and-permissions)
- [Privacy Hub widget](https://support.didomi.io/privacy-hub-widget)
- [Consent Notices (old flow)](https://support.didomi.io/consent-notices-old-flow)
- [Consent Notices (NEW FLOW)](https://support.didomi.io/consent-notices-new-flow)
- [Customer Portal - Tickets](https://support.didomi.io/customer-portal-tickets)
- [Organization settings](https://support.didomi.io/organization-settings)
- [SDK version control](https://support.didomi.io/sdk-version-control)

Didomi, verb in ancient greek (δ‌‌ιδο‌μι): consent.

Copyright © 2026, Didomi SAS

Cookies