Cookie Consent Manager - GDPR Cookie Banner, Google Consent Mode v2 and Consent Log
by Modvanta https://modvantaapps.tech/$ 10.97

Cookie Consent Manager for Odoo 19
The Odoo cookies bar has two buttons: essentials or everything. That is not enough for GDPR or for Google Consent Mode v2. This module replaces it with a real cookie banner: categories the visitor can pick, scripts that wait for a yes, Consent Mode per type, and a log you can point to when someone asks.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Six things the Odoo cookies bar cannot do.
Four categories, your wording Necessary, preferences, statistics and marketing come ready. Rename them, write your own descriptions, add a category for chat or video if you need one. | Scripts wait for a yes A tag in a category does not run until the visitor accepts that category. Paste the script into a service, or tag it type="text/plain" data-mdv-consent="statistics" in a page. | Consent Mode v2 done properly Defaults are sent before any Google tag, one update after each choice, per type. Statistics only means analytics_storage granted and ad_storage still denied. |
Proof you can show Every choice is logged with a consent ID, the date, the policy version and the categories. The IP is stored only as a salted hash, never the address. | Ask again when the policy changes One button raises the policy version. Every visitor sees the banner again on the next page, with a short line saying the policy changed. | Odoo blocking keeps working Odoo already blocks YouTube, maps and third-party domains until consent. The banner keeps that, and lifts it when the category you pick is accepted. |
Who it is for
Shops selling into the EU and UK You run Google Ads or Meta ads and Google now expects Consent Mode v2 signals before it uses the data. | Sites with analytics and embeds Analytics, a chat widget, YouTube videos. Each one should wait for its own category, not for one big "I agree". | Anyone asked for proof A customer, a lawyer or an authority asks what was agreed and when. You search the consent ID and show the line. |
Key features
Every screenshot below was taken on a clean Odoo 19 database with this module installed.
The box layout on the demo homepage. Accept all, Reject all and Customize are all one click away, and nothing optional has run yet.

Each category lists its services, their cookies, how long they last and a link to the provider policy. Necessary is always on and cannot be switched off.

After a choice, a small cookie button stays in the corner and a Cookie preferences link is added to the footer. Both open the panel again.
Layout, colours, every text and the policy link. Texts are translatable, so each language of the website gets its own wording.

wait_for_update, ads_data_redaction, url_passthrough and different defaults per country or region. Here visitors from the United States start as granted while everyone else starts as denied.

Tick which Google consent types a category grants. Marketing grants ad_storage, ad_user_data and ad_personalization out of the box.

Search by consent ID when someone asks what they agreed to. Group by day, choice or policy version, or switch to the graph to see how many people accept.

The same visitor after the policy version went from 1 to 2. Their old choice no longer counts and the banner says why it is back.

Full-width bar at the bottom with dark colours. There is also a bar at the top, a box on the right and a centred dialog that can dim the page.

How it works
About ten minutes from install to a working banner.
1 Install and switch it on Website -> Configuration -> Cookie Consent -> Banner Setup. Tick "Show the consent banner". The Odoo cookies bar setting is switched on for you because its blocking is reused. | 2 List your services Add Google Analytics, Meta Pixel, Hotjar or whatever you use under Services, with its cookies. Paste its script there if you want the banner to load it after consent. | 3 Check the page Open the website in a private window. You get the banner, the Consent Mode defaults are already in the dataLayer, and the first choice appears in the consent log. |
Settings worth knowing
| Ask again after (days) | 365 by default. Set 0 to keep a choice until the policy version changes. |
| Odoo's own blocking lifts with | Marketing by default. Embedded videos, maps and UTM cookies wait for it. |
| Reload when consent is withdrawn | On by default, since a script that already ran cannot be unloaded. |
| Keep log entries (days) | 730 by default. A nightly job deletes older entries. |
| Floating icon | Left or right, size, distance from the edges, your own image if you like. |
| Show a Reject all button | On by default. Most EU regulators want refusing to be as easy as accepting. |
FAQ
Compatibility
Odoo 19 Community and Enterprise, on-premise and Odoo.sh. Depends only on the Website app. | Languages Every visitor-facing text is a translatable field, and a .pot file is included. | Tested 30 automated tests, including headless-browser runs of the banner and a run together with our Google Tag Manager module. |
Replace the two-button cookie bar
One payment, the module is yours. Questions before you buy are welcome.
EMAIL modvantaapps@gmail.com | AUTHOR Modvanta | INCLUDED Banner, Consent Mode, consent log, bug fixes |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Website (website)
• Discuss (mail) |
| Lines of code | 1898 |
| Technical Name |
mdv_cookie_consent_manager |
| License | OPL-1 |
| Website | https://modvantaapps.tech/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module