Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Cookie consent banner can't be dismissed: how to find and fix it

OPS-325High impactPartlyBy FunnelGuardPublished Updated
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

Where a stuck banner breaks the funnel
  1. Ad clickVisitor lands on the page
  2. Banner showsAccept or Reject does nothing
  3. Form or checkoutButton is covered
  4. ConversionNever recorded

The banner covers the button, so every later step is lost.

Form submissions with and without a stuck bannerExample numbers
Form submissions with and without a stuck banner (example)Banner works: 40 submissions per week; Banner stuck on mobile: 22 submissions per week015314022Banner worksBanner stuck on mobilesubmissions per week

Example: illustrative numbers only, showing how a banner covering the submit button can cut leads.

How to check if your site has it

Test the banner by hand
  1. Open a private window

    Use a new incognito or private window so no old consent cookie exists. The banner should appear.

  2. 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.

  3. Reload the page

    The banner should stay gone. If it comes back, the choice isn't being stored.

  4. 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.

  5. Open the browser console

    Press F12, open Console and click the banner buttons. Red errors mentioning the CMP script point to the cause.

  6. 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

Symptoms, likely causes and fixes
SymptomLikely causeFix
Buttons do nothing, console shows errorsCMP script broken or blocked by another scriptFix or remove the conflicting script, update the CMP plugin
Banner returns after every reloadConsent cookie not saved or cached pageExclude the banner from page cache, check cookie domain
Banner covers your CTABanner position or z-index clashMove banner to a corner or reduce its size
Banner taller than phone screenToo much text, no scrollUse a compact layout, shorten text
Page can't scrollBanner locks body scrollTurn off the scroll lock option in the CMP
Fix by platform
  1. 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.

  2. Exclude from cache and minify

    In your caching plugin, exclude the CMP script from JavaScript minify, combine and delay settings. Clear the cache afterwards.

  3. 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.

Keep a custom banner compact and clickable on phonescss
.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

Confirmation checks
  • 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.
Banner before and after the fix

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

Habits that keep the banner working
  • 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.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: cta_not_covered.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.