How to check if you have installed the advanced version of Consent Mode v2?
Have you installed Consent Mode v2?
Go to the Sources tab and go to scripts and look for the consent mode parameters.
But how do I know if it is Google Consent Mode v2 and not the previous version of Google Consent Mode?
analytics_storage,
ad_uster_data,
ad_personalization.
I cannot find the flags, even though I should
If your site does not have data layers, you won’t be able to find the flags as described above; chances are you can then find them in the Google Tag Manager container. To find out, go to (or stay in) the Sources tab and scroll down to find www.googletagmanager.com, and then look for the flags.
When you have Cookie Information's CMP
Also note that if you have installed Cookie Information with our latest Consent Mode v2 integration—where the link to Google’s Business Responsibility site is displayed on the consent-banner—then you can verify that you have Consent Mode v2 by searching for (pressing F5 or Command+F on Mac) data-gcm-version= “2.0” in the Sources tab. If it’s there, then you got Consent Mode v2.
Which version of Consent Mode v2 is it then? Basic or advanced?
- Launch Google Chrome and navigate to your website in incognito mode.
- Right-click on the webpage.
- Select “Inspect” to open
- Go to the Network Tab
- Click on the “Network” tab in the Developer Tools panel.
- If not visible, click the double arrow (>>) to find it.
- Click the circle with a slash icon or right-click in the log area and select “Clear.
- Refresh the webpage by pressing F5 or clicking the refresh button.
- When the cookie consent prompt appears, choose to decline cookies.
Now look for requests with URLs containing for example google-analytics.com, googletagmanager.com, or googleadsservices.com, or anything that indicates consent mode.
ad_user_data,
ad_personalization,
analytics_storage
Summary
Now look for the so-called network requests for Google Analytics or Google ads. You have the basic version if there are no requests when consent is denied. If all the parameters show up, you have the advanced version.