Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Cookie banner not showing on mobile: how to find and fix it

TRK-293High impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

A consent management platform (CMP) is the tool that shows the cookie banner and records the visitor's choice. This issue means the banner appears on desktop but not on phones or tablets, or not on some mobile browsers such as Safari on iPhone or Chrome on Android.

The result depends on how your tags are set up. If tags wait for consent, mobile visitors are never asked, so analytics and ad tags stay blocked. If tags fire regardless of the banner, mobile visitors are tracked without having a chance to choose. Either way, the setup is wrong.

Why it costs you leads or sales

Phones often bring the majority of traffic to a marketing site. If the banner is missing there, you can lose conversion data for most of your visitors, or collect data you have no consent for.

What happens on a phone when the banner never appears
  1. Mobile visitVisitor arrives from an ad on a phone
  2. BannerHidden or fails to render on mobile
  3. Consent choiceNever recorded
  4. Ad and analytics tagsStay blocked (or fire without consent)
  5. Conversion reportedMissing from GA4 and ad platforms

With consent-gated tags, a hidden banner means no choice is ever recorded and tags stay blocked.

Reported conversions by deviceExample numbers
Reported conversions by device (example)Desktop reported: 95 conversions; Mobile reported (banner missing): 10 conversions036739510Desktop reportedMobile reported (bann…conversions

Example: the same 100 real conversions per device. When the banner is missing on mobile and tags are blocked, mobile conversions vanish from reports.

How to check if your site has it

Always test as a first-time visitor. A banner you already answered will not show again, which looks like a bug but is not.

Test the banner on a phone
  1. Open a private tab on a real phone

    Use a private or incognito tab in Safari on iPhone and Chrome on Android, so no saved consent exists.

  2. Load your landing page and wait

    Wait a few seconds. Some banners load late. Note if nothing appears, or if it flashes and disappears.

  3. Try desktop device emulation

    In Chrome, open DevTools, click the device toolbar icon and choose a phone size. Clear cookies and local storage first (Application tab, Clear site data), then reload.

  4. Check the console and DOM

    In the Console, look for errors from your CMP script. In Elements, search for the banner's container. If it exists but is invisible, the cause is CSS. If it does not exist, the script did not run or was told not to.

  5. Test from a location the banner targets

    If your CMP shows the banner by region, test on mobile data and Wi-Fi, and with the region rules in mind. A region rule can look like a mobile bug.

Common causes and how to spot them
CauseSignWhere to look
CSS hides it on small screensBanner is in the DOM but not visibleTheme or custom CSS with media queries, display:none
CMP device settingBanner is not in the DOM on mobileCMP dashboard, device or display rules
Cached page without scriptWorks logged in, fails for visitorsCaching or optimisation plugin, CDN
Script delayed or blockedConsole error or script never requestedNetwork tab, JS delay or minify settings
Banner off-screen or coveredShows only after scrolling or zoomingz-index, fixed position, other popups or chat widgets
In-app browser quirksFails only inside Instagram or Facebook browserTest via a link opened in the app

How to fix it

Fix the cause you found. The first steps apply to every site, then pick your platform.

General fix
  1. Check the CMP's display settings

    In your CMP dashboard, look for device, screen size, or display rules and make sure mobile and tablet are included.

  2. Remove CSS that hides it

    Search your theme and custom CSS for rules that hide the banner's container on small screens and delete or narrow them.

  3. Exclude the CMP script from delay and minify

    In any optimisation or caching tool, exclude the CMP script from JavaScript delay, deferral and combining, then clear the cache.

  4. Check for overlapping elements

    Make sure the banner's z-index is higher than sticky headers, chat widgets and other popups.

  5. Retest on real devices

    Repeat the private-tab test on iPhone and Android.

Where to change it on your platform
  1. Check the CMP plugin's settings

    In your consent plugin's settings, look for options about devices, display or banner position. Save and test.

  2. Exclude the script from optimisation

    In your caching or performance plugin, add the consent script to the JavaScript delay and combine exclusions, then purge the cache.

  3. Check theme CSS

    In Appearance > Customize > Additional CSS, look for rules that hide cookie elements on small screens.

Example of CSS that hides a banner on mobile (remove it)css
/* Problem: hides the banner on screens up to 767px wide */
@media (max-width: 767px) {
  #cookie-banner { display: none !important; }
}

How to confirm it's fixed

Confirmation checklist
  • Banner appears in a private tab on iPhone Safari
  • Banner appears in a private tab on Android Chrome
  • Banner appears in the Instagram or Facebook in-app browser if you run social ads
  • Buttons are tappable and not covered by other elements
  • Choosing Accept updates tags, and Reject keeps them blocked (check with Tag Assistant or the Network tab)
  • The choice is remembered on the next page

How to prevent it happening again

Habits that keep it working
  • Test the banner on a real phone after every theme, plugin, CMP or caching change
  • Keep the CMP script out of JavaScript delay and minify rules
  • Avoid device-based display rules unless you need them
  • Add a mobile banner check to your launch checklist for new landing pages and funnels
  • Review CMP release notes and settings after updates
Mobile consent banner

Broken

  • Banner shows on desktop only
  • Mobile visitors get no choice
  • Mobile conversions missing or tracked without consent

Fixed

  • Banner shows on all devices
  • Choice recorded and remembered
  • Tags follow the visitor's choice

How FunnelGuard handles this

FunnelGuard does not check whether your consent banner shows on mobile yet. It is a possible future check, so do not rely on FunnelGuard for it today.

What FunnelGuard does do is run your real customer journeys on a schedule and check each step, plus the tracking hits sent to platforms like GA4, Google Ads and Meta. If a broken banner or consent setup stops those hits from being sent, a journey check can show missing tracking, but it will not tell you the banner is the cause.

To watch for this issue today, test on a real phone after every change, and keep a dated note of the result. You can also compare mobile and desktop conversion counts in GA4 each month, since a large gap can point to a consent problem. The free FunnelGuard plan (1 site, 2 journeys, daily checks, no card) can help you watch your key journeys in the meantime.

Questions people ask

Why is my cookie banner not showing on mobile?

The most common causes are CSS that hides it on small screens, a device or display rule in your consent tool, a caching or optimisation plugin that delays the script, or a script error on mobile browsers. Test in a private tab on a real phone, then check the DOM and console to see which one applies.

Why does my cookie banner show on desktop but not on my phone?

Often the banner is hidden by a media query in your theme CSS, or your CMP has display settings that exclude mobile. It can also be that you already answered it on desktop, so test in a private tab with cleared site data.

How do I test my cookie banner on mobile?

Open a private tab on a real iPhone and Android phone and load the page. You can also use Chrome DevTools device mode after clearing site data. Check the banner shows, the buttons work, and the choice is saved.

Does a missing mobile cookie banner affect tracking?

Yes. If your tags wait for consent, mobile visitors never grant it and GA4 and ad platforms miss their conversions. If tags fire regardless, you track mobile users without a recorded choice.

Why does my consent banner not appear in the Instagram or Facebook browser?

In-app browsers can block scripts, storage or third-party requests that the banner needs. Open your landing page from a link inside the app on a real phone and check it. If it fails, ask your CMP vendor about in-app browser support.

Can a caching plugin hide my cookie banner on mobile?

Yes. Delaying, deferring or combining JavaScript can stop the CMP script from running in time, and cached pages may be served without it. Exclude the consent script from those features and clear the cache.

Does FunnelGuard check if my cookie banner shows on mobile?

No, not yet. It is a possible future check. FunnelGuard checks journeys and tracking hits, so test the banner on a real phone by hand after site changes.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

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.