Set up Cookiebot¶
This article describes how to implement Cookiebot CMP on your website. While following the steps, you will configure the following:
-
Cookie banner: the banner that allows visitors to select the cookies they accept.
-
Privacy trigger: allows visitors to withdraw or change their consent at any time – as required under e.g. GDPR.
-
Cookie declaration (optional): The standard Cookie Declaration lists all cookies and trackers discovered on your website and allows the user also to withdraw (or change) a consent at any time – as required under e.g. GDPR.
To set up these components, follow these steps:
- Log in to your account.
- Add your website domain name(s) and save. Within 24 hours, Cookiebot will scan your website.
- Configure the consent banner and privacy trigger you want to display on your website:
- Choose the layout for the banner under Settings - Dialog.
- Configure the provacy trigger appearance under Privacy Trigger.
- Edit the default banner and privacy trigger text under Settings - Content.
- Insert the scripts on your website to make the banner and the privacy trigger appear:
- Go to Settings - Your scripts.
- Copy the top script and insert it as the very first script within the HEAD-tag of your website. Inserting it as the very first script ensures that no cookies or trackers escape our automatic cookie blocking. This script will guarantee that the banner is shown for consent collection and the Privacy Trigger is shown for consent changes and withdrawal. Example:
<html> <head> <script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="00000000-0000-0000-0000-000000000000" type="text/javascript" data-blockingmode="auto"></script> </head> <body> ... </body> </html>
- Optional: To add the cookie declaration to your website, copy the second script and insert it in the HTML on the specific page and at the exact position where you would like the cookie declaration to appear. This could be as a separate page on your website or embedded into an existing privacy policy. Example:
<html> ... <body> <h1>Cookie Declaration</h1> <script id="CookieDeclaration" src="https://consent.cookiebot.com/00000000-0000-0000-0000-000000000000/cd.js" type="text/javascript" async></script> </body> </html>
- When the website scan is complete, check your scan report. If there are any unclassified cookies, log in to your account and under Cookies classify them and add a short purpose description. This classification helps ensure that all cookies and trackers on your website (except for ‘strictly necessary’ cookies) will automatically be blocked until a user has given consent. Only those categories of cookies the user has consented to will be activated upon consent. All other cookies will be held back automatically.