Cookiebot Guide: Setup, Debugging & GDPR Compliance Check
Cookiebot by Usercentrics is one of the most widely used consent management platforms in the world. It powers over 1.2 million websites ranging from small blogs to enterprise e-commerce stores. If you are reading this, you probably either already installed Cookiebot or are considering it. This guide walks you through how Cookiebot works under the hood, how to configure it for GDPR compliance, how to debug it when things go wrong, and how to verify that it is actually doing its job.
This guide is based on hands-on testing with the platform and analysis of thousands of real-world cookie scans. For the most current interface options, always refer to the vendor's official documentation.
How Cookiebot works in practice
Cookiebot operates as a cloud-based consent management platform. You sign up, add your domain, insert a small JavaScript snippet into your website's head section, and Cookiebot takes over from there. It periodically scans your website for cookies, classifies them into categories (necessary, preferences, statistics, marketing), and presents a consent banner to visitors based on their location.
The platform offers two core blocking strategies. Automatic cookie blocking intercepts third-party requests and holds them until the user gives consent. Manual blocking requires you to add data-cookieconsent attributes to each script tag you want to control. Most small websites rely on automatic blocking, while larger or more complex setups often end up using a hybrid approach.
| Feature | Free plan | Pro / Business |
|---|---|---|
| Domains | 1 | Unlimited |
| Page views | Up to 50K/month | Unlimited |
| Scan frequency | Monthly | Weekly / Daily |
| Auto-blocking | Yes | Yes |
| Banner customization | Basic | Full CSS + JS |
| Multilingual banners | Yes | Yes |
| TCF 2.2 support | Yes | Yes |
| Google Consent Mode | Yes | Yes |
Step-by-step installation
- Create an account on cookiebot.com and add your domain.
- Insert the script in the head section of every page. It must load before any other scripts that set cookies.
- Run the first scan. Cookiebot will crawl your site and detect most cookies automatically.
- Review classifications. Check if cookies are categorized correctly. Move any misclassified cookies to the right category.
- Configure the banner. Choose between implicit, explicit or custom consent models depending on your target regions.
- Enable auto-blocking if you want Cookiebot to intercept scripts automatically.
- Test on a staging environment before pushing to production.
Common configuration mistakes
After analyzing thousands of Cookiebot implementations, we see the same errors again and again. Here are the most frequent ones and how to fix them.
The script loads too late
If your Google Tag Manager container, Facebook Pixel or analytics snippet loads before the Cookiebot script, those cookies are set before Cookiebot has a chance to intercept them. The fix is simple: move the Cookiebot loader to the very top of the head section, above everything else.
Async and defer break auto-blocking
Adding async or defer attributes to the Cookiebot script might seem like a performance optimization, but it allows the browser to continue parsing and executing other scripts while Cookiebot initializes. Remove these attributes from the Cookiebot loader.
Unclassified cookies are allowed by default
When Cookiebot finds a cookie it does not recognize during a scan, it classifies it as unclassified. Depending on your settings, unclassified cookies may be allowed by default until you manually categorize them. Change this setting to "Block until classified" for the safest GDPR posture.
How to verify Cookiebot is actually working
Installing Cookiebot is only half the battle. You need to verify that it actually blocks non-essential cookies before consent. Here is a reliable testing workflow.
- Open Chrome in Guest mode (no extensions, clean storage).
- Open DevTools > Application > Cookies before loading your site.
- Load the page. Do NOT interact with the banner yet.
- Check the cookie list. Only strictly necessary cookies should be present.
- Click "Accept All" on the banner.
- Check the cookie list again. Now analytics and marketing cookies may appear.
- Repeat the test with "Reject All". No non-essential cookies should ever appear.
If you find cookies appearing before consent, you have a leak. Use ConsentScope to pinpoint exactly which script is responsible and fix the loading order.
Cookiebot and Google Tag Manager
Google Tag Manager is the most common source of Cookiebot bypasses. Even if Cookiebot is installed correctly, your GTM triggers might be firing tags on "All Pages" without checking consent state.
The correct setup is to create consent-based triggers in GTM. Cookiebot pushes events like cookie_consent_statistics and cookie_consent_marketing to the dataLayer. Configure your analytics tags to fire on the statistics event and your marketing tags to fire on the marketing event. Never use "All Pages" or "DOM Ready" for non-essential tags.
FAQ
Does Cookiebot work with WordPress?
Yes. Cookiebot has an official WordPress plugin that handles script insertion and basic configuration. For advanced setups, you may still need to manually adjust theme files or use a plugin like Insert Headers and Footers.
How often does Cookiebot scan my site?
On the free plan, scans run monthly. Paid plans offer weekly or daily scans. You can also trigger a manual scan from the dashboard after making changes.
Can I use Cookiebot without a banner for non-EU visitors?
Yes, but be careful. Cookiebot supports geolocation rules, but if you disable the banner for US visitors while still setting tracking cookies, you may violate state laws like CCPA/CPRA in California. Always consult legal counsel for multi-jurisdiction setups.
Is Cookiebot actually blocking cookies on your site?
Install ConsentScope and verify in real time whether your Cookiebot implementation is GDPR-compliant.
Related CMP guides
OneTrust Guide
Complete guide to OneTrust cookie consent setup. Learn configuration, geolocation rules, debugging a...
Didomi Guide
Learn how to set up Didomi CMP for GDPR compliance. Customization tips, debugging workflow and how t...
Usercentrics Guide
Complete guide to Usercentrics CMP setup. Learn auto-blocking, Google Consent Mode v2, TCF 2.2 and h...