Required Apps |
Website (website)
|
Lines of code | 91 |
Technical Name |
website_google_analytics_4 |
License | LGPL-3 |
Website | https://garazd.biz/shop |
Also available in version | v 12.0 v 13.0 v 16.0 v 14.0 |
Required Apps |
Website (website)
|
Lines of code | 91 |
Technical Name |
website_google_analytics_4 |
License | LGPL-3 |
Website | https://garazd.biz/shop |
Also available in version | v 12.0 v 13.0 v 16.0 v 14.0 |
Community
Enterprise
Odoo.sh
Odoo.sh
Enterprise
Community
Activate the GA4 Global Site Tag on Odoo website
Description
Google Analytics 4 is a new generation of analytics from Google with a new interface, reports, and features. You can use it for a website, and for an app as well. Follow the link to learn more about GA4 features and how to get started: https://support.google.com/analytics/answer/10089681.
From the version 15.0 Odoo uses the "gtag.js" script as default Google Analytics script, our module extends the functionality of the standard Google Analytics implementation.
Features
No Code
Activates Google Analytics 4 without coding
Events
Contains code to add events "Login" and "Sign Up"
Multi
Multi-Website support
Try me
Demo & Test. Click on the "Live Preview" button
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.

The script code
The global site tag will be added to all web pages.

Google Analytics 4 events will fire only if you are not logged in Odoo or you don't have Website editor's access rights. This behavior is implemented to avoid sending data to Google by internal system users.
Debug Mode
You can activate the "Debug Mode" and test sending of events to Google.

To do it, activate the appropriate option in website settings.

View events in the "Debug View".
Related Modules
Contact Us
Support, customizations, and development
Skype:
GarazdCreation
https://garazd.biz/contactus
Our expertise
Odoo Learning Partner
OCA Member
With Odoo since 2014
Over 6,000 app downloads and purchases
Version: 15.0.2.1.0
Copyright © Garazd Creation
-
15.0.2.1.0 2022-11-11Improve passing params to the gtag script.
-
15.0.2.0.0 2022-09-06Rebuilt logic, extend the standard Google Analytics instead add a new.
-
15.0.1.1.0 2022-08-15Add Google Analytic 4 "Debug Mode" option.
-
15.0.1.0.0 2022-02-02Migrate from 14.0
Please log in to comment on this module