Select your interface:
You are currently viewing instructions for the: Admin
The easiest way to implement Cookiebot CMP on your WordPress website is by installing our plugin.
Download the Cookiebot CMP plugin for WordPress
Download now
Want to install Cookiebot CMP without the plugin?
Follow the manual installation guide.
Once you have downloaded the plugin, follow the installation steps:
- Create and setup your Cookiebot account
- Connect your domain group
- Connecting your GTM account (optional)
- Google Consent Mode (optional)
- Multiple banner setup (optional)
1. Create and setup your Cookiebot account
Create your own Cookiebot account by visiting our signup page.
All Cookiebot accounts start off as Free plans. If you have a single domain with fewer than 50 pages, you can stay on our
Free plan indefinitely. If you add additional domains, or if your single domain has more than 50 pages, your subscription will be converted to the
14-days-Trial plan. During the trial you have the opportunity to test out Premium functionalities free of charge. Upgrading to a
Premium plan can be done by adding payment details (credit card or PayPal) to your account.
-
Add your domain(s)
- Open "Settings" → "Domains" in your Cookiebot account
-
Click the button and add your domain names without http:// or https://
- Click the "save" button
A scan of the website will start immediately and should complete within 24 hours.
The scan report will be delivered to you via email and can be found in the "Reports" section of the Manager. Additionally, you can find an overview of all cookies detected in the "Cookies" section of the Manager.
-
Set up your banner configuration
Decide what you banner should look like and what it should say. Check out our guides on how to style your banner, edit the content and set languages and add geo-locations.
Also see our guides on how to setup your banner according to European GDPR and/or California's CCPA.
2. Connect your domain group
To find your CBID or Domain Group ID follow these simple steps:
- Navigate to "Settings" and select the domain group you wish to find the ID for.
- Select the "Your scripts" tab
- The Domain Group ID can be copied into any integration that requires it. Please ensure you include the full ID string when copy/pasting.
Please note that the CBID or Domain group ID is not a secret key, it is an identifier used to match the right configuration to your domains. It will be publicly available in your source code on your website. This is as intended.
- Open the Cookiebot CMP plugin in your WordPress environment
- Go to "Settings" → "General settings" and paste the Domain Group ID
- Save your settings
3. Connecting your Google Tag Manager account (optional)
To greatly simplify implementation, and to ensure that scripts load in the correct order, and using the correct settings, you can now add Google Tag Manager with Consent mode enabled using the Cookiebot WordPress plugin.
First things first:
-
-
- Ensure that you have version 4.3 of the Cookiebot WordPress plugin
- Ensure you've already created a Google Tag Manager account, and have a container ID
- Figure out if you need to rename GTM's dataLayer. If you don't know what that means, you can probably just use the default "dataLayer"
- Avoid implementing Cookiebot multiple times, by ensuring that you don't load Cookiebot using the Cookiebot CMP tag in Google Tag Manager.
If you're unsure:
- click the Tags menu item in GTM
- Check if Cookiebot CMP is listed
- If it is, ensure that there is nothing under Firing Triggers.
- Pause or remove the tag, or remove its trigger to ensure it won't load.
- Remember to publish your changes if you made any.
- Open the Cookiebot CMP plugin in your WordPress environment
- Open "Settings" → "Google tag manager"
- Enable the GTM toggle
- Add your Google Tag Manager ID or container ID, formatted as "GTM-XXXXXX".
See Google's own documentation on How to find the GTM ID?
- Add the Data Layer Name (optional). If you haven't renamed your GTM data layer, you can probably just use the default "dataLayer". See Google's own documentation on How to find the Data Layer Name?
4. Google Consent Mode
About Google Consent Mode
Google Consent mode allows you to adjust how your Google tags behave, based on the consent status of your users. You can indicate that consent hasn't been granted yet for analytics and ads cookies prior consent. Google's tags will dynamically adapt, only utilizing cookies after consent has been given by the user.
You can read more about Google Consent mode in Google's support article.
Currently the following Google products have Built-In Consent Checks:
Implementing Google Consent Mode
Google Consent mode is automatically enabled in the settings of your Cookiebot CMP WordPress.
If you would like to disable/enable this:
- Open the Cookiebot CMP plugin in your WordPress environment
- Open "Settings" > "Google Consent Mode"
- Disable/enable the toggle
- Save your settings
You can now safely use the All pages trigger for the tags mentioned above, without needing to add Cookiebot triggers or conditions to prevent cookies from being set prior consent.
Please note that you still need to use Cookiebot triggers and/or conditions for tags that don't support Google Consent mode as described here: Google Tag Manager deployment.
TCF2.0 enabled:
If you've enabled both GTM and the IAB framework using the Cookiebot CMP WordPress plugin (Under "Settings" → "IAB"), the following line of code will be added above the Google Tag Manager snippet on all pages:
window ['gtag_enable_tcf_support'] = true;
This will enable TCF support in Google Tag Manager, further ensuring that your visitors' consent preferences are honored.
5. Multiple banner setup (optional)
This feature is exclusively available for Premium subscriptions since multiple domain groups are required.
See more about our Premium subscriptions
here.
If you wish to display different banners, with different configurations for visitors from specific countries or regions, you need to start by configuring your domain groups in your Cookiebot CMP account. An additional domain group is needed for each alternative banner configuration. These additional domain groups will serve as alternative configurations in terms of banner template, behavior, functionality, styling and content.
No changes to your existing domain groups, or their configuration are required.
Only the primary Domain Group should contain the domain. This is will be where the consent log, scans, cookie classifications and reporting are maintained.
If the domain is added to any the additional Domain Groups you may be add charged for scans of the same domain.
In your Cookiebot CMP account:
- Create a new domain group by clicking the button in the top right corner
- Add the domain group name (example: CCPA) and click "OK"
- Leave the domain group empty (=do not add any domain names), as seen in the screenshot below
- Navigate to "Settings" > "Dialog" and add the desired banner configurations
1. Create and setup your Cookiebot account
Create your own Cookiebot account by visiting our signup page.
All Cookiebot
CMP accounts start off as a 14-day free trial. If you have a single domain with fewer than 50 pages, you will be given the choice between a Premium- or a free subscription with limited functionality. If you add additional domains, or if your single domain has more than 50 pages, you will no longer be eligible for the free subscription. Upgrading to a Premium subscription can be done by adding payment details (credit card or PayPal) to your account.
When you have created a Cookiebot CMP account you can start with the actual set-up and implementation.
-
Add your domain(s)
- Select "Domains & Aliases" from the menu on the left-hand side.
- Click the "+ Add domain" button to open a small dialog.
- Enter your web-adresse, omitting the http:// or https:// part (the www. is optional).
-
Click the "Add domain" button.
A scan of the website will start immediately after adding it and should complete within 24 hours.
The scan report with the results will be delivered to you via email.
You can find an overview of all cookies detected during the scan under the "Cookies & Reports" section.
-
Set up your banner configuration
Decide what you banner should look like and what it should say. Check out our guides on how to style your banner, edit the content and set languages and add geo-locations.
2. Connect your domain group
To find your CBID (Domain Group serial) these simple steps:
- Ensure you have selected the Domain Group your website is part of.
If you only have a single Domain Group, you can disregard this step.
- Select "Script Embeds".
- In the text field containing the Cookiebot CMP script tag you should see the "data-cbid" attribute with a value similar to this 00000000-0000-0000-0000-000000000000 (the 0's will be hexadecimal values).
Select and copy this value, you will need this later.
The CBID or Domain group ID is not a secret key, it is an identifier used to match the right configuration to your domains. It will be publicly available in your source code on your website.
- Open the Cookiebot CMP plugin in your WordPress environment.
- Select "Settings" from the left-hand menu.
- Select the "General settings" tab and paste the Domain Group ID in the field labelled "Add your Domain Group ID"
- Save your settings by clicking the "Save Changes button
3. Connecting your Google Tag Manager account (optional)
To greatly simplify implementation, and to ensure that scripts load in the correct order, and using the correct settings, you can now add Google Tag Manager with Consent mode enabled using the Cookiebot WordPress plugin.
First things first:
-
-
- Ensure that you have version 4.2.0 of the Cookiebot WordPress plugin or higher
- Ensure you've already created a Google Tag Manager account, and have a container ID
- Figure out if you need to rename GTM's dataLayer.
- Avoid implementing Cookiebot multiple times, by ensuring that you don't load Cookiebot using the Cookiebot CMP tag in Google Tag Manager.
If you're unsure:
- click the Tag's menu item in GTM
- Check if Cookiebot CMP is listed
- If it is, ensure that there is nothing under Firing Triggers.
- Pause or remove the tag, or remove its trigger to ensure it won't load.
- Remember to publish your changes if you made any.
- Open the Cookiebot CMP plugin in your WordPress environment
- Open "Settings" → "Google tag manager"
- Enable the GTM toggle
- Add your Google Tag Manager ID or container ID, formatted as "GTM-XXXXXX".
See Google's own documentation on How to find the GTM ID?
- Add the Data Layer Name (optional). If you haven't renamed your GTM data layer, you can probably just use the default "dataLayer". See Google's own documentation on How to find the Data Layer Name?
4. Google Consent Mode
About Google Consent Mode
Google Consent mode allows you to adjust how your Google tags behave, based on the consent status of your users. You can indicate that consent hasn't been granted yet for analytics and ads cookies prior consent. Google's tags will dynamically adapt, only utilizing cookies after consent has been given by the user.
You can read more about Google Consent mode in Google's support article.
Currently the following Google products have Built-In Consent Checks:
Implementing Google Consent Mode
Google Consent mode is automatically enabled in the settings of your Cookiebot CMP WordPress.
If you would like to disable/enable this:
- Open the Cookiebot CMP plugin in your WordPress environment
- Open "Settings" > "Google Consent Mode"
- Disable/enable the toggle
- Save your settings
You can now safely use the All pages trigger for the tags mentioned above, without needing to add Cookiebot triggers or conditions to prevent cookies from being set prior consent.
You still need to use Cookiebot triggers and/or conditions for tags that don't support Google Consent mode as described here:
Google Tag Manager deployment.
TCF2.0 enabled:
If you've enabled both GTM and the IAB framework using the Cookiebot CMP WordPress plugin (Under "Settings" → "IAB"), the following line of code will be added above the Google Tag Manager snippet on all pages:
window ['gtag_enable_tcf_support'] = true;
This will enable TCF support in Google Tag Manager, further ensuring that your visitors' consent preferences are honored.
5. Multiple banner setup (optional)
This feature is exclusively available for Premium subscriptions since multiple domain groups are required.
See more about our Premium subscriptions
here.
If you wish to display different banners, with different configurations for visitors from specific countries or regions, you need to start by configuring your domain groups in your Cookiebot CMP account. An additional domain group is needed for each alternative banner configuration. These additional domain groups will serve as alternative configurations in terms of banner template, behavior, functionality, styling and content.
No changes to your existing domain groups, or their configuration are required.
Do
not add any domains to these Domain Groups! Only the primary Domain Group should contain the domain. This is will be where the consent log, scans, cookie classifications and reporting are maintained.
If the domain is added to any the additional Domain Groups you may be add charged for scans of the same domain.
In your Cookiebot CMP account:
- Create a new domain group by selecting "Domains & Aliases in the left-hand menu.
- Click "Manage your domain groups"
- Click the "+ Create Group" button to add a new domain group
Do not add any domains to this new domain group.
- When you have added the new domain group, configure the banner in the "Configuration" section.
In your WordPress environment:
- Open the Cookiebot CMP plugin
- Open "Settings" > "Multiple Configurations"
- Enable the toggle
- Add your main domain group ID and select the corresponding region(s)
- Add your secondary domain group ID and select the corresponding region(s)
- Save your new settings
If you have any WordPress related questions or run into difficulties, let us know and we will be happy to help you out!
Contact us
Comments
4 comments
Thanks for the detailed explanation :-) If there are Cookiebot users who need further support or want to customize their cookie banner? As a Cookiebot partner we love to help you. Visit the CookieInfo website www.cookieinfo.net for more info!
Hi.
This doesn't describe how to get the banner to display on the website.
The cookiebot website screenshots are out of date or at least my screen doesn't match
Is it possible to implement two different GTM IDs at the same page via your plugin?
Thank you for providing such a great information
Please sign in to leave a comment.