On this page
What this issue is
Consent Mode is Google's way of telling its tags what a visitor has agreed to. Version 2 uses four signals: ad_storage, analytics_storage, ad_user_data and ad_personalization. The last two were added for v2.
When Consent Mode is active, Google tag requests carry two parameters. gcs holds the basic consent state. gcd holds a longer code that shows the default and updated state of each signal. If a request to Google Analytics or Google Ads has neither, the site is not sending consent signals at all.
Why it costs you leads or sales
Google asks advertisers to send consent signals for visitors in the European Economic Area and the UK. Without them, Google may not be able to use that traffic for audiences, remarketing and conversion measurement. Google also relies on these signals to model conversions it cannot observe directly.
In practice this shows up as falling conversion counts in Google Ads, smaller remarketing lists, and smart bidding that learns from less data. Your leads may be fine, but your reporting and your ad optimisation get worse.
Example: a campaign with the same real leads, before and after Consent Mode v2 is added. Numbers are illustrative.
- Visitor landsEU visitor from an ad
- Banner choiceAccept or reject
- Consent signals sentNo gcs or gcd on Google requests
- Google models and audiencesCannot use the traffic properly
The visitor makes a choice, but Google never hears about it.
How to check if your site has it
Open a private window
Use a clean session, ideally with an EU or UK location, so the banner appears.
Open DevTools Network tab
Press F12, choose Network and tick Preserve log. Filter by
collectorgoogleads.Load the page and make a banner choice
Click Accept, then reload or move to another page so tags fire again.
Inspect the Google requests
Click a request to
google-analytics.com/g/collector a Google Ads request. Look in the query string forgcsandgcd.Try Tag Assistant
In Google Tag Assistant, open the Consent tab. It shows the default and updated state of all four signals. If it shows nothing, Consent Mode is not set up.
How to fix it
The simplest route is a consent management platform (CMP) that is certified by Google and has Consent Mode built in. If you manage tags yourself, you can set defaults and updates in code or in Google Tag Manager. The key rule: the default state must be set before any Google tag loads.
Enable consent overview
In your container go to Admin > Container Settings and tick Enable consent overview. Open Tags > Shield icon to see consent settings per tag.
Use a CMP template
Add your CMP's template from the Community Template Gallery. Set it to fire on the Consent Initialization - All Pages trigger so it runs before other tags.
Set defaults
Set
ad_storage,analytics_storage,ad_user_dataandad_personalizationto denied by default for EEA and UK regions.Require consent on tags
Google tags have built-in consent checks. For other tags, add the needed consent types under Advanced Settings > Consent Settings.
Publish and test
Use Preview mode and check the Consent tab for each tag.
Pick a Google-certified CMP plugin
Use a consent plugin that lists Google Consent Mode v2 support, or Google's Site Kit with its consent integration if your CMP supports it.
Turn on Consent Mode in the plugin
Find the Google Consent Mode setting in the plugin and enable it. Menu names vary by plugin.
Remove duplicate tag code
If your theme or another plugin also loads gtag.js, remove one copy so the default is set first.
Clear caches
Purge page cache and any script optimisation so the new order is served.
Use Customer Privacy settings
In Shopify admin go to Settings > Customer privacy. Enable the cookie banner or install a certified CMP app.
Connect Google & YouTube or GTM
If you use the Google & YouTube app, check it respects customer privacy settings. If you use GTM, follow the GTM steps with your CMP's template.
Check the checkout
Test a full purchase journey to make sure consent carries through to the thank-you page.
Choose a certified CMP
Add the CMP's script in Project Settings > Custom Code > Head Code, above any Google tag.
Add the default consent snippet
Place the consent default code (see the code example) at the very top of the head code, before gtag.js or GTM.
Publish and test
Publish the site and check requests on the live domain, not the preview.
Open Cookie Banner settings
In Settings > Cookie Banner, check the banner is on. Wix applies consent to its built-in Google integrations.
Use Marketing Integrations
Connect Google Analytics or Google Ads through Marketing Integrations rather than pasting code manually.
If you added custom code
Manually added tags need your own consent handling. Use a certified CMP script in Custom Code, set to load in the head first.
Enable the cookie banner
Go to Settings > Cookies & Visitor Data and turn on the cookie banner for the regions you need.
Check how Google tags are added
Tags added through Code Injection do not follow the banner automatically. Use a certified CMP script in Header injection if you need Consent Mode signals.
Test live
Check requests for gcs and gcd on the published site.
Add a certified CMP
Paste the CMP script into the funnel or website Tracking Code > Head section.
Add default consent code
Add the default consent snippet before your Google tag in the same head section.
Repeat per funnel
Tracking code is set per funnel or site, so apply it to each one.
Set defaults first
Add the default snippet in the head, above gtag.js or the GTM snippet.
Send an update on choice
When the visitor clicks Accept or Reject, call
gtag('consent', 'update', {...})with the new values.Use a certified CMP for EEA ads
If you serve ads in the EEA, Google expects a certified CMP rather than a home-built banner.
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('consent', 'default', {
'ad_storage': 'denied',
'analytics_storage': 'denied',
'ad_user_data': 'denied',
'ad_personalization': 'denied',
'wait_for_update': 500
});
</script>gtag('consent', 'update', {
'ad_storage': 'granted',
'analytics_storage': 'granted',
'ad_user_data': 'granted',
'ad_personalization': 'granted'
});Consent: blocked / denied
- GA4no hit
- Google Adsno hit
- Meta Pixelno hit
Google tag requests carry no gcs or gcd. Google cannot tell what the visitor chose and cannot model the lost conversions.
Toggle to see the effect of missing consent signals.
How to confirm it's fixed
- A request to google-analytics.com/g/collect includes
gcsandgcd - Tag Assistant's Consent tab shows all four signals with a default state
- The default state is set before the first Google tag fires
- After clicking Accept, an update appears and later requests show granted values
- After clicking Reject, requests still carry
gcsandgcdwith denied values - The test works on the live domain, on desktop and mobile
How to prevent it happening again
Consent Mode often breaks after a theme change, a plugin update, a new tag, or a CMP switch. Any of these can change script order or load a second copy of the Google tag.
- Re-check gcs and gcd after every change to the banner, theme, plugins or GTM container
- Keep only one place that loads gtag.js or GTM
- Load the CMP script first in the head
- Keep the CMP updated and certified
- Test from an EU location, not only your own
- Run an automated check on a schedule
How FunnelGuard handles this
FunnelGuard detects this issue today. Its robot visitor loads your pages as a real customer would and looks at the tracking requests sent to Google. If Google tag requests carry no gcs or gcd parameter, the consent_mode_v2 check flags that Consent Mode v2 is not implemented.
A failure is re-checked from a second region before one alert goes out, with a screenshot and a likely cause. Alerts can go to email, Slack, Teams, WhatsApp, webhook or PagerDuty. FunnelGuard checks what is sent. It does not decide whether your consent setup meets legal requirements. The Free plan covers 1 site and 2 journeys with daily checks and no card, and paid plans have a 3-day free trial.
Questions people ask
How do I know if Consent Mode v2 is working on my site?
Open your browser's Network tab, filter for collect, and look at a Google Analytics or Google Ads request. If the query string contains gcs and gcd, consent signals are being sent. Google Tag Assistant's Consent tab shows the state of all four signals.
What are gcs and gcd in Google tag requests?
They are parameters added to Google tag requests when Consent Mode is active. gcs carries the basic consent state, and gcd carries a longer code describing the default and updated state of each consent signal. If both are absent, Consent Mode is not running.
Why is my Consent Mode v2 not showing in Tag Assistant?
Usually the default consent command runs after the Google tag, or no CMP is sending consent at all. Check script order, make sure the CMP loads first, and look for a duplicate gtag.js or GTM snippet that fires before the default is set.
Do I need Consent Mode v2 if I only run Google Ads in the EU?
Google asks advertisers to send consent signals for EEA and UK traffic, and without them, audiences and conversion measurement can be limited. If you advertise to those visitors, you should implement it, ideally through a Google-certified CMP.
How do I implement Consent Mode v2 with Google Tag Manager?
Add a Google-certified CMP template and fire it on the Consent Initialization - All Pages trigger. Set the four signals to denied by default for EEA and UK regions, and let the CMP send an update when the visitor chooses. Then test in Preview mode.
What is the difference between Consent Mode v2 and a cookie banner?
A cookie banner collects the visitor's choice. Consent Mode passes that choice to Google tags so they behave accordingly. You need both: a banner without Consent Mode leaves Google unaware of the choice.
Which consent signals does Consent Mode v2 use?
It uses ad_storage, analytics_storage, ad_user_data and ad_personalization. The last two were added in v2 and relate to sending user data to Google for ads and to personalised advertising.
Related issues
- TRK-285Consent Mode default state not set before tags loadFix guide
- TRK-286ad_user_data signal missingFix guide
- TRK-287ad_personalization signal missingFix guide
- TRK-288Consent update never sent after AcceptFix guide
- TRK-290Basic vs advanced consent mode mismatch with intentFix guide
- TRK-299Google-certified CMP not used (required for EEA ads)Fix guide