Cookie banner not showing: 9 causes and how to check each
Cookie banner not showing? Check stored consent, caching, theme hooks, script optimisation, blockers, CSP, region rules, plan limits and CSS, one by one.

A cookie banner that is not showing is either hidden on purpose, by a stored choice or a region rule, or kept off the page by a cache, a missing script, a blocker, a policy or CSS. Work through the checks below in a fresh private window with developer tools open, starting with the symptom that matches yours.
Some missing banners are expected behaviour. A visitor who already chose, or a visitor outside the regions you configured, may correctly see nothing.
| Symptom | Where to start |
|---|---|
| Missing only in your usual browser | Stored consent |
| Old banner, or changes not live | Page, plugin or CDN cache |
| Consent script absent from the page source | Theme hooks or app embed |
| Banner empty, late or gone after a speed plugin | Script optimisation |
| Missing in one browser or with an extension | Blockers and privacy signals |
| Console errors about Content Security Policy | CSP |
| Missing in some countries only | Region rules |
| Disappeared around a billing change | Plan or pageview limit |
| Script loads, nothing visible | CSS and z-index |
Have you already accepted or rejected the banner?
A stored choice is the first thing to rule out, because in that case nothing is broken. Consent tools remember the decision in a cookie or browser storage and skip the banner on later visits.
Cookiebot's banner troubleshooting article names this case and suggests deleting its consent cookie to see whether the banner returns. To check your own tool:
- Open the site in a private window. If the banner appears there but not in your normal profile, a stored choice is the likely cause.
- In your normal profile, open developer tools and go to Application > Storage > Cookies, then select your site's origin.
- Find the entry your consent tool uses (its documentation names it), select it and click Delete selected, then reload.
Chrome's cookie panel guide documents these controls. Avoid Clear all on a live account, because it also removes login and basket cookies. While you are here, check that visitors can reopen their preferences after choosing.
Is a cache serving an older version of the page?
Yes, a page, plugin or CDN cache can keep serving HTML from before you installed or changed the banner. Complianz and Cookiebot both list caching in their troubleshooting articles, and CookieYes's troubleshooting guide suggests clearing the browser cache when app changes don't show on the live site.
- Open the Network panel and tick Disable cache. Chrome's Network reference explains that this disables the browser cache; your server and CDN caches are separate.
- Reload, select the main document request and search its response for your consent script.
- If the script is missing or outdated, purge your caching plugin, your host's cache and your CDN, then test again in a private window.
Check the response headers for any cache status header your host or CDN adds. Purge the affected pages rather than turning caching off for good.
Is the consent script missing from the page's HTML?
If the script never appears in the page source, the banner cannot load. On WordPress, plugins rely on theme hooks to print their scripts, and a theme that leaves them out silently drops those scripts.
WordPress's reference describes the wp_head hook as printing scripts or data in the head, and the wp_footer hook as printing them before the closing body tag. Both pages note that the hooks are theme-dependent. In a classic theme, check that the templates still call them:
<?php wp_head(); ?> <!-- in header.php, before </head> -->
<?php wp_footer(); ?> <!-- in footer.php, before </body> -->
Make the change in a child theme so an update does not undo it. The CookieConsentHQ plugin prints its script through wp_head, as the WordPress install guide explains, so a theme without that call would drop it.
On Shopify, the Shopify install guide explains that Shopify keeps app embeds off after install, so the CookieConsentHQ banner appears only once you switch its embed on in the theme editor and save. Checkout pages can't render app embeds.
Is a speed plugin or async loading delaying the banner?
It can be. Optimisation plugins can delay, combine or move scripts, and a consent script that runs late or out of order may show nothing.
MDN's script element reference explains the difference: a classic async script runs as soon as it downloads, while defer scripts run in document order after parsing. CookieYes suggests checking that its script sits at the top of the head and excluding it from optimisation plugins when the banner is empty.
- In Network, tick Preserve log, reload and filter by JS.
- Find the consent script and check its timing and attributes.
- Switch off the plugin's "delay JavaScript" or combine options briefly and compare.
Then exclude the consent script and its stylesheet from those features. The CookieConsentHQ WordPress plugin already adds data-cfasync="false" for Cloudflare Rocket Loader and data-no-optimize and data-no-defer for LiteSpeed Cache.
Can ad blockers or privacy signals hide the banner?
Yes. Some browser extensions block consent scripts or hide banners, and Cookiebot states that it cannot override a browser or plugin that suppresses cookie banners.
Compare the page in a clean browser profile with no extensions against your usual setup. If the banner appears only in the clean profile, the difference is on your side, not on the site.
Privacy signals can also change what a tool shows. Complianz documents that with its "Respect Do Not Track settings in browsers" option on, a Do Not Track or Global Privacy Control signal makes it treat every preference as denied and show no banner. Check your own tool's documentation for how it handles these signals before changing anything.
Is a Content Security Policy blocking the script?
It can be, when the policy's script-src or style-src rules don't allow the consent tool's files. The browser then refuses the resource and logs the violation in the console.
MDN's CSP error reference confirms that CSP problems appear as console messages. To check:
- Open Console, reload, and look for messages that mention Content Security Policy.
- Note the blocked address and the directive named.
- Find the policy in the
Content-Security-Policyresponse header, or in a<meta http-equiv>tag, which MDN's CSP guide also describes.
Allow only what the tool needs, by origin, nonce or hash. Termly's troubleshooting article also suggests reading console errors to find other services that conflict with the banner.
Why does the banner appear in one country but not another?
Region rules are the likely reason: many tools let you show a banner only to visitors in chosen countries. Outside those regions, no banner may be the configured result.
Cookiebot points to its "Distribution" setting, and Complianz to its GeoIP and region settings, and Complianz suggests a VPN to see how the banner looks elsewhere. In CookieConsentHQ, geo-targeting picks a rule from the country, US state or Canadian province that Cloudflare supplies at request time.
Test each region in a fresh session. Whether a region needs a banner is a separate legal question from how the tool is configured.
Can a plan or pageview limit switch the banner off?
With some tools, yes. Cookiebot lists an expired trial or a subscription in arrears as a cause, and CookieYes's pageview pricing guide says the banner stops displaying at 100% of the monthly limit when extra pageviews is not enabled.
Open your consent tool's dashboard and look for billing notices, usage alerts or a suspended status. If the account is in good standing, go back to the loading and cache checks. For comparison, CookieConsentHQ keeps the banner and tracker blocking running when a site goes over its plan's pageviews.
Can theme CSS or z-index make the banner invisible?
Yes, the banner can load correctly and still be invisible. Another element may sit on top of it, a parent may clip it, or a rule may hide it.
MDN's stacking context guide explains why a high z-index only competes within its own stacking context. Complianz's banner article lists the same suspects: high z-index values elsewhere, display:none or visibility:hidden, and a parent with overflow:hidden or a transform clipping a fixed banner.
- In Elements, search for the banner's container.
- Check its computed styles for
display,visibilityandopacity, and look up its parents. - Turn suspicious rules off in the Styles pane and check mobile and desktop widths.
If the container is not in the DOM at all, return to the loading checks.
How do you confirm the banner works after the fix?
The fix holds when the banner appears for a first-time visitor, stays hidden after a choice, and loads without console errors. A visible banner still says nothing about what loaded before the choice.
The free scanner is a quick test step here. It loads one page as a first-time visitor and names the consent tool it finds from its script address, so a named tool with no visible banner points to a display problem. It runs from Cloudflare's network, so region rules from another tool see that location. If it reports cookies before consent, finding and blocking them covers the fixes.
Final checklist:
- Test in a fresh private window with no extensions.
- Confirm the current consent script is in the page HTML.
- Purge page, plugin and CDN caches after changes.
- Read the Console for CSP and script errors.
- Check region rules and account status in your tool.
- Delete the stored choice once and confirm the banner returns.
- Check the banner's CSS at mobile and desktop widths.
Run the free checker on your site
Check your siteSources
- wp_head hook (WordPress Developer Resources), checked 2026-11-10
- wp_footer hook (WordPress Developer Resources), checked 2026-11-10
- Network features reference (Chrome DevTools), checked 2026-11-10
- View, add, edit, and delete cookies (Chrome DevTools), checked 2026-11-10
- The script element (MDN), checked 2026-11-10
- Content Security Policy (MDN), checked 2026-11-10
- CSP errors and warnings (MDN), checked 2026-11-10
- Stacking context (MDN), checked 2026-11-10
- Cookie banner not showing on my website (Cookiebot Support), checked 2026-11-10
- Cookie banner does not appear (Complianz), checked 2026-11-10
- Troubleshooting Guide (CookieYes), checked 2026-11-10
- Pageview Pricing (CookieYes), checked 2026-11-10
- Troubleshooting your Termly CMP installation (Termly), checked 2026-11-10
Related guides

Google Consent Mode and tracking
Basic vs advanced consent mode: which should you use?
Basic vs advanced consent mode compared: what each sends before consent, what data you keep or lose, and how to tell which one your site is running.
6 min read

Google Consent Mode and tracking
Shopify pixels firing before consent: how to check and fix
Shopify pixel firing before consent? See which tags follow Shopify's Customer Privacy API, which ones bypass it in the theme, and how to test your store.
7 min read

Google Consent Mode and tracking
Microsoft Clarity cookie consent: set it up and test it
Microsoft Clarity cookie consent, step by step: which cookies Clarity sets, how to send the consentv2 signal, and how to test that it waits for a choice.
8 min read