Google Consent Mode
The Odoo software module "Google Consent Mode"
Odoo Google Consent Mode on your website
Google Consent Mode on Odoo websites enhances data privacy compliance while still leveraging Google's powerful analytics and advertising tools to optimize your online presence and marketing efforts.
Google Consent Mode complements the Google scripts, such as Google Tag (gtag.js) that is used for Google Ads, and Google Analytics 4 (GA4), Google Tag Manager (GTM), on your website with default consent settings. The default values of Google Consent parameters can be configured depends on the website visitor's geographic locations. There is no need to ask to make changes in your code, all settings are available from the Odoo UI. Configure and make changes to Google Consent Mode settings by yourself.
This module is compatible with standard the Odoo Cookie Bar, and can be used with third-party CMP services.
Easy to activate and configure
Multi-Website support
Free 30 days support and 180 days bug-fixing
Demo & Test. Click on the "Live Preview" button
After installing the module, you will get a new Google Consent Mode website setting in the Privacy section.

To specify default values, go to the "Website" - "Configuration" - "Settings" menu and open Google Consent list with the "Default Google Consents" link.


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 (for example, visit duration). | |
Functionality Storage | functionality_storage |
Enables storage that supports the functionality of the website or app such as language settings. | |
Personalization Storage | personalization_storage |
Enables storage related to personalization such as video recommendations. | |
Security Storage | security_storage |
Enables storage related to security such as authentication functionality, fraud prevention, and other user protection. |

- Website - if you use the multi-website environment in your Odoo.
- Regions - you can set different consent defaults for visitors from certain geographic locations.
- Wait for Update - the time in milliseconds to wait before sending data.

- Redact Ads Data (
ads_data_redaction
) - to further redact your ads data whenad_storage
is denied, activate this parameter. - URL Passthrough (
url_passthrough
) - activate it for passing information about Ad clicks, such as ad click, client ID, and session ID, through URL parameters.

This app is compatible with Odoo Cookie Bar, if you use standard Odoo functionality to manage cookie consents. To configure it, choose the Odoo Cookie Bar as a Consent Manager.


If your website visitors consent to the use of optional cookies, all consent types will be granted and the gtag script will be extended with an additional "consent update" directive on each web pages:
gtag('consent', 'update', {"security_storage": "granted", "functionality_storage": "granted", ... "ad_storage": "granted"});

