Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Consent defaults to granted in the EU: how to find and fix it

TRK-289High impactPartlyBy FunnelGuardPublished Updated
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.

How a granted default plays out
  1. EU visitor landsPage starts loading
  2. Default set to grantedConsent default call says yes
  3. Tags fireGA4, Ads, Meta send pings and cookies
  4. Banner appearsChoice comes too late

The break happens before the visitor has a say.

Consent default overriding the visitor

The default decides what happens before the banner is answered.

How to check if your site has it

Check the default by hand
  1. 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.

  2. Open DevTools, Network tab

    Reload the page. Filter for collect, googleads, facebook.com/tr and doubleclick. Requests that appear before you choose are a red flag.

  3. Check the consent state

    In the Console, type dataLayer and look for an entry starting with consent, default. Check that ad_storage and analytics_storage are denied.

  4. Check cookies

    Open Application, then Cookies. Cookies such as _ga or _fbp before any choice suggest a granted default.

  5. Use Tag Assistant

    In Google Tag Assistant, open the Consent tab. It shows the default and updated state for each signal.

What a wrong default looks likejavascript
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.

Denied by default for EEA, UK and Switzerlandjavascript
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
});
Fix by platform
  1. Open Admin, Container Settings

    Tick 'Enable consent overview' so you can see each tag's consent needs.

  2. 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.

  3. Remove manual defaults

    Delete any Custom HTML tag that sets 'granted' as the default, so two defaults do not clash.

  4. Publish and test

    Use Preview mode and check the Consent tab for each tag.

Update after the visitor acceptsjavascript
gtag('consent', 'update', {
  ad_storage: 'granted',
  analytics_storage: 'granted',
  ad_user_data: 'granted',
  ad_personalization: 'granted'
});
Before and after

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
Default consent state in the EUInteractive
Default is granted

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

Confirmation checklist
  • In a private window from an EU location, no _ga or _fbp cookies appear before a choice
  • Tag Assistant's Consent tab shows denied as 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.

Prevention habits
  • 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.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: denied variant reveals pings.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.