Why Testing Is Critical
Many Consent Mode v2 implementations look correct but are functionally broken. The banner displays, the GTM tags appear to fire, but the consent signals never reach Google — meaning you are either tracking all users without consent (compliance violation) or treating all users as non-consenting (data quality problem). Systematic testing is the only way to verify correct operation.
Test 1: GTM Preview Consent Tab
- Open GTM Preview Mode and browse to your site in an incognito window
- In Tag Assistant, look for the "Consent" tab (appears when Consent Mode is configured)
- Initial state: all four consent types should show "Denied" (before banner interaction)
- Click "Accept All" in the cookie banner
- Consent tab should update immediately to show all types as "Granted"
- Reload the page (still in incognito) — consent tab should show "Granted" from the stored consent cookie (confirming the CMP persists consent correctly)
Test 2: Network Request Inspection
With consent denied, GA4 should send cookieless pings (in advanced mode) or nothing (in basic mode):
- Open DevTools → Network tab → filter for "collect" or search for your GA4 Measurement ID (G-XXXXXXXXXX)
- In an incognito window with consent denied, browse to a page
- You should see GA4 network requests (in advanced mode) with reduced parameters — no _ga, no client_id parameter
- Accept consent, then browse — GA4 requests should now include _ga cookie parameter and full data
Test 3: Consent on Return Visit
A critical failure mode: the CMP correctly calls gtag('consent', 'update') on the first visit but doesn't restore consent correctly on return visits.
- Visit the site in a regular (non-incognito) browser, accept all consent
- Reload the page
- GTM Preview Consent tab should show "Granted" immediately on page load (before the banner appears)
- If it shows "Denied" then updates to "Granted" a moment later: this indicates a timing issue where tags fire before the CMP restores consent
Test 4: Category-Specific Consent
Verify that partial consent (accepting analytics but not marketing) is correctly reflected:
- In incognito, accept only "Analytics/Statistics" cookies, decline "Marketing/Advertising"
- Consent tab: analytics_storage = Granted, ad_storage = Denied, ad_user_data = Denied, ad_personalization = Denied
- If all four are Granted after accepting only analytics: your CMP category mapping is incorrect
Test 5: Google Ads Consent Diagnostics
In Google Ads → Admin → Privacy and messaging → Consent settings → Check the consent signal diagnostic. This shows whether Google Ads is receiving valid consent signals from your website.
Summary
Consent Mode v2 verification requires five tests: (1) GTM Preview Consent tab showing correct default/update states, (2) Network request inspection confirming cookieless vs full hits, (3) Return visit consent restoration timing, (4) Category-specific partial consent mapping, (5) Google Ads consent signal diagnostic. Only passing all five tests confirms a correctly functioning implementation.
See our Consent Mode v2 Implementation service for verification support.
Need your Consent Mode implementation verified? Contact Adslytics.
Need expert tracking setup?
Our Google Tag Manager experts have delivered 500+ tracking setups with a 98% success rate.
Get a Free Consultation →