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
    • Approvals
    • 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
    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. Odoo Google Consent Mode v 16.0
  4. Sales Conditions FAQ

Odoo Google Consent Mode

by Garazd Creation https://garazd.biz/shop/odoo-google-consent-mode-183
Odoo

$ 39.99

v 16.0 Third Party 378
Live Preview
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 14.0 15.0 16.0 17.0 18.0 19.0
You bought this module and need support? Click here!
Versions 14.0 15.0 16.0 17.0 18.0 19.0
  • Description
  • Manifest
  • License
Enterprise
Community

Odoo Google Consent Mode on your website

The Odoo Google Consent Mode module complements Google scripts, such as the Google Tag (gtag.js), used on the website for:

  • Google Ads
  • Google Analytics 4 (GA4)
  • Google Tag Manager (GTM)

The module provides settings to configure default cookie consent parameters. Define these parameter values for different geographic locations of website visitors. The module requires no code changes, as the Odoo interface provides all necessary settings. Configure and modify Google Consent Mode parameters directly in Odoo.

This module is compatible with the native Odoo Cookie Bar and integrates with third-party Consent Management Platforms (CMPs).

Easy & Simple

Easy to activate and configure

Multi

Multi-Website support

Support

Free 60 days support and 360 days bug-fixing

Try me

Demo & Test. Click on the "Live Preview" button

CONFIGURATION COOKIE BAR 3RD PARTY CMP RELATED APPS CONTACT US CHANGELOG

Configuration

After installation, configure the default Google cookie consent parameters to match target audiences across different countries and your specific Odoo websites.

Default Google Consents

The module adds a new Google Consent Mode setting to the website configuration under the Tracking and SEO section:

odoo website configuration settings google consent mode

To specify default values, open the Google consent list via the Default Google Consents link:

odoo website configuration settings google consent mode default

Use this list to add or modify default values for the following Google Consent Mode parameters:

odoo website google consent settings list
Consent Type Parameter v2 Description
Ad Storage ad_storage Enables storage, such as cookies, related to advertising.
Ad User Data ad_user_data ✓ Sets consent for sending user data related to advertising to Google.
Ad Personalization ad_personalization ✓ Sets consent for personalized advertising.
Analytics Storage analytics_storage Enables storage, such as cookies, related to analytics (e.g., visit duration).
Functionality Storage functionality_storage Enables storage that supports website or app functionality, such as language settings.
Personalization Storage personalization_storage Enables storage for personalization such as video recommendations.
Security Storage security_storage Enables security-related storage, such as authentication, fraud prevention, and other user protection capabilities.

Create a record and specify the default consent types:

odoo website google consent settings

Configure these additional parameters as needed:

  • Website: Use for multi-website environments in Odoo.
  • Regions: Set default consent configurations for specific geographic regions.
  • Wait for Update: Define the time in milliseconds to wait before sending data.

Additional Settings

The module provides two additional settings for websites:

odoo website configuration settings google consent mode options
  • Ads Data Redaction (ads_data_redaction): Enable to redact ad data when a visitor denies access to ad_storage.
  • URL Passthrough (url_passthrough): Enable to pass ad click information, client IDs, and session IDs through URL parameters.
For more details on these settings, review Google Guides: https://developers.google.com/tag-platform/security/guides/consent?consentmode=advanced.

Page Code Results

After configuration, the gtag.js script includes the specified parameters:

odoo google tag with consent defaults
This module includes Google Tag (gtag.js) and Google Tag Manager solutions, which function as prerequisites for Google Consent Mode. Reconfigure Google tags on the website to ensure correct operation.
fa cookie

Odoo Cookie Bar

The module integrates with the native Odoo Cookies Bar and updates the gtag script based on user consent for essential and optional cookies.

Activation

To configure the native cookie bar, select Odoo Cookie Bar as the Consent Manager:

odoo website configuration settings consent manager cookie bar
The Odoo Cookie Bar value links to the Cookies Bar option. Changing the Consent Manager value affects the Cookies Bar.

Odoo Cookie Types

The Odoo Cookies Bar offers two types of consent for using cookies:

odoo cookie bar
  • Essential: The module always sets these cookies because the website requires them for proper functionality. To allow only this type of cookie, the visitor must click Only Essentials.
  • Optional: These grant consent for other cookie types. The module enables optional cookies when the visitor clicks I Agree.

If website visitors grant consent for optional cookies, the gtag script provides all consent types and extends with an additional consent update directive on each web page:

odoo google tag with consent update

gtag('consent', 'update', {"security_storage": "granted", "functionality_storage": "granted", ... "ad_storage": "granted"});

fa up right from square

Third-Party CMP

To use the module with third-party Consent Management Platforms, set the Consent Manager parameter to None. In this case:

odoo website configuration settings consent manager none
  • The module adds only default Google consent values to the gtag script
  • The third-party platform manages consent for different cookie types

Related Modules

Facebook Pixel eCommerce

Improve your Odoo website analytics by Meta Pixel tracking, collect data to run Facebook Ad Campaigns

95.0 €
Google Analytics 4 eCommerce

Optimize your online store's performance with Odoo Google Analytics 4 eCommerce Tracking

110.0 €
Odoo Cookie Consent Banner

Configurable cookie banner to manage consent types on Odoo websites

95.0 €
Explore all modules

Garazd Creation

Team from Ukraine

Our Odoo Apps are solutions to promote products and enhance sales

Expands the capabilities of Odoo and provides the required functionality

Developed by experienced Odoo specialists in collaboration with marketing and SEO experts

12
years on the market

specialize in customized solutions for Odoo, where we are experts

29882
sales and downloads

made in the Odoo Apps Store

