Опис
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.
Встановлення |
Odoo Online
Odoo.sh
On Premise
|
---|---|
Сумісність |
Community
Enterprise
|
Технічна назва | website_cookies_consent_google |
Версія | 18.0.1.0.0 |
Ліцензія | OPL-1 |
Категорія | |
Підтримка | Допомога з встановленням та підтримка впродовж 60 днів, гарантований багфіксинг впродовж року |
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
Завантаження модулів
Завантажте модулі з ZIP архіву на ваш сервер, де встановлена Odoo, або в GitHub репозиторій підключений до нього.
Розмістить розархівовані модулі у директорії з кастомними модулями та перезапустить системний сервіс Odoo.
Оновить список модулів
Після перезавантаження активуйте Режим розробника, та перейдіть до меню Додатки.

Натисніть на Оновити список додатків, щоб підтягнути нові модулі до списку.
Інсталяція модуля
Знайдіть модуль за його іменем та натисніть на Активувати, щоб інсталювати його.

* Якщо ви не бачите модуль, спробуйте видалити типовий фільтр Додатки у рядку пошуку.
Налаштування
Дотримуйтесь інструкцій в описі модуля, щоб завершити процес встановлення та почати користуватися застосунком.

Інструкція
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"});


Список змін
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.
17.0.1.1.3 2024-08-21
- Improve updating of Google consents on the cookie bar buttons clicking.
17.0.1.1.2 2024-07-24
- Improve clearing of cache.
17.0.1.1.1 2024-07-17
- Add a common block to insert additional gtag calls.
17.0.1.1.0 2024-04-09
- Implement the Google Consent Mode for the Google Tag Manager (GTM).
- Implement updating the Google Consents by clicking on the Odoo Cookie Bar buttons.
17.0.1.0.0 2024-02-17
- Migration from 16.0.
15.0.1.1.1 2024-04-16
- Implement the debug logging option.
15.0.1.1.0 2024-04-02
- Implement the Google Consent Mode for the Google Tag Manager (GTM).
- Implement updating the Google Consents by clicking on the Odoo Cookie Bar buttons.
15.0.1.0.0 2024-03-16
- Migration from 16.0.
14.0.1.1.0 2024-08-14
- Implement the debug logging option.
- Implement the Google Consent Mode for the Google Tag Manager (GTM).
- Implement updating the Google Consents by clicking on the Odoo Cookie Bar buttons.
14.0.1.0.0 2024-03-16
- Migration from 15.0.
18.0.1.0.0 2024-10-08
- Migration from 17.0.