Download the free Cookiebot CMP plugin for WordPress
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)
- IAB's Transparency and Consent Framework (optional)
- Georegion specific banner setup (optional)
Create and setup your Cookiebot account
Create your own Cookiebot account by visiting our signup page. If you already have a Cookiebot account you can immediately proceed to the "Connect your domain group" step.
Please note
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-address, omitting the "http://" or "https://" part.
- Confirm by clicking the Add domain button.
A scan of the website will start immediately after adding it. The scan should complete within 24 hours. The scan report with the results will be delivered to your email./p
You can also find an overview of all cookies detected during the scan under the Cookies & Reportssection.
-
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 languages, and adding geo-location specific banner configuration.
Connect your domain group
For authentication purposes you'll need to find your Domain group ID.
You can find it by following these simple steps:
- Open the Cookiebot Admin and ensure you have selected the Domain Group your website is added to. If you only have a single Domain Group, this will always be the case.
- Select Implementation in the main menu.
- Below the text field containing the Cookiebot CMP script tag you should see the Implementation guides section, here should see your Domain group ID. It will have a value that looks similar to 00000000-0000-0000-0000-000000000000 (the 0's will be hexadecimals though).
Copy the Domain group ID by clicking on theicon, you will need this later.
- Open the Cookiebot CMP plugin in your WordPress environment.
- Select Settings from the main 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.
Implementation complete
By completing this step you've successfully implemented Cookiebot CMP on your WordPress website.
The rest of this guide continues to describe optional advanced configurations, these are not required for all users.
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.
- Select Settings in the main menu and navigate to the Google Tag Manager tab.
- Enable the Google Tag Manager toggle.
- Enter your your GTM container ID in the filed labeled Google Tag Manager ID. The container ID will look similar to this: "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 leave this field empty.
See Google's own documentation on How to find the Data Layer Name?
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
- Select Settings in the main menu and navigate to the Google Consent Mode tab.
- Enable the toggle to enable Google Consent Mode (on by default).
- Save your settings using the Save Changes button.
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
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.
IAB's Transparency and Consent Framework (TCF) (optional)
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.
Georegion specific banner setup (optional)
Please note
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.
Important
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!
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.