Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Website
  3. Cookie Consent Manager - GDPR Cookie Banner, Google Consent Mode v2 and Consent Log v 19.0
  4. Sales Conditions FAQ

Cookie Consent Manager - GDPR Cookie Banner, Google Consent Mode v2 and Consent Log

by Modvanta https://modvantaapps.tech/
Odoo

$ 10.97

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
You bought this module and need support? Click here!
  • Description
  • Manifest
  • License
Cookie Consent Manager for Odoo 19
Odoo 19 CommunityOdoo 19 EnterpriseCookie categoriesGoogle Consent Mode v2Script blockingConsent logMulti-website

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.

Buy Now - $11Ask a Question

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.

1. First layer: the banner

The box layout on the demo homepage. Accept all, Reject all and Customize are all one click away, and nothing optional has run yet.

First layer: the banner
2. Second layer: one switch per category

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.

Second layer: one switch per category
3. Change your mind later

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.

Change your mind later
4. Banner setup per website

Layout, colours, every text and the policy link. Texts are translatable, so each language of the website gets its own wording.

Banner setup per website
5. Google Consent Mode v2 and Microsoft UET

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.

Google Consent Mode v2 and Microsoft UET
6. Category to Consent Mode mapping

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

Category to Consent Mode mapping
7. The consent log

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 consent log
8. Re-consent after a policy change

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.

Re-consent after a policy change
9. Other layouts

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.

Other layouts

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 withMarketing by default. Embedded videos, maps and UTM cookies wait for it.
Reload when consent is withdrawnOn 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 iconLeft or right, size, distance from the edges, your own image if you like.
Show a Reject all buttonOn by default. Most EU regulators want refusing to be as easy as accepting.

FAQ

Does it work with our Google Tag Manager module?
Yes, and you get one set of Consent Mode commands, not two. When you switch the banner on, it turns off the Consent Mode option of our Tag Manager module on that website and sends the defaults and updates itself. The container still loads the way you set it up. We test the two together: one default, one update per choice. If another of our tracking modules keeps sending Consent Mode, the banner stays quiet on Consent Mode and the setup page tells you so.
Do I need a Google tag on the site?
No. Without one, the banner still blocks scripts, keeps the log and handles Odoo's own blocking. If you set a Google Analytics key in the Odoo settings, its consent commands are replaced by the banner's.
What is stored about the visitor?
A random 32-character consent ID kept in their own cookie, the time, the categories, the policy version, the page path without the query string, the language and a salted hash of the IP. No IP address, name, e-mail or user agent. The log route accepts at most 30 entries per IP hash in 10 minutes.
Can I block a script I added through the website editor?
Yes. Change its type to text/plain and add data-mdv-consent="marketing" (or any category code). The banner runs it once that category is accepted. iframes work the same way with data-mdv-src.
Does it work with several websites?
Each website has its own setup, texts and log. Categories and services can be shared by all websites or belong to one website.

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.

Buy Now - $11Hire Me for Odoo Work
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
LicenseOPL-1
Websitehttps://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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with