This module integrates Odoo website with Cookiebot, to ask for consent before installing cookies on users' browsers.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Connect your Odoo website to Cookiebot so visitors are asked for cookie consent before tracking scripts run. You enter your Cookiebot Domain Group ID in Website settings and a Cookies Policy page is added.
This module adds a Cookiebot option to your website settings. When enabled, you paste your Cookiebot Domain Group ID and the Cookiebot consent script is loaded on every public page of your website, before other scripts, so visitors can accept or refuse cookies.
- In Website settings, a new Cookiebot setting appears next to the standard cookie bar option. Turning Cookiebot on automatically turns the standard cookie bar off, and turning the standard cookie bar on turns Cookiebot off, so you cannot use both at the same time.
- The Domain Group ID field is required when Cookiebot is enabled.
- Google Analytics tracking code is changed to a non-executing type and marked for statistics consent, so it only runs after the visitor agrees.
- A Cookies Policy page is created at /legal/cookies-policy and a link to it is added in the website footer copyright area.
- The Cookie Declaration script from Cookiebot is embedded on that Cookies Policy page.
All of this is controlled per website through the website model fields cookiebot_enabled and cookiebot_dgid, which are also editable from the settings screen.
Depends on
Models and fields (2)
- website · extends an existing modelcookiebot_dgid (Cookiebot Domain Group ID), cookiebot_enabled
- res.config.settings · extends an existing modelcookiebot_dgid (Domain Group ID), cookiebot_enabled (Cookiebot)
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 5 confirmed, 4 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/website.
terminal Installation and usage
OCA documentation · Odoo 18.0Configuration
Source · Odoo 18.0To configure this module, you need to:
- Go to Website \> Configuration \> Settings
- Under Select the Website to Configure, choose a website.
- In the privacy section enable Cookiebot option.
- Click on How to configure Cookiebot \.
- Follow the instructions, except step 3 (do not insert the
<script>tags, the module will do it for you). - Fill in your Domain Group ID (e.g.
00000000-0000-0000-0000-000000000000) - Click on the Save button.
⚠️ This module will do nothing unless configured and linked with Cookiebot.
Usage
Source · Odoo 18.0To use this module, once configured for your website, you just need to browse that website. You will see the Cookiebot consent banner, and a Cookies Policy link in the footer.
Remember that, if your browser is configured to block 3rd party cookies, trackers or consent banners, you won't notice the change. Disable any of those protections to experiment the benefits.
No verified information in OCA: Installation.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.