On this page
What this issue is
Google Tag Manager (GTM) can hold back a tag until the visitor has agreed to a type of cookie. This works through consent settings on the tag and through Consent Mode, where signals such as ad_storage and analytics_storage are set to granted or denied.
When you open Preview, you usually click Accept on the banner. Consent becomes granted, the tag fires and you see a green status. A real visitor may ignore the banner, reject it, or arrive from a region where the default is denied. For them the same tag shows as blocked, or it fires in a limited mode with no cookies.
Why it costs you leads or sales
If the tag stays blocked for people who did accept, your conversions never reach Google Ads, GA4 or Meta. Reports show fewer leads than you really got. Smart bidding then learns from thin data and ad spend gets less efficient. You may pause campaigns that actually work.
- Ad clickVisitor lands on the page
- BannerVisitor accepts, but the update is not sent to GTM
- Form submitLead is real
- Conversion tagBlocked by consent
- Ad platform reportNo conversion recorded
The visitor converts, but consent never reaches granted, so the tag is blocked and the ad platform sees nothing.
Example: 40 real leads, but only 22 are reported because consent is blocking the tag for the rest.
How to check if your site has it
Open the tag's consent settingsGoogle Tag Manager
In GTM, open the tag, go to Advanced Settings, then Consent Settings. Note whether it uses built-in checks or Additional Consent Checks and which types are listed, such as ad_storage.
Test in a clean session
Open a private window, clear cookies, start Preview and connect to your site. Do not click the banner yet. Check whether the tag shows under Tags Fired or Tags Not Fired.
Read the Consent tab
In Tag Assistant, click the Consent tab on the left. It shows the On-page Default and the On-page Update for each type. Look for values still on denied after you accept.
Repeat after accepting and after rejecting
Run the journey twice. After Accept, the tag should fire. After Reject, it should stay blocked. Any other result points to the cause.
Check the order of events
The consent default must be set before the GTM container loads, and the update must happen when the banner is clicked. If the update arrives after the conversion event, the tag has already been skipped.
| Cause | What you see |
|---|---|
| Default is denied and banner never sends an update | Consent tab shows denied after you click Accept |
| Update fires after the conversion event | Tag listed as not fired on the event, fires later on another |
| Tag requires a consent type the banner does not manage | A type such as ad_user_data stays denied |
| Banner script blocked or slow | No update event appears at all |
| Preview session already had consent saved | Works for you, fails for new visitors |
How to fix it
Set the default before GTM loads
Add a consent default command above the GTM snippet, or use your banner's GTM template with its tag set to fire on Consent Initialization - All Pages.
Make the banner send an update
When the visitor clicks Accept, the banner must call gtag('consent','update',...) or push the update through its GTM template. Check your banner's settings for a Google Consent Mode option and turn it on.
Match the tag's consent types to the banner
If a tag needs ad_storage and ad_user_data, make sure the banner category that visitors accept maps to both of them.
Fire conversion tags after consent is known
If a tag fires on page load before the banner is answered, add a trigger on the consent update event, or let GTM fire it once consent changes. Built-in consent checks do this for supported Google tags.
Publish and retest
Submit the workspace, publish, then test in a fresh private window as both an accepting and a rejecting visitor.
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('consent', 'default', {
'ad_storage': 'denied',
'ad_user_data': 'denied',
'ad_personalization': 'denied',
'analytics_storage': 'denied',
'wait_for_update': 500
});
</script>
<!-- GTM container snippet goes after this -->function onAccept() {
gtag('consent', 'update', {
'ad_storage': 'granted',
'ad_user_data': 'granted',
'ad_personalization': 'granted',
'analytics_storage': 'granted'
});
}Use a consent template
Add your banner's Consent Management Platform template from the Template Gallery and set it to fire on Consent Initialization - All Pages.
Review each tag
Under Advanced Settings, Consent Settings, check that the required types match what the banner grants.
Check the consent plugin
Open your cookie or consent plugin settings and enable its Google Consent Mode option. Settings differ by plugin.
Clear caches
Purge page and CDN caches so the default snippet loads before GTM.
Check Customer privacy
In Settings, Customer privacy, review the banner and region rules. If you use a third-party banner app, confirm its Consent Mode option is on.
Order the scripts
In Site settings, Custom code, put the consent default in the Head code above the GTM snippet.
Edit the template
Place the default consent script before the GTM snippet in the head and call the update from your banner's accept handler.
How to confirm it's fixed
- In a fresh private window, the Consent tab shows the default as denied before any click
- After clicking Accept, the update shows granted for the right types
- The conversion tag moves to Tags Fired on the real conversion event
- After clicking Reject, the tag stays blocked
- The conversion shows up in GA4 Realtime or the Google Ads tag status
- The same result in both desktop and mobile browsers
Before
- Default denied, no update after Accept
- Tag blocked for most visitors
- Conversions missing in ad reports
After
- Default set before GTM loads
- Update sent when the visitor accepts
- Tag fires for accepting visitors only
The tag waits for consent. If the update never arrives, it never fires.
Consent: blocked / denied
- GA4no hit
- Google Adsno hit
- Meta Pixelno hit
Ad and analytics tags are blocked, so the conversion is not reported.
Toggle to see which tags fire in each consent state.
How to prevent it happening again
- Test in a fresh private window, never only in your usual browser
- Retest after changing the banner, theme or GTM container
- Document which consent types each tag requires
- Keep the default consent script above the GTM snippet
- Check the Consent tab in Tag Assistant whenever you add a new tag
- Schedule an automated check of the accepted-consent journey
How FunnelGuard handles this
FunnelGuard detects this today. It runs a consent variant of your journey: a robot visitor goes through the real steps and checks whether the tracking hits to GA4, Google Ads, Meta and other platforms are sent in that consent state. If an expected hit is missing, the failure is re-checked from a second region, then you get one alert with a screenshot and a likely cause.
Test traffic is marked with utm_source=funnelguard, fg_test=1, an fg_test cookie and its own user agent. It never bypasses CAPTCHAs or bot protection. 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
Why does my GTM tag fire in Preview but not on the live site?
Preview usually runs in your own browser where you have accepted cookies, so consent is granted. Real visitors often have consent denied or unset, so GTM blocks tags that require it. Test in a fresh private window and read the Consent tab in Tag Assistant.
Why is my Google Tag Manager tag blocked by consent?
The tag has consent settings that need a type such as ad_storage to be granted, and the visitor's state is denied. This happens when the default is denied and the banner never sends an update, or sends it after the event.
How do I check consent state in GTM?
Start Preview, connect to your site and open the Consent tab in Tag Assistant. It lists the on-page default and update for each consent type, so you can see whether it changes from denied to granted after you accept.
Does consent mode stop all tags from firing?
No. It controls tags that have consent settings. Tags with required consent types wait until those are granted, while some Google tags can still send cookieless signals when consent is denied. Behaviour depends on each tag's setup.
Why do I see fewer conversions in Google Ads after adding a cookie banner?
Visitors who reject cookies are no longer tracked as before, and a faulty banner can block tags for people who did accept. Check that the update call works and that tag consent types match the banner categories.
Where should the consent default script go?
Place it before the GTM container snippet in the page head, or fire your banner's template on Consent Initialization - All Pages. This makes sure the default exists before any tag is evaluated.
Can FunnelGuard tell me if consent is blocking my tags?
Yes. It runs a consent variant of your journey and checks whether the expected tracking hits are sent. A missing hit triggers a second-region recheck and then one alert with a screenshot and a likely cause.
Related issues
- TRK-117Built-in consent checks misconfigured in GTMFix guide
- TRK-103Workspace changes never published (tag in preview only)Fix guide
- TRK-111Tag paused in GTMFix guide
- TRK-118GTM blocklist/allowlist blocking tag typesFix guide
- TRK-106Trigger set to All Pages instead of thank-you pageFix guide
- TRK-112Tag sequencing broken (setup tag fails, main tag skipped)Fix guide