On this page
What this issue is
A consent banner asks visitors to accept or reject cookies. When they choose, the banner tool stores that choice, usually in a small first-party cookie or in browser storage. On the next page it reads the choice and stays hidden.
With this issue, the choice is lost between pages. The visitor clicks Accept, moves to another page, and the banner is back. Some sites also lose the choice on every visit, not just every page.
Why it costs you leads or sales
A banner that keeps returning is an interruption on every step of the journey. It can cover buttons or form fields, and on mobile it can take up much of the screen. Visitors who already answered it get annoyed and leave.
It also hurts your data. If consent is never stored, your tags may treat every page as unconsented. Analytics and ad pixels may then not fire, or may fire only on some pages. Conversions go missing from GA4 and ad platforms, and ad optimisation works from weaker signals.
- Landing pageVisitor clicks Accept
- Consent savedCookie is blocked, wrong domain or overwritten
- Product or form pageBanner shows again, tags wait for consent
- ConversionVisitor leaves or the event is not tracked
The visitor accepts once, but the choice is never saved, so every later step starts from scratch.
Example: illustrative numbers only. A banner that returns on each page can lower completion compared with a banner that is answered once.
How to check if your site has it
Open a clean private window
Use a private or incognito window so no old consent exists. Visit your homepage.
Accept the banner
Click Accept. Confirm the banner closes.
Click through three or four pages
Go to a service page, a product or pricing page and the form or cart. Note whether the banner returns on any of them.
Inspect the stored cookie
In Chrome press F12, open Application, then Cookies, and select your domain. Look for the consent cookie (the name depends on your tool, for example CookieConsent, OptanonConsent or cookieyes-consent). Check it exists, and check its Domain, Path and Expires values.
Repeat in another browser and on mobile
Safari and some privacy browsers restrict cookies more strictly. Also test with and without www and on any subdomain such as shop. or book.
| What you see | Likely cause |
|---|---|
| No consent cookie after clicking Accept | Cookie is blocked, the script errors, or storage is disabled |
| Cookie exists but Domain is www.example.com while the next page is example.com | Domain mismatch between www and non-www |
| Cookie Path is /page instead of / | Path is too narrow, so other pages cannot read it |
| Cookie Expires is Session or a few seconds | Expiry is not set or is too short |
| Cookie exists but banner still shows | Cached HTML, a second banner script or a plugin conflict |
How to fix it
Start with the cause you found in DevTools. The most common fixes are below. Menu names depend on your consent tool and theme, so look for the same setting under a similar label.
Make sure only one banner script runs
Two consent tools (for example a plugin plus a Google Tag Manager tag) can overwrite each other's cookie. Keep one and remove the other.
Set the cookie domain and path correctly
Path should be / so every page can read it. If you use subdomains, set the cookie domain to your root domain with a leading dot, such as .example.com, if your tool offers that option.
Set a sensible expiry
Use a persistent expiry (many sites use 6 to 12 months) rather than a session cookie, unless your legal advice says otherwise.
Redirect to one canonical hostname
Pick www or non-www and redirect the other to it, so consent is not stored on one hostname and looked up on another.
Exclude the banner from page caching
If a cache or CDN stores the HTML with the banner open, make sure the banner is shown or hidden by JavaScript in the browser, not baked into cached HTML.
Check the tool's own settings
Make sure the tool's domain list matches your real domain and that it is not set to ask again on every page or to reset consent on navigation.
Purge caches
Clear your caching plugin and any CDN cache after changing banner settings, and exclude the consent cookie from page-cache variations if the plugin supports it.
Disable duplicate consent plugins
Under Plugins, deactivate any second cookie or consent plugin and any theme-built-in banner.
Check Site Address
In Settings, General, make sure WordPress Address and Site Address use the same hostname (www or not) that visitors use.
Use one consent source
In Settings, Customer privacy, review the cookie banner. If you also installed a banner app, turn one of them off.
Check your primary domain
In Settings, Domains, set one primary domain so visitors are redirected to the same hostname on every page.
Fire the banner tag once
Make sure the consent tool tag fires on the Consent Initialization trigger and only once per page, not on both All Pages and another trigger.
Check the tool's domain setting
In the consent tool's template or dashboard, confirm the domain matches your site.
Paste the banner script once
In Site settings, Custom code, add the script in one place only, not also on individual pages.
Set the default domain
In Site settings, Publishing, choose a default domain so the other version redirects to it.
Add the script at one level
Add the banner code in the funnel or website tracking code area, not in both the funnel and each step.
Use the same custom domain
Make sure all funnel steps are served from the same connected domain, since consent cookies do not carry across different domains.
Use Wix's built-in banner or one app
In Settings, Cookie Consent Banner (name may vary), keep one source only and remove any custom banner code.
Check the connected domain
In Domains, set a primary domain so all pages load on the same hostname.
Review cookie settings
Open the Cookies and Visitor Data settings and confirm only one banner is active.
Set a primary domain
In Domains, choose the primary domain so other versions redirect to it.
Write the cookie correctly
If you built the banner yourself, save the choice with path=/, a Max-Age and SameSite=Lax, and read it before showing the banner.
Check for Secure on HTTP
A cookie with the Secure flag is not saved on plain http pages. Serve the whole site over HTTPS.
function saveConsent(value) {
var maxAge = 60 * 60 * 24 * 180; // about 6 months
document.cookie = 'site_consent=' + value +
'; Max-Age=' + maxAge +
'; Path=/; SameSite=Lax; Secure';
}
function hasConsentChoice() {
return document.cookie.split('; ').some(function (c) {
return c.indexOf('site_consent=') === 0;
});
}
if (!hasConsentChoice()) {
showBanner();
}How to confirm it's fixed
- In a new private window, the banner appears once on the first page.
- After clicking Accept, the banner stays hidden on at least five other pages, including the form or cart.
- The consent cookie is visible in DevTools with Path set to / and a future expiry.
- The banner stays hidden after you reload and after you close and reopen the tab.
- It behaves the same on www and non-www, and on any subdomain you use.
- It works in Chrome, Safari and on a phone.
- Your tags now fire after consent, which you can check with Tag Assistant or the browser Network tab.
Before the fix
- Banner returns on each page
- Consent cookie missing or on the wrong domain
- Tags wait for consent that never registers
After the fix
- Banner shown once, then hidden
- Cookie saved with Path / and a long expiry
- Tags fire according to the stored choice
How to prevent it happening again
- Keep one consent tool and one place where its script is installed.
- Re-run the multi-page test after changing themes, plugins, caching or your CDN.
- Re-test after a domain change, a move to HTTPS or adding a subdomain.
- Add the multi-page banner test to your release checklist.
- Review consent tool updates before enabling them on the live site.
How FunnelGuard handles this
FunnelGuard does not check for this yet. A multi-page banner check, where a robot accepts the banner and confirms it stays hidden on later pages, is a possible future check, not a current feature.
What FunnelGuard does today is run your real customer journeys on a schedule, such as lead forms, checkouts and booking buttons, from the EU or the US. It checks each step and the tracking hits sent to platforms like GA4, Google Ads and Meta. If a returning banner stops a button from working or leads to a failed step, that failure can show up in a journey run. It would not be identified as a consent storage problem.
Until then, repeat the five-minute manual test above after each site change. You can also use your browser's DevTools or a consent tool's own reporting, if it offers one, to watch for the consent cookie. A free read-only website audit is available from FunnelGuard if you want a general look at your site.
Consent: blocked / denied
- GA4no hit
- Google Adsno hit
- Meta Pixelno hit
The banner returns on each page and tags keep waiting for consent, so analytics and ad events are missing or inconsistent.
Toggle to see how a lost consent choice affects the banner and tracking.
Questions people ask
Why does my cookie banner keep coming back on every page?
The visitor's consent choice is not being saved or read back. Common causes are a blocked cookie, a cookie set on the wrong domain or path, a short expiry, cached HTML, or two banner scripts conflicting. Check the consent cookie in your browser's DevTools to see which applies.
Why does the cookie banner show again after I click accept?
After you click Accept, the banner tool should write a consent cookie. If that cookie does not appear, or is set for www while the next page loads on the non-www domain, the tool cannot find it and shows the banner again.
How do I check whether the consent cookie is being saved?
Open your site in a private window, click Accept, then press F12 and go to Application, then Cookies. Look for your consent tool's cookie and check its Domain, Path (should be /) and Expires. If it is missing, consent is not stored.
Can caching make a cookie banner appear on every page?
Yes. If a page cache or CDN stores HTML with the banner already open, every visitor gets it regardless of their cookie. The banner should be shown or hidden by JavaScript in the browser after it reads the consent cookie.
Does a repeating cookie banner affect my tracking and ads?
It can. If consent is never recorded, tags that wait for consent may not fire, so GA4 and ad platforms miss conversions. The exact effect depends on how your tags and consent settings are configured.
Why does my cookie banner reappear when I switch between www and non-www or a subdomain?
Cookies belong to a specific hostname unless the domain is set wider. Consent saved on www.example.com is not visible on example.com or shop.example.com. Redirect to one hostname, or set the cookie on the root domain if your tool allows it.
Does FunnelGuard detect a cookie banner that reappears on every page?
No. FunnelGuard does not check for this yet, though it is a possible future check. It does run your real customer journeys and check tracking hits, so test the banner by hand across several pages after any site change.
Related issues
- CNV-125Accept button doesn't close the bannerFix guide
- CNV-124Cookie banner covers the main CTAFix guide
- CNV-127Banner missing for EU visitorsFix guide
- CNV-129Rejecting cookies breaks the form or checkoutFix guide
- CNV-130Banner blocks form script until consent (form missing)Fix guide
- CNV-131Consent banner script fails, page unclickableFix guide