Information & support > Knowledge base > Automatic cookie blocking >Laatst bijgewerkt opMarch 12, 2021This guide will show you how to enable the automatic cookie-control on a website that already uses Cookiebot with manual implementation of prior consent.The script which is currently inserted in the header of the 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>To enable the automatic cookie-control, the script needs a bit of editing: Remove the async attribute and add a data-blockingmode=”auto” attribute so that the script looks like this: <script id="CookieConsent" src="https://consent.cookiebot.com/uc.js" data-cbid="00000000-0000-0000-0000-000000000000" type="text/javascript" data-blockingmode="auto"></script> The zeroes are replaced with the cbid-number from the relevant domain group on your Cookiebot account (“Your scripts” tab under “Settings” menu point). Then, if this is not already the case, make sure that the script is placed as the very first script on the website. Cookies will now be blocked prior to consent and controlled automatically based on what the website user has consented to. 14 day free trial CookiebotCookie scanner, cookie banner, cookie declaration and cookie consent in one solution.Use cookies on your website compliant with GDPR, ePrivacy and cookie legislationCookie management completely automatedCookie banner based on your corporate identityAutomatic composed cookie declaration, always up to dateStart 14 day free trialThe Cookiebot solution runs on 2 million websites, manages 6.3 billion monthly User Consents and supports 47+ languages.Previous Facebook Twitter LinkedIn E-mailNext
Laatst bijgewerkt opMarch 12, 2021This guide will show you how to enable the automatic cookie-control on a website that already uses Cookiebot with manual implementation of prior consent.The script which is currently inserted in the header of the 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>To enable the automatic cookie-control, the script needs a bit of editing: Remove the async attribute and add a data-blockingmode=”auto” attribute so that the script looks like this: <script id="CookieConsent" src="https://consent.cookiebot.com/uc.js" data-cbid="00000000-0000-0000-0000-000000000000" type="text/javascript" data-blockingmode="auto"></script> The zeroes are replaced with the cbid-number from the relevant domain group on your Cookiebot account (“Your scripts” tab under “Settings” menu point). Then, if this is not already the case, make sure that the script is placed as the very first script on the website. Cookies will now be blocked prior to consent and controlled automatically based on what the website user has consented to.