Switch to automatic cookie control mode
Automatic blocking of all first- and third-party cookies on your website until consent is given, is a unique feature from Cookiebot.
This guide explains how to switch to automatic cookie-control.
The script which is currently inserted in the header of your website to display the cookie banner looks like this:
<script id="CookieConsent" src="https://consent.cookiebot.com/uc.js" data-cbid="00000000-0000-0000-0000-000000000000" type="text/javascript" async></script>
Enable automatic cookie-control by editing the script. Remove the async attribute and add a data-blockingmode=”auto” attribute to the script:
<script id="CookieConsent" src="https://consent.cookiebot.com/uc.js" data-cbid="00000000-0000-0000-0000-000000000000" type="text/javascript" data-blockingmode="auto"></script>
Replace the zeroes with the cbid-number from the relevant domain group in your Cookiebot account. You can find it under the “Your scripts” tab under “Settings”.
Make sure the script is placed as the very first script on the website.
Cookies are now blocked, prior to consent and are controlled automatically based on what the website user has consented to.