Skip to Content

Global Site Tag (gtag.js) is now the Google Tag

https://garazd.biz/web/image/product.template/8/image_1920?unique=0362cac
Залиште свій відгук

0,00
Вільно 1285
0.0 USD

Недоступний для продажу

  • Версія Odoo

  • Price

Ця комбінація не існує.

Price: Free

Опис

Recently, Google has announced that they implement a single script for tracking visitor activity on websites. This script, named Google Tag, should be added to all webpages of a website.

So, the global site tag (gtag.js) is now the Google tag, you can find details in this Google documentation: https://support.google.com/tagmanager/answer/11994839.

The Google Tag now supports various destinations, such as:

  • Google Ads - is a platform for promoting your products and services across the entire Google product network.
  • Google Analytics 4 - is a new generation of analytics from Google with a new interface, reports, and features. You can use it for your Odoo websites.

Встановлення
Odoo Online
Odoo.sh
On Premise
Сумісність
Community
Enterprise
Технічна назва website_google_analytics_4
Версія 18.0.1.1.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.

Оновить список модулів

Після перезавантаження активуйте Режим розробника, та перейдіть до меню Додатки.

Як оновити список модулів в Odoo

Натисніть на Оновити список додатків, щоб підтягнути нові модулі до списку.

Інсталяція модуля

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

Встановлення модуля Odoo

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

Налаштування

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

Переглянути опис модуля Odoo

Інструкція


Google Analytics 4 Tag
Retrieving the Google Analytics 4 measurement ID
In your Google Analytics 4 account, go to the "Admin" - "Data collection and modification" - "Data streams" menu, select the required stream then copy the Measurement ID.
Odoo Google Analytics 4 measurement ID getting 18.0
Google Ads Tag
Retrieving the Google Ads Tag ID
In your Google Ads account, go to the "Tools" - "Data manager" menu and on "Google tag" tab copy the Tag ID.
Odoo Google Ads Tag ID getting 18.0
Configuration
Adding a tracking ID
Go to the menu "Website" - "Configuration" - "Settings" and activate the "Google Tag" option. Then fill in the Tag ID.
Odoo Google Tag gtag configure in 18.0
Configuration
Adding a tracking ID
Go to the menu "Website" - "Configuration" - "Settings" and activate the "Google Analytics 4" option. Then enter Tracking ID and save the changes.
Odoo 18.0 Global Site Tag (gtag.js) is now the Google Tag configuration
The script code
The global site tag will be added to all web pages.
Odoo 18.0 Global Site Tag (gtag.js) is now the Google Tag global site tag script code
Debug Mode
You can activate the "Debug Mode" and test sending of events to Google.
Odoo False Global Site Tag (gtag.js) is now the Google Tag configuration
To do it, activate the appropriate option in website settings.
Odoo False Global Site Tag (gtag.js) is now the Google Tag configuration
View events in the "Debug View".
Testing
GA4 Debug Mode
You can activate the "Debug Mode" for your Google Analytics 4 tag and test sending tracking events to Google. To do it, activate the "GA4 Debug Mode" option in website settings.
Odoo GA4 Google Analytics 4 Debug Mode setting in 18.0
After that, you can view tracking events in the "Debug View" of your GA4 account.
Odoo GA4 Google Analytics 4 Debug View 18.0
Testing Particularities

As the Google Tag script does not have to send tracking data about a website activity of internal users, there are several testing tips:

  • You will not see the Google Tag script if you are logged in to Odoo and you have internal user's access rights.
  • Log out from the system, or use the incognito mode, or other browser to test the gtag script.
Cookie Consent

Список змін

14.0.3.0.0 2024-03-16

  • Refactor from GA4 to the Google Tag.

14.0.2.0.1 2024-02-05

  • Fix linter warnings.
  • Add README.rst.

14.0.2.0.0 2023-06-14

  • Improved for new website tracking logic.
  • Change the license to OPL-1.
  • Remove "sign_up" and "login" GA4 events tracking.

14.0.1.1.1 2022-08-13

  • Fix click function for logged users.

14.0.1.1.0 2022-08-12

  • Add Google Analytic 4 "Debug Mode" option.

14.0.1.0.1 2021-07-07

  • Move script block to the end of the head tag.

14.0.1.0.0 2021-06-02

  • Init version.

15.0.3.1.1 2024-04-02

  • Rename the "ga4_tracking_key" field to the "gtag_tracking_key".

15.0.3.1.0 2024-03-16

  • Refactor from GA4 to the Google Tag.

15.0.3.0.0 2023-07-19

  • Remove "sign_up" and "login" GA4 events tracking.
  • Improved for new website tracking logic.
  • Change the license to OPL-1.

15.0.2.1.0 2022-11-11

  • Improve passing params to the gtag script.

15.0.2.0.0 2022-09-06

  • Rebuilt logic, extend the standard Google Analytics instead add a new.

15.0.1.1.0 2022-08-15

  • Add Google Analytic 4 "Debug Mode" option.

15.0.1.0.0 2022-02-02

  • Migrate from 14.0

16.0.3.0.1 2024-05-02

  • Improve the script insertion with the post gtag call section.

16.0.3.0.0 2024-03-16

  • Refactor from GA4 to the Google Tag.

16.0.2.2.0 2024-01-17

  • Implement compability with Google Consent Mode extension.

16.0.2.1.0 2023-12-22

  • Fix linter warnings.
  • Add README.rst.

16.0.2.0.0 2023-07-27

  • Change the license to OPL-1.
  • Improved for new website tracking logic.
  • Remove "sign_up" and "login" GA4 events tracking.

16.0.1.0.0 2022-11-11

  • Migration from 15.0.

17.0.2.1.0 2024-06-20

  • Improve the script insertion with the post gtag call section.

17.0.2.0.0 2024-04-09

  • Refactor from GA4 to the Google Tag.

17.0.1.1.0 2024-02-17

  • Implement compability with Google Consent Mode extension.

17.0.1.0.0 2023-11-02

  • Migration from 16.0.
  • Implement compability with Google Consent Mode extension.

18.0.1.1.0 2025-05-29

  • Refactor the Google Tag gtag.js script insertion.

18.0.1.0.0 2024-10-08

  • Migration from 17.0.

FAQ