Cookiebot

On this page 7

Cookiebot is a cloud-based consent management platform (CMP) that scans a website for cookies and similar trackers, displays a consent banner, blocks non-essential scripts until the visitor agrees, and keeps a record of every consent decision. In cookies & consent management, it is one of the most widely deployed tools for meeting the consent requirements of the ePrivacy Directive and the GDPR in privacy practice.

Cookiebot was developed by the Danish company Cybot, which combined with Usercentrics in 2021; the product continues under the Cookiebot name, mainly for small and mid-sized websites. It is delivered as a hosted JavaScript service rather than software installed on the web server.

How Cookiebot scans, categorizes and blocks

Cookiebot works in three connected steps. First, a scheduled crawler visits the pages of the registered domain, typically once a month, and records every cookie, local storage entry, pixel and third-party request it observes. Second, each item is matched against a shared classification database and assigned to a category with its provider, purpose and expiry. Third, a script loaded on every page shows the banner and holds back tracking code until the visitor grants the relevant category.

The four standard categories, plus a holding category for unknown items, are shown below with their default behavior before consent.

CategoryTypical purposeBefore consent
NecessarySession handling, load balancing, consent storageAllowed
PreferencesLanguage, region, saved interface choicesBlocked
StatisticsAudience measurement and analyticsBlocked
MarketingAdvertising, retargeting, cross-site profilesBlocked
UnclassifiedItems not yet categorizedShould be reviewed and assigned
Cookiebot consent categories

The scan also feeds an automatically generated cookie declaration, a table that the site owner embeds in the cookie policy. Because the declaration is regenerated after each scan, it stays closer to reality than a manually written list, provided the crawler can reach the pages where trackers actually load.

Blocking modes and integration options

Cookiebot is installed by placing its main script, identified by a domain group ID, as the first script in the page head. The script can then control other code in two ways, and it can also signal consent to tags that adjust their own behavior. The choice of mode decides how much manual work and how much risk of breaking the site is involved.

ModeHow it worksMain trade-off
Automatic blockingScript intercepts known trackers and releases them after consentFast setup, but can break embedded features
Manual blockingScripts tagged with a consent category attribute stay inactivePrecise control, but more developer effort
Google Consent ModeConsent state is passed to Google tags, which adaptKeeps cookieless pings, needs correct defaults
IAB TCF signalConsent string is shared with registered ad vendorsRequired for many ad networks, more complex banner
Tag manager templateConsent triggers control tags inside the tag managerCentralized control, depends on tag discipline
Ways Cookiebot controls tracking code

For developers, Cookiebot exposes a JavaScript API: objects report the current consent per category, events fire when a visitor accepts or declines, and a function reopens the banner so the visitor can withdraw or change consent as easily as it was given. Content management plugins and tag manager templates wrap the same mechanism for sites without custom code.

Under the GDPR, the controller must be able to demonstrate that consent was given. Cookiebot therefore stores a consent log entry for each decision, typically containing a consent ID, a timestamp, a shortened IP address, the user agent and the categories accepted. The visitor sees the consent ID and can quote it in a request, which makes individual records traceable without storing full identity data.

The tool supports the main legal expectations, but compliance depends on configuration. European regulators expect a reject option as prominent as accept, no pre-ticked boxes, granular choices per purpose, and renewal of consent at reasonable intervals, commonly every 12 months. Cookiebot offers templates and settings for these points, while the site owner remains the controller responsible for the final design and for which scripts are actually blocked.

Banner text and the declaration are available in dozens of languages, and geolocation can show different banner types by region, for example opt-in consent in the European Economic Area and an opt-out notice where only an opt-out duty applies under other privacy laws.

Organizations choosing a CMP usually compare a hosted service such as Cookiebot with enterprise platforms and with self-built banners. The table summarizes the typical differences, which vary by plan and version.

AspectCookiebotEnterprise CMP such as OneTrustSelf-built banner
Target userSmall and mid-sized websitesLarge organizations with many propertiesTeams with in-house developers
Cookie scanningIncluded, scheduled crawlerIncluded, with broader governance toolsMust be built or bought separately
Consent logHosted and exportableHosted, integrated with privacy programsMust be designed and secured
Pricing modelBy number of subpagesCustom enterprise contractsDevelopment and maintenance cost
Setup effortLowMedium to highHigh
Consent management approaches compared

Cookiebot is a Google-certified CMP for advertising products that require consent signals in the European Economic Area, and it is registered for the IAB Transparency and Consent Framework. These certifications matter mainly to publishers that run programmatic advertising, where a missing or invalid signal can reduce ad revenue.

Limitations and common configuration mistakes

A CMP controls only what runs through the browser. Server-side tracking, trackers loaded behind a login and scripts that execute before the Cookiebot script cannot be detected or blocked reliably, and the crawler may miss pages that are not linked publicly. Automatic blocking can also delay page rendering and disable features such as maps or video embeds that visitors expect.

ProblemLikely causeFix
Trackers fire before consentScript placed below other tagsLoad Cookiebot first in the page head
Many unclassified cookiesNew or custom scriptsAssign categories manually in the dashboard
Embedded videos disappearAutomatic blocking of marketing contentUse placeholders or manual blocking
No reject button on first layerBanner template choiceEnable an equal reject all option
Analytics data drops sharplyConsent rate lower than expectedUse Consent Mode and review banner wording
Typical problems and how to fix them

A frequent misconception is that installing Cookiebot makes a website automatically compliant. The tool supplies the mechanism, but legal teams still need to verify categories, banner wording and the cookie policy, and to test periodically that no marketing cookie is set before consent.

Explained without jargon

Many websites use small files and scripts that remember visitors or follow them for advertising. European rules say that most of these need permission first. Cookiebot is a ready-made service that asks for that permission and makes sure the website respects the answer.

Think of it as a doorman for a website. It checks which tracking tools want to come in, keeps them waiting until the visitor says yes, and writes down every answer in a logbook. The website owner still decides the house rules, but the doorman makes them visible and enforceable.

A typical use case

An online bookstore in the Netherlands with about 900 pages uses analytics, a chat widget and advertising pixels. A privacy review finds that two marketing pixels load before visitors make any choice. The shop installs Cookiebot as the first script in the page head, runs an initial scan and reviews 14 unclassified items, assigning each to statistics or marketing.

The team enables a first-layer banner with accept all, reject all and settings buttons of equal size, connects Google Consent Mode, and embeds the generated cookie declaration in its cookie policy. A follow-up test in a clean browser confirms that no marketing cookies are set before consent. When a customer later asks what was agreed to, support finds the record by its consent ID within minutes, giving the shop auditable proof of consent.