Skip to main content
All CollectionsWebsite Builder
Connect Cookiebot to your website builder
Connect Cookiebot to your website builder
Updated over a month ago

Connect Cookiebot to your website builder

Add a cookie consent banner to your website by connecting Cookiebot to your website builder. This ensures your website protects guest privacy and complies with EU data protection rules.

To connect Cookiebot using your website builder, you'll need a:

Set up your Cookiebot account

  1. Go to Cookiebot and create a free account or log in.

  2. Add your website's domain name (for example: yourdomainname.com.au).

Adding your domain name in the Cookiebot platform.
  1. Go to Your scripts tab and note down your Domain Group ID - you'll need this in the next steps.

Set up your Google Tag Manager account

  1. Go to Google Tag Manager and create a free account or log in.

  2. Select Web as the Target platform.

  3. Enter your account details.

  4. Enter your website's domain name as the Container name.

  5. Click Create and accept the Terms and Conditions.

Adding a new account in Google Tag Manager by entering the Account Name, Container Name, and Target platform.

Add Cookiebot CMP in Google Tag Manager

  1. In your Google Tag Manager platform, go to Templates > Tag templates > Search gallery.

  2. Search for "Cookiebot CMP" and click Add to workspace > Add.

In the Google Tag Manager Template Editor, adding the Cookiebot CMP community tag template.
  1. Then, go to Tags > New > Tag configuration.

  2. Select Cookiebot CMP.

Adding the Cookiebot CMP tag through the Tag configuration page in Google Tag Manager.
  1. Enter your Domain Group ID from Cookiebot.

  2. Choose Consent initialization - All pages as your trigger.

  3. Name your tag "Cookiebot".

  4. Click Save.

Add consent checks in Google Tag Manager

This step is needed for tags without built-in consent checks, or if you want to add extra consent checks to tags.

  1. In Google Tag Manager, go to Tags > New > Trigger Configuration.

  2. Add the Trigger Type as Custom event.

  3. For the Event Name, enter "cookie_consent_update".

  4. For This trigger fires on, select All custom events.

  5. Update any existing tags by replacing the current trigger (like All Pages) with your new trigger.

In the Trigger configuration, adding 'cookie_consent_update' to the 'Event name' field.
In the Trigger configuration, configuring: Consent settings > Additional consent checks to 'Require additional consent for tag to fire' and then entering 'ad_storage' into this field.

Set up Google Tag Manager as a widget

  1. In Google Tag Manager, follow these instructions to install Google Tag Manager on a webpage by copying code into your website.

  2. In your website builder, go to Advanced settings > Third-party widget.

  3. Paste the code.

Pasting the code from Google Tag Manager into the website builder's 'Third-party widget' tab.
  1. Save your changes (don't publish yet).

⚠️ Important for GDPR compliance:

  • Your Third-party widget page must contain only the Google Tag Manager code.

  • Create a custom tag in Google Tag Manager for any additional scripts you need.

Add a Cookie declaration in your website builder

  1. In your website builder, go to Website pages.

  2. Create a new "Cookie Declaration" page.

  3. Click its ellipsis button (...) > Hide to remove it from the main navigation.

Clicking 'Hide' on the new 'Cookie declaration' page created.
Clicking 'Add HTML Section' within the new 'Cookie declaration' page. Note: Only click once, then scroll back up.
  1. Add this code (replace DOMAIN_GROUP_ID with your Cookiebot ID):

  2. Save the page.

Add the cookie declaration to your footer

  1. Go to Manage themes > Footer.

  2. Click the add (+) button in a footer section.

  3. Select your Cookie Declaration page.

  4. Save your changes.

On the Footer Manager page, adding the 'Cookie Declaration' footer.
A preview of the new 'Cookie Declaration' footer displaying on a website.

Publish your changes

In Google Tag Manager:

The 'Submit' button in the Google Tag Manager.
  1. Select Publish and create version.

  1. Name your version, for example "Added Cookiebot".

  2. Click Publish.

In your website builder:

  1. Click Publish changes.

  2. Check your website in a few minutes — you should see the cookie consent banner for new visitors.

Did this answer your question?