10
ranks in the TOP-10

popular solutions in Odoo Apps among 60,000 modules

Our Expertise

Official Odoo Partner

Active OCA Member

With Odoo since 2014

Odoo Development Domains Icon

Odoo Development Domains

Odoo Website Tracking Modules
Odoo Website Tracking Modules

Website Tracking

Track online events of your website visitors to provide accurate tracking data for analytics and advertising services, optimize the website, and drive sales

List of modules of this domain
Odoo Website Tracking Apps
01
Odoo Data Feeds and Marketplace Integration Modules
Odoo Data Feeds and Marketplace Integration Modules

Data Feeds & Marketplace Integrations

Transfer product data and manage orders from marketplaces with your Odoo. Generate data feeds for integration with marketing and analytics systems

List of modules in this field
Odoo Website Tracking Apps
02
Odoo Product Label Modules
Odoo Data Feeds and Marketplace Integration Modules

Product Labels

Create labels with your own design through the Odoo UI, without involving designers or developers. Print labels not only for products — quickly and conveniently

List of modules in this field
Odoo Website Tracking Apps
03
Odoo eCommerce and SEO Modules
Odoo eCommerce and SEO Modules

eCommerce and SEO

Add new and enhance existing online sales opportunities. Improve your website SEO and attract organic traffic

List of modules in this field
Odoo Website Tracking Apps
04
Company Cares Section Icon

Effective solutions for the global market

Creating high-quality, flexible and reliable business solutions
Creating

high-quality, flexible and reliable business solutions

Taking care of timely support for users of our modules
Taking care of

timely support for users of our modules

Having an entrepreneurial background, we understand exactly what we are doing
Having

an entrepreneurial background, we understand exactly what we are doing

Paying attention to user-friendliness and understandable UI/UX design
Paying attention

to user-friendliness and understandable UI/UX design

Providing additional materials for easy use of the product
Providing

additional materials for easy use of the product

Conducting marketing activities and providing high-quality information support
Conducting

marketing activities and providing high-quality information support

Contact Us

Website
garazd.biz/contactus
Copy Link
Get Support
garazd.biz/support
Copy Link
Email
support@garazd.biz
Mail To

Watch on YouTube

Odoo Product Label Apps

Odoo Website Tracking Apps

Odoo Product Catalog Feeds

Explore our YouTube
  • Module version: 16.0.1.2.1
  • Copyrights: Module design is reserved. Unauthorized copying or redistribution of the design is prohibited. Copyright © Garazd Creation
Changelog Section Icon

Changelog

16.0.1.2.1 2025-07-02

  • Fix the additional "cookie_consent_updated" call for the DataLayer.

16.0.1.2.0 2025-06-19

  • Add the additional "cookie_consent_updated" call for the DataLayer, to trigger tags on the GTM side.

16.0.1.1.2 2024-07-17

  • Add a common block to insert additional gtag calls.

16.0.1.1.1 2024-04-04

  • Improve the JS logic to send the Google Consent update.

16.0.1.1.0 2024-03-16

  • Implement the Google Consent Mode for the Google Tag Manager (GTM).
  • Implement updating the Google Consents by clicking on the Odoo Cookie Bar buttons.

16.0.1.0.1 2024-02-24

  • Rename fields.

16.0.1.0.0 2024-01-17

  • Init version.
FAQ Section Background
FAQ Section Icon

FAQ

Can I install the module on Odoo Online (SAAS)?

No, Odoo Online is hosting where it is impossible to add any third-party module and install it. The Import module feature can't upload modules in a way that is required for their proper work.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Website (website)
• Discuss (mail)
Community Apps Dependencies Show
• Global Site Tag (gtag.js) is now the Google Tag
• Odoo Cookies Consent Management
• Odoo Google Tag Manager | Odoo GTM
Lines of code 653
Technical Name website_cookies_consent_google
LicenseOPL-1
Websitehttps://garazd.biz/shop/odoo-google-consent-mode-183
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.
  • Ratings
  • Discuss
Re : gtag_prior_calls can not be located in the parent view
by
Admin Samadeva
on 8/20/24, 12:35 PM

Thank you for your reply, but I had to correct your other module too: website_sale_google_analytics_4

because i got error coming from this module :

1) xpath expr=div[@id=google_analytics_4_setting    position=attributes ... has to be repaced by xpath expr=div[@id=google_analytics_setting

2) xpath expr=t[@name=ga4_script] ... has to be repaced by xpath expr=t[@name=gtag_script]


gtag_prior_calls can not be located in the parent view
by
Admin Samadeva
on 8/20/24, 10:26 AM Confirmed Purchase

Error on installation on odoo v16:  

xpath expr= t[@name='gtag_prior_calls'] can not be located in the parent view

Do you have a fix please ?

Re: gtag_prior_calls can not be located in the parent view
by
Yury
on 8/20/24, 11:45 AM Author

Hello,

Thank you for your feedback!

Please verify that you have uploaded the latest versions of the related modules:

  • website_google_tag
  • website_google_analytics_4
  • website_cookies_consent

They should be updated as well to resolve this issue.

P.S. The error that you have mentioned is related and will be fixed after updating to the module "website_google_analytics_4".


Best regards, Yurii Razumovskyi.

Company Garazd Creation — Odoo solutions for e-Commerce, SEO, Data Feeds, Website Tracking, Marketing, Analytics, and Marketplace integrations, Product Label designing and printing.

https://garazd.biz


gtag_prior_calls can not be located in the parent view
by
Admin Samadeva
on 8/20/24, 10:25 AM Confirmed Purchase

Error on installation on odoo v16: '' can not be located in the parent view

Do you have a fix please ?


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