Odoo Google Analytics 4 eCommerce Tracking

by
Odoo

104.32

v 16.0 Third Party 55
Live Preview
Required Apps eCommerce (website_sale)
Website (website)
Invoicing (account)
Included Dependencies
Lines of code 748
Technical Name website_sale_google_analytics_4
LicenseOPL-1
Websitehttps://garazd.biz/shop
Also available in version v 15.0 v 14.0 v 12.0 v 13.0
You bought this module and need support? Click here!
Required Apps eCommerce (website_sale)
Website (website)
Invoicing (account)
Included Dependencies
Lines of code 748
Technical Name website_sale_google_analytics_4
LicenseOPL-1
Websitehttps://garazd.biz/shop
Also available in version v 15.0 v 14.0 v 12.0 v 13.0
Community
Enterprise
Odoo.sh
Odoo.sh
Enterprise
Community

Track GA4 eCommerce events on Odoo website

Description

Add eCommerce events to your e-commerce site to make the most out of the eCommerce reports in Google Analytics. Implementing these events will allow you to quantify your most popular products and see how promotions and product placement affects sales.

Odoo 16.0 Google Analytics 4 eCommerce dashboard
The module adds tracking of the following Google Analytics 4 eCommerce events:
  • login: when a customer login to the portal (will be added by the module "Google Analytics 4 Global Site Tag");
  • sign_up: when a customer registers on a website from the login page (will be added by the module "Google Analytics 4 Global Site Tag");
  • view_item: when a customer viewing a product page;
  • view_item_list: when a customer viewing a product list/grid page;
  • search: when a customer searching products;
  • add_to_cart: when a customer clicking on the Add to Cart button on a product or a product list page;
  • begin_checkout: when a customer starting the checkout process from the cart page;
  • add_shipping_info: when a customer clicking on the Next button after filling in address fields;
  • add_payment_info: when a customer clicking on the Pay Now button after selecting a payment method;
  • purchase: when a customer finishing the checkout process on the confirmation page.

Using of the option "Track User ID" allows associating your own identifiers with individual users, so you can connect their behavior across different sessions and on various devices and platforms, as described at the Google article: https://support.google.com/analytics/answer/9213390.

Features
Easy & Simple

Easy to activate and configure

Track visitor actions

Allow to track and analyze customer actions on a website

Support

Free 30 days support and 180 days bug-fixing

Try me

Demo & Test. Click on the "Live Preview" button

Configuration
Adding a tracking ID
Go to the menu "Website" - "Configuration" - "Settings" then:
  1. Activate the "Google Analytics" option.
  2. Then enter Tracking ID.
  3. Choose the product type which IDs you want to be used in the tracking events.
  4. Select a product category type what do you want to send to Google.
Save the changes.
Odoo 16.0 Google Analytics 4 eCommerce configuration
The script code
Google Analytics 4 eCommerce events will be fired on the product and checkout web pages.
User ID
To track user IDs of logged-in clients, activate the option "Add User ID".
Odoo 16.0 Google Analytics 4 eCommerce User ID feature
After activation, user IDs will be created automatically for all system users as random values.
Debug Mode
You can activate the "Debug Mode" and test sending of events to Google.
Odoo False Google Analytics 4 eCommerce configuration
To do it, activate the appropriate option in website settings.
Odoo False Google Analytics 4 eCommerce configuration
View events in the "Debug View".
Contact Us
Support, customizations, and development
https://garazd.biz/contactus
Our expertise
Odoo Learning Partner
OCA Member
With Odoo since 2014
Over 7,000 app downloads and purchases
Explore our apps
Watch and subscribe
Version: 16.0.1.2.0
Module design is reserved
Copyright © Garazd Creation
  • 16.0.1.2.0 2023-04-07
    Improve the GA4 param "price" for product prices with discounts
  • 16.0.1.1.1 2023-02-03
    Fix the GA4 event parameter.
  • 16.0.1.1.0 2023-01-14
    Improve firing logic of the events "begin_checkout", "add_shipping_info", "add_payment_info".
  • 16.0.1.0.0 2022-11-11
    Migration from 15.0.
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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
There are no ratings yet!
Version for 13.0 CE
by
Yury
on 3/2/23, 7:58 AM Author

The module "Odoo Google Analytics 4 eCommerce Tracking"  for the Odoo version 13.0 is available now: https://apps.odoo.com/apps/modules/13.0/website_sale_google_analytics_4/


Version 13 community
by
Odoo Sydemcorp
on 2/27/23, 9:26 AM
Good morning, I would like to know if you have this module for version 13 community


Re: Version 13 community
by
Yury
on 2/27/23, 10:09 AM Author

Hello.

Thank you for your interest in our modules!

We can migrate this Google Analytics 4 module to the Odoo version 13.0 CE. It will take a few days.

Please contact us by e-mail support@garazd.biz and we will discuss the exact date.

Have a nice day!


Best regards, Yurii Razumovskyi.

Company "Garazd Creation"

https://garazd.biz


Question about data reporting
by
Paun Emil Florin
on 2/6/23, 8:57 AM

Does this module properly report all e-commerce data?


1. Transactions,
Example: 10 purchases
2. Transaction id,
Example: 123567
3. Value,
Example: 100
4. Currency,
Example: USD
5. Items viewed
Example: product X was viewed 100 times
6. Items added to cart:
Example: Product X has been added to the cart 25 times.
7. Items purchased
Example: product X was bought 10 times.
8. Revenue item
Example: Product X brought in $1000 in revenue.


And so on ?

Re: Question about data reporting
by
Yury
on 2/7/23, 6:41 AM Author

Hi, Paun Emil Florin

Thank you for your question!

Our Odoo Google Analytics 4 solution tracks the following eCommerce events:

"view_item_list", "view_item", "search", "add_to_cart", "begin_checkout", "add_shipping_info", "add_payment_info", "purchase".



The solution sends these data to GA4 and you can analyze it there in reports and dashboards. If you ask about logging these events in Odoo, this module does not log them. It only sends the necessary data to Google Analytics 4.

Please let me know if you need additional information.


Best regards, Yurii Razumovskyi.

Company "Garazd Creation"

https://garazd.biz

+38 (050) 4071107