Skip to Content

Odoo Google Tag Manager eCommerce Tracking

Leave your feedback
https://garazd.biz/web/image/product.template/787/image_1920?unique=59d2c18

109.41
109.41 0
109.41151494565217 USD

Not Available For Sale

  • Odoo Version

  • Price

This combination does not exist.

Odoo Version: 19.0
Price: Paid

Overview

Several methods exist for collecting tracking data on an Odoo website and sending it to Google, including Google Tag Manager (GTM), which operates via the DataLayer and is best suited to advanced users.

For Odoo websites, this module provides intuitive tools to capture e-commerce events (view_item, add_to_cart, begin_checkout, purchase, etc.) and to send product details, along with hashed user-provided data for enhanced conversions and dynamic values.

A key benefit of this module is its full compatibility, which allows it to install directly on the Odoo Online (SaaS) cloud platform.

Availability
Odoo Online
Odoo.sh
On Premise
Compatibility
Community
Enterprise
Technical Name online_google_tag_manager
Version
License
Category
Support Free 60 days support and 360 days bug-fixing

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 App Installation

Upload modules

Upload modules from the ZIP archive to your Odoo hosting, or a GitHub repository connected there.

Place the unzipped modules in your custom add-on directory and restart the Odoo system service.

Update App List

After restarting, activate the Developer Mode, and go to the Apps menu.

Odoo Update App List

Click on Update Apps List to fetch the new modules in the list.

Activate the App

Install the new module, finding it by name and clicking on the Activate button.

Odoo App Installation

* If you don't see the module, try to remove the default Apps filter from the search bar.

Configuration

Follow the instructions in the module description to complete the installation process and start using the app.

View Odoo App Description

Manual

fa circle down

Odoo Online Module Installation

To install the module in Odoo Online, activate Developer Mode and click Import Module in the Apps menu.

odoo apps import module

In the import wizard, upload the module ZIP file to the Module file field and click Install.

If you need demo data and it is included in the module, additionally enable the Load Demo Data option.
odoo apps import module wizard

Updating the Module

To update the module in Odoo Online, click Import Module again and upload the ZIP file with the new module version in the wizard.

To restore default values and overwrite existing settings, enable the Force Init option.

Uninstalling the Module

To remove the module from Odoo Online, select the Uninstall action.

odoo apps uninstall module
If the uninstallation fails on the first attempt, try running it again.
fa code

Obtaining the Container ID

Before adding the JS script to your website, first obtain the identifier. To do this, log in to your Google Tag Manager account and copy the Container ID.

google tag manager account workspace container id
check circle fill

Tracking Activation

After installing the module, go to the website settings and, in the Enhanced Website Tracking (Odoo Online) section, enable the Activate Tracking option.

odoo online website settings enhanced activate tracking

Tracking Configuration

The module allows you to track e-commerce events on your website and send them to Google along with product information and user-provided data. Additionally, you can store this data in internal Odoo logs for website analysis and monitoring. These features are implemented at the tracking service level. Add and configure a tracking service for your Odoo website.

Adding a Tracking Service

To add a new tracking service for the Odoo website, navigate to Website — Configuration — Tracking (Odoo Online) — Services and click New.

odoo online website configuration tracking services

Fill in the following fields in the new tracking service:

odoo online google tag manager tracking service type website key
  • Select Google Tag Manager as the Service Type
  • Specify a Website (if using multiple websites)
  • Paste your Container ID into the Key field

Tracking Logs

The module includes an internal logging feature. To activate it, enable the Internal Logs option.

odoo online tracking service options internal logs

To view logs, go to the Website — Configuration — Tracking (Odoo Online) — Logs menu or click the Logs button at the top of the form.

odoo online google tag manager tracking service logs button

The module supports the following tracking events:

  • Add Payment Info
  • Add Shipping Info
  • Add To Cart
  • Add to Wishlist
  • Begin Checkout
  • Purchase
  • Remove from Cart
  • Search Products
  • View Product
  • View Product List
odoo online google tag manager tracking service internal logs list

Excluding Delivery

Odoo logic adds a delivery line to the sales order during website checkout. This can increase the total order amount and affect analytics. To exclude the delivery line from tracking data and prevent sending it to Google Tag Manager via the tracking service, open the website settings and enable Exclude Delivery in the Enhanced Website Tracking (Odoo Online) section.

odoo online website settings enhanced tracking exclude delivery
fa address card

Enhanced Conversions

Enhanced conversions help optimize your advertisements by providing Google with additional user data. Open the tracking service on the Advanced Matching tab and select which user-provided data to send to Google Tag Manager.

odoo online tracking service advanced matching user-provided data

Use the Sale Order Partner value as the Customer Data Source because it provides more user information when guest checkouts are allowed without registration.

odoo tracking service advanced matching sale order partner
fa bug

Testing

Test the Google Tag Manager script using three methods:

  • Google Tag Assistant
  • Browser Extension
  • Browser Console
For testing, log out of Odoo or use a different browser, as website tracking does not work for internal Odoo users.

Google Tag Assistant

To test the GTM website tracking script using Tag Assistant, log in to Google Tag Manager and click Preview.

google tag manager account workspace preview assistant

Then enter your website URL and click Connect.

google tag manager assistant odoo website url connect

Perform a few eCommerce actions on your Odoo website and review the report in Google Tag Assistant.

gtm google tag assistant odoo ecommerce website events

Browser Extension

An alternative way to test the Google tag integration on your Odoo website is to use the Tag Assistant browser extension: https://chromewebstore.google.com/detail/tag-assistant/kejbdjndbnbjgmefkgdddjlbokphdefk.

odoo online website google tag assistant gtm browser extension

Browser Console

To verify website tracking and inspect events in the browser console, enable Debug Logging in the website settings.

odoo online website settings enhanced tracking debug logging
odoo online website browser console google tag manager tracking event

Changelog

Reviews

Our customers have already appreciated the quality, reliability, and performance of the solutions we offer

Login to leave a comment

FAQ

Do you provide assistance with this Odoo app installation?

Yes, if you are on Odoo.sh or use your own On-Premise hosting, and can grant us with access, we can help you with the installation and initial setup.