On this page
What this issue is
A consent default is the state your site assumes for a visitor before they make a choice. With Google Consent Mode, you set it with a gtag('consent', 'default', {...}) call. Signals include ad_storage, analytics_storage, ad_user_data and ad_personalization.
This issue means those signals are set to granted by default for visitors in the EU (or all regions). Tags then act as if the visitor said yes. The banner may still appear, but it comes too late to matter.
Why it costs you leads or sales
The main cost is risk. Tracking EU visitors without valid consent can expose you to complaints and fines under GDPR and ePrivacy rules. This is not legal advice, so check your obligations with a qualified adviser.
There are business costs too. Ad platforms can limit or reject data that was collected without valid consent. A CMP (consent management platform) that says one thing while your tags do another also makes your reports hard to trust. If you later fix it in a hurry, you may drop EU conversion data without warning.
- EU visitor landsPage starts loading
- Default set to grantedConsent default call says yes
- Tags fireGA4, Ads, Meta send pings and cookies
- Banner appearsChoice comes too late
The break happens before the visitor has a say.
The default decides what happens before the banner is answered.
How to check if your site has it
Open the site as an EU visitor
Use a clean private window. If your banner is region-based, use a browser or VPN with an EU location. Do not click anything on the banner yet.
Open DevTools, Network tab
Reload the page. Filter for
collect,googleads,facebook.com/tranddoubleclick. Requests that appear before you choose are a red flag.Check the consent state
In the Console, type
dataLayerand look for an entry starting withconsent,default. Check thatad_storageandanalytics_storagearedenied.Check cookies
Open Application, then Cookies. Cookies such as
_gaor_fbpbefore any choice suggest a granted default.Use Tag Assistant
In Google Tag Assistant, open the Consent tab. It shows the default and updated state for each signal.
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
// Wrong for EU visitors:
gtag('consent', 'default', {
ad_storage: 'granted',
analytics_storage: 'granted',
ad_user_data: 'granted',
ad_personalization: 'granted'
});How to fix it
Set the default to denied for regions that need opt-in consent, and make sure it runs before any Google tag. Then send a consent update when the visitor accepts.
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',
region: ['AT','BE','BG','HR','CY','CZ','DK','EE','FI','FR','DE','GR','HU','IE','IT','LV','LT','LU','MT','NL','PL','PT','RO','SK','SI','ES','SE','IS','LI','NO','GB','CH'],
wait_for_update: 500
});Open Admin, Container Settings
Tick 'Enable consent overview' so you can see each tag's consent needs.
Use your CMP's template
Add your CMP's tag from the Template Gallery and set it to fire on the Consent Initialization - All Pages trigger. Set the default for EEA regions to denied.
Remove manual defaults
Delete any Custom HTML tag that sets 'granted' as the default, so two defaults do not clash.
Publish and test
Use Preview mode and check the Consent tab for each tag.
Open your consent plugin settings
In your CMP or Google tag plugin (for example Site Kit or a cookie plugin), find the Consent Mode or default consent setting. The name depends on the plugin.
Set EU regions to denied
Choose 'denied' as the default for EEA, UK and Switzerland, and enable the update on accept.
Clear caches
Purge page cache and CDN so visitors get the new script.
Open Settings, Customer privacy
Review the Cookie banner and region settings. Shopify's Customer Privacy API controls what loads.
Set regions to require consent
Make sure EU, UK and Switzerland are set to ask for consent before data is collected.
Check third-party apps
If a separate CMP app is installed, set its default to denied and avoid two banners that disagree.
Open Project settings, Custom code
Find the consent default snippet in the head code.
Replace granted with denied
Use the EEA snippet above and place it above all tracking scripts.
Publish
Publish the site and re-test in a private window.
Place the default first
Put the default consent call in the head, above the Google tag or GTM snippet.
Send an update on accept
Call
gtag('consent','update',{...})with granted values once the visitor accepts.
gtag('consent', 'update', {
ad_storage: 'granted',
analytics_storage: 'granted',
ad_user_data: 'granted',
ad_personalization: 'granted'
});Granted default
- EU visitor is treated as opted in
- Pings and cookies appear before the banner
- Banner choice has no effect on first load
Denied default
- EU visitor starts as denied
- No ad or analytics cookies before a choice
- Tags update only after Accept
Consent: blocked / denied
- GA4no hit
- Google Adsno hit
- Meta Pixelno hit
Analytics and ad tags fire before the visitor chooses, and cookies are set.
Toggle the default to see which tags fire on first load.
How to confirm it's fixed
- In a private window from an EU location, no
_gaor_fbpcookies appear before a choice - Tag Assistant's Consent tab shows
deniedas the default for all four signals - No requests to Meta or Google Ads that carry full data appear before Accept
- After you click Accept, a consent update appears and tags start sending
- After you click Reject, tags stay denied on later pages
- A non-EU visit behaves as you intended for your regions
How to prevent it happening again
Defaults often change when someone updates a theme, swaps a CMP or adds a new tag manager container. Keep one source of truth for the default, ideally your CMP, and remove duplicate snippets.
- Keep one consent default snippet only
- Review consent settings after any CMP, theme or GTM change
- Require a Tag Assistant consent check before publishing tag changes
- Retest from an EU location every month
- Document who owns the consent setup
How FunnelGuard handles this
FunnelGuard detects this issue only partly. It runs a denied variant of your journey, where the visitor rejects consent, and checks whether tracking pings still appear. If pings show up in the denied run, that reveals tags acting as if consent was granted, and you get an alert with a screenshot and a likely cause after a re-check from a second region.
What it does not check: it does not read your consent default code and judge whether it is legally compliant. It does not prove that a granted default exists if tags stay quiet in the denied run. It also does not review your CMP's region rules or give legal advice. FunnelGuard never bypasses CAPTCHAs or bot protection.
Cover the rest by hand: inspect the dataLayer default in Tag Assistant, check cookies before any choice, and test from an EU location, using the steps above. The Free plan includes 1 site and 2 journeys with daily checks and no card, and paid plans have a 3-day free trial.
Questions people ask
Why is my consent default set to granted in the EU?
Usually a snippet, plugin or tag template was set up with 'granted' values, or a CMP default was never changed. A second duplicate snippet can also override a correct default. Check your GTM container, theme code and CMP settings.
What should the consent default be for EU visitors?
For EEA, UK and Switzerland, the default is normally denied for ad_storage, analytics_storage, ad_user_data and ad_personalization. Switch to granted only after the visitor accepts. Confirm your exact duty with a legal adviser.
How do I check my Google Consent Mode default?
Open Google Tag Assistant, load your site and open the Consent tab. It lists the default and updated state for each signal. You can also type dataLayer in the browser Console and look for the consent default entry.
Can I set the default to denied only for the EU?
Yes. Add a region list of ISO country codes to the default call. Visitors in those regions get denied, and you can add another default call without regions for the rest of the world if your rules allow.
Will setting consent to denied by default hurt my conversion tracking?
You may see fewer measured EU conversions, because tags only send full data after a visitor accepts. That is the expected result of valid consent. Consent Mode can send limited signals to help modelling, depending on your setup.
Does a consent banner fix a granted default?
No. If the default is granted, tags can fire before the visitor answers the banner. The banner must be wired to a denied default and send an update on accept.
Can FunnelGuard tell me my consent default is wrong?
Only partly. FunnelGuard runs a denied variant and flags tracking pings that still appear, which points to a granted default. It does not read your code or confirm legal compliance, so check the default by hand too.
Related issues
- TRK-282Consent banner shown but tags fire before any choiceFix guide
- TRK-283Tags still fire after visitor rejectsFix guide
- TRK-285Consent Mode default state not set before tags loadFix guide
- TRK-288Consent update never sent after AcceptFix guide
- TRK-303Cookies set before consent (_ga, _fbp)Fix guide
- TRK-292Region-specific consent rules wrong (EU banner shown in US or vice versa)Fix guide