Cookie consent dialog does not appear
If the CookieHub consent dialog does not display on your site, it’s usually caused by an incorrect setup or a conflict with caching or security settings.
Possible causes:
- CookieHub implementation code is missing or incorrect.
- Google Tag Manager (GTM) changes not published.
- Ad blockers or security plugins are blocking scripts.
- Caching plugin or CDN serving outdated content.
- Content Security Policy (CSP) preventing script execution.
- Performance optimizations delaying script loading.
How to fix:
If using manual HTML implementation:
- Confirm that the CookieHub script is added exactly as shown in the Implementation tab of your dashboard.
- Ensure the code is placed at the top of the
<head>tag. - Clear any site or server cache and check again.
If using Google Tag Manager:
- Confirm that you published the container after adding the CookieHub tag.
- Make sure Additional Consent Checks are not added to the CookieHub tag.
- Use GTM preview mode to check if the tag is firing.
General checks:
- Disable ad blockers and test again.
- If you use a caching plugin or CDN, purge the cache.
- If CSP is active, update your rules to allow:
https://cdn.cookiehub.eu
- Disable any JavaScript optimizations (e.g., defer or async) for the CookieHub script.