Odoo Google Analytics 4 eCommerce Tracking
by Garazd Creation https://garazd.biz/shop/odoo-google-analytics-4-app-21$ 116.16
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Website (website)
• Discuss (mail) • eCommerce (website_sale) • Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 3289 |
| Technical Name |
website_sale_google_analytics_4 |
| License | OPL-1 |
| Website | https://garazd.biz/shop/odoo-google-analytics-4-app-21 |
| Versions | 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Website (website)
• Discuss (mail) • eCommerce (website_sale) • Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 3289 |
| Technical Name |
website_sale_google_analytics_4 |
| License | OPL-1 |
| Website | https://garazd.biz/shop/odoo-google-analytics-4-app-21 |
| Versions | 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0 |
Optimize your online store's performance with Odoo Google Analytics 4 eCommerce Tracking
Google Analytics 4 (GA4) is a modern web analytics platform that helps businesses track website visitor behavior and analyze customer interactions in detail. Intelligent algorithms collect high-quality cross-device data, helping businesses evaluate marketing performance and make data-driven decisions to increase sales.
The Odoo Google Analytics 4 eCommerce module simplifies and automates the integration between your Odoo eCommerce website and Google Analytics. The solution accurately sends all key eCommerce events, from product views and add-to-cart actions to successful purchases and payments. As a result, businesses receive a ready-to-use sales monitoring tool without the need to configure complex tracking code on the website manually.
Watch Demo
Watch the video tutorial
Community & Enterprise
Compatible with Odoo CE and EE
Support
Free 90 days support and 360 days bug-fixing
Try me
Demo & Test. Click on the "Live Preview" button
Why choose this module
Key benefits that make this solution reliable, scalable, and easy to use
eCommerce Events
Track every visitor action on the eCommerce website, including product views, add-to-cart actions, purchases, and more
Tracking Logs
Use internal logs to analyze and monitor visitor actions on your website
Purchases
Configure purchase tracking depending on the payment status according to your business requirements
Multi-Website Environment
Add the tracking service to each of your websites
Enhanced Conversions
Optimize advertising campaigns by providing user data. Track and analyze customer behavior to improve conversions and sales
Debug Mode
Test integration quickly and easily in debug mode
Activation
After installing the app, go to the website settings and, in the Enhanced Website Tracking section, enable the Activate Tracking option. To test your website tracking and view tracked events in the browser console, also temporarily activate the Debug Logging feature:
Cookie Consent
The solution is compatible with the Odoo Google Consent Mode module, which allows managing cookie consent and updating consent states by sending them to Google.
Tracking Service Configuration
Adding a Tracking Service
Go to the Website - Configuration - Tracking - Services menu and click New to add a new tracking service:
Firstly, fill in the following fields in the new tracking service:
- Specify a Website (if using multiple websites)
- Select the service Type as Google Analytics 4
- Paste your GA4 Measurement ID into the Key field
Then, specify the type of identifier for the products and which product category is provided to Google:
If products have attributes and variants, choose Product Variant ID in the Item Type field; otherwise, select Product Template ID.
Select the desired Category Type: an eCommerce Public Category or an internal Product Category.
The next option is the Lead Value on the Options tab:
This field represents the monetary value of a lead generation, based on estimated evaluations.
Tracking Logs
The solution includes an internal logging feature. To activate it, enable the Internal Logs option:
To view logs, go to the Website - Configuration - Tracking - Logs menu or click the Logs button at the top of the form:
The list of internal tracking events:
User-provided Data
Enhanced conversions help optimize your advertisements by providing Google with additional user data. Open the Advanced Matching tab and click Allow Enhanced Conversions, which enables all available options for this tracking service:
Review the options and leave enabled the user-provided data that should be sent to Google.
Use the Sale Order Partner value as the Customer Data Source because it provides more user information when guest checkouts are allowed without registration:
Advanced Settings
The module includes additional settings available in Developer Mode.
Product Identifier
The solution uses the Product ID field as a unique product identifier. To use a different value, specify another product field containing the desired identifier on the Technical tab:
Purchase on Portal
To track portal purchases, enable the Track Purchase on Portal option:
Exclude Delivery
The next available setting for tracking services is Exclude Delivery. When enabled, the service excludes delivery lines from sales orders in tracking data transmissions:
Exclude Rewards
To exclude reward order lines from tracking data, enable the Exclude Reward option:
Add to Cart
By default, the module tracks the actual addition of a product to the cart. To track the event upon clicking the button without waiting for the actual addition to the cart, perform the following steps:
- Navigate to Website — Configuration — Websites
- Open the website on the Enhanced Tracking tab
- Enable the Add to Cart on Click option
Purchase
To track purchases only after a successful payment transaction, enable the Track Confirmed Purchases only option:
If business logic considers an order with a Pending payment status as a purchase, enable the Track Pending Purchases too option as well.
Google First-party Mode
Google First-party Mode allows configuring Google tags on your Odoo website to load scripts from your tagging servers or CDN instead of Google's:
The app allows specifying a custom URL for Google Tag Serving. Open the website settings and, in the Tracking and SEO section, change the Tag Serving URL:
After saving the settings, sign out of Odoo and open the page source of your website to review the result:
To restore the default Google tag URL, click the button on the right:
Testing
To test your Google Analytics 4 script, use the Debug Mode feature. Enable this option in your GA4 tracking service options:
Now open Google Analytics 4, go to the Admin menu, and in the Data display section, open DebugView. All tracking events from your website appear in this window in near real time:
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
years on the market
specialize in customized solutions for Odoo, where we are experts
sales and downloads
made in the Odoo Apps Store
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
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
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
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
eCommerce and SEO
Add new and enhance existing online sales opportunities. Improve your website SEO and attract organic traffic
Effective solutions for the global market
Creating
high-quality, flexible and reliable business solutions
Taking care of
timely support for users of our modules
Having
an entrepreneurial background, we understand exactly what we are doing
Paying attention
to user-friendliness and understandable UI/UX design
Providing
additional materials for easy use of the product
Conducting
marketing activities and providing high-quality information support
Contact Us
Website
Get Support
Watch on YouTube
- Module version: 19.0.1.1.0
- Copyrights: Module design is reserved. Unauthorized copying or redistribution of the design is prohibited. Copyright © Garazd Creation
Changelog
19.0.1.1.0 2026-05-21
- Implement user-provided data collection for the first-party GA4 data.
- Add the "view_cart" tracking event.
19.0.1.0.5 2026-04-20
- Add option to skip reward lines when preparing tracking data from sale order.
19.0.1.0.4 2026-02-18
- Fix string value formatting.
19.0.1.0.3 2026-02-03
- Add the "shipping" tracking parameter for the Purchase event.
- Improve the Google Tag serving URL logic for multiple company environment.
19.0.1.0.2 2025-12-29
- Add method to get a list of allowed settings for Google user data.
19.0.1.0.1 2025-10-15
19.0.1.0.0 2025-10-11
- Migration from 18.0.
FAQ
Why are some tracking events logged in Odoo but not collected by Google?
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