On this page
What this issue is
A consent banner asks visitors to accept or reject cookies. Their answer is saved, usually in a first-party cookie or in localStorage (browser storage on the visitor's device). Every page and every tag should then read that saved answer.
The issue appears when that chain breaks. There are two common versions:
- The choice is forgotten. The banner shows again on the next page or the next visit, because the consent cookie was never saved, was blocked, or expires too fast.
- The choice is saved but not obeyed. A visitor clicks Reject, yet GA4, Google Ads, Meta or other tags still fire, because they load outside the consent tool's control.
Why it costs you leads or sales
A banner that returns on every page interrupts the visitor in the middle of a form or checkout. Some leave. Others click Accept just to get rid of it, which makes your data less reliable.
Tags that fire after a refusal create a legal risk in regions with consent rules. The opposite fault also hurts: if an Accept choice is not passed on, tags stay blocked and your conversions go unreported. Ad platforms then optimise on partial data.
- Landing pageBanner appears
- Visitor clicks RejectChoice should be stored
- Choice read on next pageCookie missing or ignored
- Form or checkoutBanner returns, tags fire anyway
The visitor answers the banner, but the saved choice is not read on the next page.
Example: illustrative numbers showing how an interrupting banner could lower form completion.
How to check if your site has it
Open a clean window
Use a private window so no old consent cookie exists. Visit your landing page.
Reject non-essential cookies
Click Reject (or the equivalent). Open DevTools, then Application, then Cookies, and look for your consent tool's cookie. Note its name, value and expiry.
Watch the Network tab
Filter for google-analytics, googleadservices, facebook and similar. After a refusal, full tracking hits should not be sent. Consent Mode may still send cookieless pings.
Move to another page
Click through to a second page and reload. The banner should stay hidden and the cookie should still be there.
Repeat with Accept
Use a fresh private window, accept, and confirm your tags now fire on the next page.
How to fix it
The cause depends on your setup. Start with the most common ones: the cookie is not saved, the cookie is saved on the wrong domain, a cache serves the banner to everyone, or tags load before the consent tool.
Exclude the consent cookie from page caching
In your cache plugin, make sure pages are not cached in a way that ignores the consent cookie, and clear the cache after changing banner settings.
Stop tags being hard-coded
Remove GA4, Meta or ad pixels pasted into the theme or a header plugin. Load them through your consent plugin or Google Tag Manager so they wait for consent.
Check for two banners
Deactivate duplicate consent plugins. Two tools can overwrite each other's cookie.
Use one consent source
In Settings, then Customer privacy, review the banner settings. Disable any second banner app so only one stores the choice.
Move pixels to customer events
Add tracking through Settings, then Customer events, rather than pasting it into theme.liquid, so it respects the customer's privacy choice.
Set default consent first
Fire your consent tool's initialisation tag on Consent Initialization - All Pages, so the default is set before other tags.
Add consent checks to tags
In each tag, open Advanced Settings, then Consent Settings, and require the right type (for example ad_storage or analytics_storage).
Update on choice
Make sure the banner sends a consent update when the visitor chooses, and again on later pages from the stored cookie.
Load scripts through the consent tool
Under Project settings, then Custom code, avoid raw tracking snippets. Use your consent tool's script blocking or load tags through Google Tag Manager.
Test on the published domain
Consent cookies may not behave the same on the webflow.io staging address as on your custom domain.
Check each funnel and site
Cookie banner and tracking code are set per funnel or website. Confirm the same banner and rules are on every page of the journey.
Keep tracking out of raw header code
If you paste pixels into custom code, route them through Google Tag Manager with consent checks instead.
Use the built-in banner settings
In Settings, open the cookie consent banner and confirm it is turned on. Avoid adding a second banner via custom code.
Add tracking through Marketing Integrations
Install tags from the Wix tracking tools area so they follow the visitor's cookie choice.
Review Cookie Banner settings
Open the Cookies and Visitor Data settings and check the banner behaviour. Test with Decline selected.
Avoid raw pixels in Code Injection
Scripts pasted into Code Injection may load regardless of choice. Move them to Google Tag Manager with consent checks.
Save the choice in a first-party cookie
Set it with a long expiry,
Path=/and the parent domain. See the snippet below.Read it before loading tags
On every page, read the cookie first and load tags only when the matching category is granted.
function setConsent(analytics, ads) {
var value = JSON.stringify({ analytics: analytics, ads: ads });
document.cookie = 'site_consent=' + encodeURIComponent(value) +
'; Max-Age=15552000; Path=/; SameSite=Lax; Secure';
}
function getConsent() {
var m = document.cookie.match(/(?:^|; )site_consent=([^;]*)/);
return m ? JSON.parse(decodeURIComponent(m[1])) : null;
}
var c = getConsent();
if (c && c.analytics) {
// load analytics tag here
}Broken
- Banner shows on every page
- Consent cookie missing or on the wrong domain
- Pixels pasted in the theme fire after Reject
- Cached pages ignore the choice
Fixed
- Choice stored once and read on every page
- Cookie set for the parent domain with a long expiry
- Tags wait for the matching consent category
- Cache keeps the banner state correct
How to confirm it's fixed
- In a private window, Reject: the consent cookie appears with the right value and expiry.
- Navigate to two more pages: the banner does not return.
- Network tab shows no full ad or analytics hits after Reject.
- In a fresh window, Accept: tags fire on the next page.
- Reopen the site the next day: the choice is still remembered.
- Check the same on mobile and on any checkout subdomain.
How to prevent it happening again
- Use one consent tool only, and one place to load tags.
- Retest the Reject path after every theme, plugin, cache or tag manager change.
- Clear caches after editing banner settings.
- Keep the consent cookie domain and expiry documented.
- Review any new pixel to make sure it is gated by consent before it goes live.
How FunnelGuard handles this
FunnelGuard detects this issue only partly. It runs a consent-denied variant: a robot visitor runs your journey with cookies refused, and checks the steps and the tracking hits sent to ad and analytics platforms. That shows you when tags still fire, or when the journey breaks, after a refusal.
Questions people ask
Why does my cookie banner keep showing on every page?
The consent cookie is usually not being saved or read. Common causes are a cookie set on the wrong domain or path, a very short expiry, a cache serving the banner to everyone, or two consent tools overwriting each other. Check DevTools, then Application, then Cookies after clicking a choice.
Why are my tags still firing after I reject cookies?
The tags probably load outside your consent tool. Pixels pasted into the theme or custom code run regardless of the choice. Move them into Google Tag Manager with consent settings, or load them through the consent tool's script blocking.
How do I test if my cookie consent is working?
Open a private window, click Reject, and check that the consent cookie is set and the banner stays hidden on later pages. Then watch the Network tab to see that no full ad or analytics hits are sent. Repeat with Accept in a fresh window.
Why are my conversions missing after visitors accept cookies?
The Accept choice may not be passed to your tags. In Google Tag Manager, make sure the consent update fires when the visitor chooses and that tags check the right consent type. Without that, tags stay blocked even after consent.
Can a caching plugin break cookie consent?
Yes. If a cache serves the same HTML to everyone, the banner or the blocked tags may not match the visitor's choice. Clear the cache after banner changes and make sure your cache setup handles the consent cookie.
Does Google Consent Mode stop all tracking when consent is denied?
Not fully. With Consent Mode, tags may still send cookieless pings that do not use cookies for identification. Full tracking with cookies should stop until consent is granted.
Can FunnelGuard check my cookie consent?
Partly. FunnelGuard runs a consent-denied variant of your journey and checks the steps and tracking hits. It does not check every case, such as Accept being remembered across days, so test those by hand.
Related issues
- CNV-376Session cookie lost between stepsFix guide
- CNV-378SameSite settings break iframe login/checkoutFix guide
- CNV-379localStorage required, fails in private modeFix guide
- CNV-381Cached page serves stale CSRF/nonce (WordPress cache)Fix guide
- CNV-382Logged-in cache served to visitorsFix guide
- CNV-377Cookie too large, server 400 errorFix guide