On this page
What this issue is
A cookie banner records a choice. It does not block anything by itself. Your tags must read that choice and obey it. Consent not honoured after reject means a visitor clicks Reject (or closes the banner without accepting), yet pixels and tags for advertising or analytics still load and send data.
Common causes: tags hard-coded in the theme outside the tag manager, Google Tag Manager triggers set to All Pages with no consent check, a CMP (consent management platform, the tool that runs your banner) that is not linked to your tags, or a reject choice that is saved but never read on later pages.
Why it costs you leads or sales
The direct cost is risk. Under GDPR, UK GDPR and ePrivacy rules, non-essential tracking needs consent. Ignoring a Reject is a clear breach that regulators and complainants can spot with a browser's network tab. Fines, complaints and forced clean-up work take time and budget away from growth.
There is a marketing cost too. Data collected without valid consent can be unsafe to use, and ad platforms may restrict or reject it. Rushed fixes often over-correct and block tags for everyone, which silently kills conversion tracking and makes ad spend look worse than it is.
- Visitor landsBanner appears
- Clicks RejectCMP stores 'denied'
- Tags loadTriggers ignore consent state
- Pixels send dataMeta, Google Ads, TikTok hits fire
- Cookies setAd cookies written anyway
The banner saves the choice, but the tags never read it.
How to check if your site has it
Open a clean session
Use a private window with extensions off, or clear cookies for your domain. Use an EU or UK location or a VPN if your banner is geo-targeted.
Open DevTools Network
Press F12, open the Network tab, tick Preserve log, and clear the list.
Click Reject
Click Reject all on the banner's first layer, then reload and browse two or three pages.
Look for tracking requests
Filter for facebook.com/tr, google-analytics.com/g/collect, googleadservices.com, googleads.g.doubleclick.net, analytics.tiktok.com, px.ads.linkedin.com and bat.bing.com.
Check cookies
Open Application > Cookies. Names such as _fbp, _gcl_au, _ttp or _ga should not appear after a reject.
How to fix it
The principle is the same everywhere: no consent, no tag. Find every place a tag loads, then make each one wait for the right consent category.
Set default consent to denied
Install your CMP's GTM template (or Google's Consent Mode setup) so a default 'denied' state fires first, before any other tag, using the Consent Initialization trigger.
Turn on Consent Overview
In Tag Manager go to Admin > Container Settings and tick Enable consent overview. Then open Consent Overview to see which tags have no consent requirement.
Add required consent to each tag
Open the tag > Advanced Settings > Consent Settings > Require additional consent for tag to fire. Add ad_storage for ad tags and analytics_storage for GA4.
Gate non-Google pixels
For Meta, TikTok, LinkedIn and others, add a trigger condition tied to your CMP's consent event or variable, or use the same additional consent setting with ad_storage.
Preview and publish
Use Preview mode, click Reject, and confirm tags show as Not fired. Then publish.
Find hard-coded tags
Search your theme header.php, plugins and any 'insert headers and footers' plugin for pixel code. Tags pasted there ignore your banner.
Move tags into your CMP or GTM
Remove the hard-coded snippets and load them through GTM or your consent plugin's script-blocking feature so they only run after consent.
Enable script blocking in your consent plugin
In your cookie plugin's settings, turn on automatic or manual blocking of marketing and analytics scripts and assign each script to a category. Menu names vary by plugin.
Clear caches
Purge page cache and CDN so old pages with the unblocked tags are not served.
Use Customer Privacy settings
Go to Settings > Customer privacy and set the region rules so EU and UK visitors must opt in.
Check Customer events
In Settings > Customer events, set each custom pixel's permission to the right category (Marketing, Analytics) so it only runs after consent.
Remove tags from theme code
Search theme.liquid and other theme files for pixel snippets. Tags in the theme bypass the consent setting, so move them to a pixel app or custom pixel.
Audit custom code
Check Site settings > Custom code (head and footer) and page-level custom code for pixels.
Load tags via GTM or your CMP
Move the pixels into GTM, gated on consent, or use your CMP's script-blocking attribute so the code does not run before consent.
Publish and retest
Publish the site and repeat the Reject test on the live domain, not the staging domain.
Stop loading tags by default
Remove static script tags for ad pixels from your templates. Load them from a function that runs only after consent is granted.
Read the stored choice on every page
Check the saved consent value at page load, not just when the banner is clicked, so a Reject carries over to later pages.
Remove cookies on withdrawal
If a visitor changes from accept to reject, stop the tags and delete the marketing cookies.
// Replace getConsent() with your CMP's API call.
function loadMetaPixel() {
if (window.fbq) return;
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,document,'script','https://connect.facebook.net/en_US/fbevents.js');
fbq('init', 'YOUR_PIXEL_ID');
fbq('track', 'PageView');
}
if (getConsent('marketing') === true) {
loadMetaPixel();
}
// Also call loadMetaPixel() from your CMP's 'consent granted' callback.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
});Before
- Reject is stored but ignored
- Meta and Google Ads hits still fire
- Ad cookies appear in the browser
- Pixel pasted in theme code
After
- Tags wait for consent state
- No ad requests after Reject
- No marketing cookies set
- All pixels managed in GTM or the CMP
How to confirm it's fixed
- In a fresh private window, click Reject and see no ad or analytics requests in the Network tab
- No _fbp, _gcl_au, _ttp or similar cookies after rejecting
- The reject choice still holds after reloading and visiting other pages
- Clicking Accept still fires every expected tag
- Changing from Accept to Reject later stops the tags
- GTM Preview shows tags as Not fired on reject
- Checked on the live domain, on mobile and desktop
How to prevent it happening again
Consent breaks when someone adds a new pixel, changes a theme or updates the CMP. Treat consent as part of your release process.
- Add every new tag through GTM or the CMP, never into theme files
- Require consent settings on each new tag before publishing
- Run a Reject test after every theme, plugin or CMP update
- Keep one named owner for the tag list
- Review Consent Overview in GTM each quarter
- Schedule automated Reject checks instead of relying on memory
How FunnelGuard handles this
FunnelGuard detects this issue today. A robot visitor loads your pages on a schedule, from the EU or the US, and checks which tracking hits are sent to platforms such as GA4, Google Ads, Meta, TikTok, LinkedIn, Bing, Pinterest, Snapchat, X and Reddit. When the check flags tags that fire where they should not, you get one alert with a screenshot and a likely cause. A failure is re-checked from a second region before the alert goes out.
Test traffic is marked (utm_source=funnelguard, fg_test=1, an fg_test cookie and its own user agent) and never bypasses CAPTCHAs or bot protection. FunnelGuard does not replace a legal review of your consent setup. The Free plan covers 1 site and 2 journeys with daily checks and no card, and every paid plan has a 3-day free trial.
Questions people ask
Why are my pixels still firing after I click Reject on the cookie banner?
Usually your tags are not linked to the banner's choice. The tag may be hard-coded in your theme, or a Google Tag Manager trigger may fire on All Pages with no consent condition. The banner stores the choice, but nothing reads it before the tag loads.
How do I test if my cookie banner really blocks tracking after reject?
Open a private window, open DevTools Network, click Reject, then reload and browse a few pages. Look for requests to facebook.com/tr, google-analytics.com/g/collect and similar, and check for cookies such as _fbp or _gcl_au. If you see them, rejection is not honoured.
Is it normal for Google tags to send data after reject with Consent Mode?
Partly. With Consent Mode, Google tags can send cookieless pings when consent is denied, without ad cookies or identifiers. Full hits that set cookies, or any non-Google pixel like Meta or TikTok firing, mean consent is not being respected.
How do I stop Meta Pixel firing until someone accepts cookies?
Load the pixel through Google Tag Manager with a consent condition for marketing or ad_storage, or through your CMP's script blocking. Remove any copy pasted directly into theme files. Then retest after clicking Reject to confirm no facebook.com/tr request appears.
Is firing tags after a rejected cookie banner illegal?
Under GDPR, UK GDPR and the ePrivacy rules, non-essential tracking generally needs prior consent, so firing it after a Reject is a likely breach. This is general information, not legal advice. Ask a qualified privacy adviser about your specific case.
Why do tracking cookies come back after I reject on the next page?
The reject choice is probably not being read on page load. Some setups only act on the click, so later pages load tags again. Make your tags check the stored consent value on every page, and clear caches after the change.
Can I monitor consent rejection automatically?
Yes. FunnelGuard runs a robot visitor on a schedule and checks which tracking hits are sent to ad and analytics platforms. If tags fire when they should not, it sends one alert with a screenshot and a likely cause after a second-region re-check.
Related issues
- OPS-320Tracking fires before consentFix guide
- OPS-323Consent Mode v2 not implementedFix guide
- OPS-321Banner has no Reject button on first layerFix guide
- OPS-328CMP script failing so no tags load at allFix guide
- OPS-327Consent records not stored (no proof)Fix guide
- OPS-339Third-party embeds (YouTube, Maps) setting cookies before consentFix guide