Overview
The solution comes with the Google Consent Mode extension to update the visitors' cookie consents by sending requests to Google via the gtag.js script.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
|---|---|
| Compatibility |
Community
Enterprise
|
| Technical Name | website_cookies_consent_banner |
| Version | 19.0.1.1.3 |
| License | OPL-1 |
| Category | |
| Support | Free 60 days support and 360 days bug-fixing |
Use Case
Jorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero et velit interdum, ac aliquet odio mattis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.
Forem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero et velit interdum, ac aliquet odio mattis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.
Dorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero et velit interdum, ac aliquet odio mattis.
It is a long established fact that a reader will be distracted by the readable content of a page
Korem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero et velit interdum, ac aliquet odio mattis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.
Korem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero et velit interdum, ac aliquet odio mattis.
Odoo App Installation
Upload modules
Upload modules from the ZIP archive to your Odoo hosting, or a GitHub repository connected there.
Place the unzipped modules in your custom add-on directory and restart the Odoo system service.
Update App List
After restarting, activate the Developer Mode, and go to the Apps menu.
Click on Update Apps List to fetch the new modules in the list.
Activate the App
Install the new module, finding it by name and clicking on the Activate button.
* If you don't see the module, try to remove the default Apps filter from the search bar.
Configuration
Follow the instructions in the module description to complete the installation process and start using the app.
Manual
Description and Activation
Once installed, this module extends the default Odoo cookie bar with a Customize button that opens a dedicated preferences banner. This banner allows your website visitors to select their allowed cookie types, automatically updating Google Consent Mode values accordingly.
Cookie Banner Activation
To activate the cookie banner, navigate to your website settings, find the Tracking and SEO section, and set the Consent Manager option to Odoo Cookie Bar
Google Consent Mode
The Odoo Cookie Consent Banner module includes the Odoo Google Consent Mode integration, allowing you to manage Google consent types directly within Odoo.
It supports Google Consent Mode v2 parameters in accordance with the official Google documentation (https://support.google.com/tagmanager/answer/13695607):
ad_user_data— sets consent for sending user data to Google for advertising purposesad_personalization— sets consent for personalized advertising
Consent Types and Parameters
The module maps Odoo cookie types to Google Consent Mode parameters as follows:
| Odoo Cookie Type | Google Consent Mode Parameters |
|---|---|
| Essential | security_storage |
| Functionality | functionality_storage, personalization_storage |
| Analytics | analytics_storage |
| Marketing | ad_storage, ad_user_data (Google Consent Mode V2), ad_personalization (Google Consent Mode V2) |
Odoo Cookie Banner
Your website visitors can grant all cookie types by clicking the Allow all button or refuse all non-essential cookies by selecting Only Essentials.
To choose which cookies to allow, visitors can click Customize. This opens the banner where they can toggle specific cookie types.
Once a visitor saves their personalized cookie choices, a dedicated cookie icon appears in the bottom corner of all webpages. Clicking this icon allows users to change their cookie preferences at any time.
Banner Configuration
The Odoo cookie banner is customizable directly from the backend user interface, eliminating the need for custom web development.
How to Configure the Cookie Banner
Activate Developer Mode, navigate to Website — Configuration — Websites, and select your website. Under the Cookies Banner tab, the following configuration sections are available:
- Cookie Types
- Cookie Bar
- Cookie Banner
- Cookie Icon
- Buttons
Cookie Types Settings
The purpose of the Cookie Types section is to set default values, deactivate, or make certain cookie types mandatory.
Cookie Bar Settings
Settings in the Cookie Bar section allow you to customize the main message displayed on the Odoo cookie bar and update the URL link for your Cookie Policy.
Cookie Banner Settings
Specify a custom title and detailed description for the banner in the Cookie Banner section.
Cookie Buttons Settings
The Buttons section allows you to customize the text of the buttons displayed on both the cookie bar and the cookies banner
Cookie Icon Settings
Depending on your website's theme and style, customize the floating cookie icon using the following options:
- Image — upload a custom image for the cookie banner icon. To dynamically adjust its color, use SVG format.
- Color — choose the color of the cookie icon (works only with SVG images).
- Size — set the icon size in pixels.
- Position — choose whether to place the icon in the bottom-left or bottom-right corner of the webpage.
- Margins (Bottom, Left/Right) — adjust the distance from the bottom and side edges of the screen in pixels.
Changelog
16.0.1.1.1 2025-06-04
- Fix the cookie bar view on changing via Odoo website editor.
16.0.1.1.0 2024-09-30
- Improve the cookie banner icon template.
16.0.1.0.2 2024-07-11
- Add a specific width value for the cookie banner icon.
16.0.1.0.1 2024-04-10
16.0.1.0.0 2024-01-19
- Init version.
17.0.1.1.2 2026-04-21
- Add warning alert to website model form when not all neccessary cookie types are specified.
17.0.1.1.1 2025-01-21
- Fix the Cookie Bar view changing via Odoo Website Editor.
17.0.1.1.0 2024-09-30
- Improve the cookie banner icon template.
17.0.1.0.0 2024-04-22
- Migration from 16.0.
15.0.1.0.0 2024-04-16
- Migration from 16.0.
14.0.1.0.0 2024-08-13
- Migration from 15.0.
18.0.1.1.3 2026-04-21
- Add warning alert to website model form when not all neccessary cookie types are specified.
18.0.1.1.2 2026-04-01
- Improve mapping for Google consent types when the Optional cookie is added.
18.0.1.1.1 2026-03-04
- Add setting of the standard Odoo "optional" cookie when "analytics" or "marketing" cookies are allowed with the cookie banner. That is requred to track UTM parameters by the standard Odoo logic.
18.0.1.1.0 2026-01-20
- Add an option to specify the default value for cookie types.
18.0.1.0.1 2025-01-21
- Fix the Cookie Bar view changing via Odoo Website Editor.
18.0.1.0.0 2024-10-08
- Migration from 17.0.
19.0.1.1.3 2026-04-21
- Add warning alert to website model form when not all neccessary cookie types are specified.
19.0.1.1.2 2026-04-01
- Improve mapping for Google consent types when the Optional cookie is added.
19.0.1.1.1 2026-03-04
- Add setting of the standard Odoo "optional" cookie when "analytics" or "marketing" cookies are allowed with the cookie banner. That is requred to track UTM parameters by the standard Odoo logic.
19.0.1.1.0 2026-01-20
- Add an option to specify the default value for cookie types.
19.0.1.0.0 2025-09-22
- Migration from 18.0.