On this page
What this issue is
Your consent banner (also called a cookie banner) is run by a consent management platform, or CMP. Examples are Cookiebot, OneTrust, CookieYes, Complianz or Shopify's built-in banner. This issue means a visitor clicks Accept, Reject or Close and the banner stays put, or the banner appears but its buttons can't be reached.
Why it costs you leads or sales
- Ad clickVisitor lands on the page
- Banner showsAccept or Reject does nothing
- Form or checkoutButton is covered
- ConversionNever recorded
The banner covers the button, so every later step is lost.
Example: illustrative numbers only, showing how a banner covering the submit button can cut leads.
How to check if your site has it
Open a private window
Use a new incognito or private window so no old consent cookie exists. The banner should appear.
Click every button
Try Accept, Reject, Close (the X) and Settings. Each one should hide the banner or open a panel that can be saved and closed.
Reload the page
The banner should stay gone. If it comes back, the choice isn't being stored.
Repeat on a phone
Test on a real phone or in browser device mode. Check the banner fits the screen and the page can still scroll.
Open the browser console
Press F12, open Console and click the banner buttons. Red errors mentioning the CMP script point to the cause.
Try your main button
With the banner showing, try to click your form submit, Add to cart, booking or chat button.
How to fix it
| Symptom | Likely cause | Fix |
|---|---|---|
| Buttons do nothing, console shows errors | CMP script broken or blocked by another script | Fix or remove the conflicting script, update the CMP plugin |
| Banner returns after every reload | Consent cookie not saved or cached page | Exclude the banner from page cache, check cookie domain |
| Banner covers your CTA | Banner position or z-index clash | Move banner to a corner or reduce its size |
| Banner taller than phone screen | Too much text, no scroll | Use a compact layout, shorten text |
| Page can't scroll | Banner locks body scroll | Turn off the scroll lock option in the CMP |
Update and test for conflicts
Update your consent plugin (Complianz, CookieYes, Cookiebot and similar). Then switch off other plugins one by one, or use a staging site, to find the one that breaks the banner.
Exclude from cache and minify
In your caching plugin, exclude the CMP script from JavaScript minify, combine and delay settings. Clear the cache afterwards.
Adjust the banner layout
In the plugin's banner settings, choose a bottom corner or small bar layout so it doesn't cover your buttons.
Check the banner source
Under Settings > Customer privacy, review the built-in banner. If you also installed a CMP app, run only one banner.
Remove duplicate scripts
In the theme code (Online Store > Themes > Edit code), look in theme.liquid for old CMP snippets left by uninstalled apps.
Test on mobile
Preview the theme on a phone and check the banner doesn't cover Add to cart or checkout.
Check how the CMP loads
If you load the CMP through a GTM tag, open Preview mode and confirm the tag fires on the Consent Initialization or Page View trigger without errors.
Remove duplicate CMP tags
Make sure the CMP isn't loaded both in GTM and directly in the site code. Two copies often block each other.
Publish after testing
Publish the container and retest in a private window.
Check custom code
In Project settings > Custom code, confirm the CMP script appears once, in the head.
Check layers and z-index
If you built a custom banner, make sure no element with a higher z-index or a full-width overlay covers its buttons.
Publish and retest
Test the published site, not only the Designer preview.
Check the funnel and site tracking code
In the funnel or website settings, look at the custom code areas for duplicate CMP scripts.
Preview on mobile
Use the preview in mobile mode and check the banner doesn't cover the form or button elements.
Use one banner
In Settings > Cookie Consent Banner (or the Wix cookie banner tool), run the built-in banner or a third-party one, not both.
Check mobile layout
Open the mobile editor and make sure the banner doesn't hide key buttons.
Review the cookie banner settings
Under Settings > Cookies & Visitor Data, check the banner options and position.
Check code injection
If you added a third-party CMP in Code Injection, remove the built-in banner or the duplicate script.
Read the console error
Fix the error that stops the click handler. Common ones are a missing script file, a wrong data attribute, or a blocked domain.
Check stacking and layout
Make sure the banner and its buttons are not covered by another element. See the CSS below.
.consent-banner {
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 2147483000;
max-height: 40vh;
overflow-y: auto;
}
.consent-banner button {
position: relative;
pointer-events: auto;
}How to confirm it's fixed
- In a private window, the banner appears once.
- Accept, Reject and Close each hide the banner.
- After reload, the banner stays hidden.
- The page scrolls normally while the banner shows.
- Your form, checkout, booking and chat buttons are clickable with the banner open.
- No red CMP errors appear in the console.
- All of the above works on a real phone and on desktop.
Broken
- Buttons do nothing
- Banner covers the submit button
- Banner returns on every page
- Consent never stored
Fixed
- Choice saved on first click
- Banner compact and out of the way
- Stays hidden on later pages
- Tags follow the stored choice
How to prevent it happening again
- Test the banner after every theme, plugin or CMP update.
- Run only one consent banner per site.
- Exclude the CMP script from caching, minify and delay-JS tools.
- Check the banner on a phone after layout changes.
- Keep the banner text short so it fits small screens.
- Re-test after adding chat widgets, pop-ups or sticky bars, which can cover the banner.
How FunnelGuard handles this
Questions people ask
Why can't I close my cookie consent banner?
Usually a JavaScript error stops the banner's buttons from working, or another script, plugin or theme element sits on top of them. Open the browser console (F12) and click the buttons to see the error. Updating the consent plugin and removing duplicate banners fixes most cases.
Why does my cookie banner keep coming back after I accept?
The consent choice isn't being saved. Common reasons are a page cache serving the banner to everyone, blocked or wrong-domain cookies, or two consent tools overwriting each other. Exclude the banner from caching and run only one CMP.
How do I stop a cookie banner covering my buttons on mobile?
Use a compact bar or corner layout, shorten the text and limit the banner's height so it scrolls inside itself. Then test on a real phone to check your form, checkout and chat buttons stay clickable.
Can a cookie banner that won't close hurt my conversions?
Yes. If it covers a submit, buy, booking or chat button, visitors can't act and leave. It can also stop consent being recorded, which affects which tracking tags fire and how well your ad platforms measure results.
Can I just remove the cookie banner if it's broken?
Not if you have EU or UK visitors and use non-essential cookies or tracking. You need valid consent before those tags fire. Fix the banner instead, or block those tags until a working banner is in place.
How do I test if my consent banner works?
Open a private window, click Accept, Reject and Close, reload the page and check the banner stays hidden. Repeat on a phone and watch the console for errors. Also try clicking your main call-to-action while the banner is visible.
Can FunnelGuard detect a cookie banner that can't be dismissed?
Partly. FunnelGuard checks whether a banner or overlay covers your call-to-action button during a scheduled journey. It doesn't test every banner button or whether the consent choice is stored, so check those by hand.
Related issues
- OPS-319No cookie banner for EU/UK visitorsFix guide
- OPS-320Tracking fires before consentFix guide
- OPS-321Banner has no Reject button on first layerFix guide
- OPS-324Consent not honoured after reject (pixels still fire)Fix guide
- OPS-328CMP script failing so no tags load at allFix guide
- OPS-326Cookie policy missing or outdated cookie listFix guide