Tutorial

Complete these 3 steps to enable the Consent Banner on your website:

Sign up to create an account. In the Cookiebot manager enter the text you want to show to your website visitors or use the default text applied. Add domain names for the websites where you want to use Cookiebot.

Copy the consent dialog script code from the manager to the header of your website template(s):

To enable prior consent, apply the attribute "data-cookieconsent" to cookie-setting script tags on your website. Set the comma-separated value to one or more of the cookie categories "preferences", "statistics" and "marketing" in accordance with the types of cookies being set by each script. Finally change the attribute "type" from "text/javascript" to "text/plain". Example on modifying an existing Google Analytics Universal script tag:

If your website is loading scripts dynamically, use the functions of the Cookiebot API for full control.

Complete this step to show the Cookie Declaration in full on a subpage:

To show the cookie declaration on your website (in a new page or e.g. as part of your privacy policy), copy the cookie declaration script code from the Cookiebot manager into your subpage HTML at the position where you want the declaration to show:

The final declaration will be shown as embedded content in your own website. The content is automatically formatted with your website's overall style sheet definitions (CSS), including fonts and colors.