Skip to Content

Google Ads Conversion Tracking

Leave your feedback
https://garazd.biz/web/image/product.template/196/image_1920?unique=785e5c5

204.73
204.73 53
204.73199341197895 USD

Not Available For Sale

  • Odoo Version

  • Price

This combination does not exist.

Price: Paid

Overview

The Odoo Google Ads Conversion Tracking module integrates Google Ads with your Odoo website to measure how ad interactions lead to valuable actions such as purchases and lead submissions. The module sends user-provided data, product data, conversion events, and related transaction info from Odoo to Google Ads.

The module also supports enhanced conversions, using hashed first‑party customer data collected on your site to improve the accuracy of conversion measurement in a privacy‑safe way. Together with support for Google Consent Mode and first‑party tracking, it provides a reliable base for compliant, data‑driven advertising with Google Ads.

Availability
Odoo Online
Odoo.sh
On Premise
Compatibility
Community
Enterprise
Technical Name website_sale_google_ads
Version 19.0.1.0.1
License OPL-1
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 code

Getting the Identifier

To obtain a tag ID in Google Ads, log in to your account and navigate to Tools — Data Manager. Open your Google tag and copy the ID.

google ads tools data manager tag id
check circle fill

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:

odoo settings website activate tracking debug logging
If you use Odoo's built-in Google Analytics feature, disable it and transfer the identifier to a new tracking service.
odoo settings website disable google analytics
fa cookie

Cookie Consent

The module is compatible with the Odoo Google Consent Mode solution, which allows managing cookie consent and updating consent states by sending them to Google.

odoo website google consent settings list
ads click rounded

Configuration

Adding a Tracking Service

Go to the Website - Configuration - Tracking - Services menu and click New to add a new tracking service.

odoo website configuration tracking services new

Firstly, fill in the following fields in the new tracking service:

odoo google ads tracking service website type key
  • Specify a Website (if using multiple websites)
  • Select Google Ads as the service Type
  • Paste your Tag ID into the Key field

Then, specify the type of product identifier and product category sent to Google Ads.

odoo google ads tracking service item type category

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.

odoo google ads tracking service options lead value

This field represents the monetary value of a lead generation, based on estimated evaluations.

Tracking Logs

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

odoo google ads tracking service options internal logs

To view logs, go to the Website - Configuration - Tracking - Logs menu or click the Logs button at the top of the form.

odoo google ads tracking service logs button

The list of internal tracking events.

odoo google ads tracking service internal log list
fa filter circle dollar

Conversion Setup

Conversion tracking in Google Ads helps you evaluate the effectiveness of your advertising and shows what actions customers take after clicking an ad.

To start tracking conversions, create a conversion action in Google Ads and a corresponding custom event in Odoo.

Google Ads Conversions

To create a new conversion action in Google Ads, complete the following steps.

In your Google Ads account, navigate to GoalsSummary and click Create conversion action.

google ads goals summary create conversion action

Select Conversions on a website as the data source for measuring conversions.

google ads choose data source to measure conversions on a website

Paste your Odoo website URL into the field and click Scan.

google ads measure conversions odoo website url scan

After scanning, select Google Tag as the data source, click Done, and then click Save and Continue.

google ads tag conversions data source

Select the goal category for this conversion action.

google ads conversion goal category

Select the Manually with Code option.

google ads create conversion manually with code

Fill in the conversion action details in the Conversion Settings section:

google ads conversion name value
  • Enter the conversion name.
  • Select Use different values for each conversion to record specific values for each event. This value is passed from Odoo and equals the product price or sales order total depending on the tracking event type.
  • Enable Enhanced Conversions.
  • Configure the remaining parameters as needed, or keep the default values.
For detailed instructions on setting up conversion tracking, refer to the official Google Ads documentation: https://support.google.com/google-ads/answer/12216424.
google ads enhanced conversions

Click Done, then click Save and Continue.

Next, click See event snippet to obtain the conversion name and destination ID.

google ads conversion see event snippet

Copy the conversion action name and the value of the send_to parameter.

google ads conversion event snippet send to

Custom Event Tracking in Odoo

To create a custom event in Odoo for tracking conversions:

odoo google ads tracking service options custom event
  • 01
    Open the Google Ads tracking service on the Options tab
  • 02
    Select the event type configured as the goal for your conversion action in Google Ads
  • 03
    Paste the copied conversion action name and the send_to parameter value

If you want to track this conversion exclusively for remarketing, enable the Remarketing Only option.

For more details on setting up remarketing in Google Ads, refer to this link: https://support.google.com/tagmanager/answer/6106960.

You can add multiple custom events for Google Ads conversions and link them to standard Odoo e-Commerce tracking events:

Event Type Description
Lead New lead
Login User login
Sign Up User registration
View Product View a product page
View Product List View the list of products
View Product Category View a product category page
Search Products Search for products
Add To Wishlist Add a product to the wish list
Add To Cart Add product to cart
View Cart View the shopping cart
Cart is Updated Update the shopping cart
Remove from Cart Remove a product from the shopping cart
Begin Checkout Start checkout process
Add Shipping Info Add shipping information
Add Payment Info Add payment details
Purchase Complete purchase
Purchase on Portal Complete purchase on portal
Currently, you can add only one custom event per event type.

After linking these events, you can see their firing in internal logs.

odoo google ads custom event log
fa address card

Enhanced Conversions

Enhanced conversions help optimize your advertisements by providing Google Ads with additional user data. Open the Advanced Matching tab of the tracking service and click Allow Enhanced Conversions, which enables all available options for this tracking service.

odoo google ads tracking service advanced matching allow enhanced conversions
User data is sent in a protected way, as it is hashed in accordance with Google requirements.

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

odoo tracking service advanced matching sale order partner

To ensure compatibility with this module, select the Google Tag method in the Google Ads Enhanced Conversions settings.

google ads goals settings enhanced conversions tag

Advanced Settings

The module includes additional settings available in Developer Mode.

Product Identifier

The module 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:

odoo tracking service technical identifier field
The specified product field should provide non-empty values and remain unique for each product. Otherwise, the tracking data for this product becomes unusable.

Purchase on Portal

To track portal purchases, enable the Track Purchase on Portal option:

odoo tracking service technical track purchase on portal

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:

odoo tracking service technical exclude delivery

Exclude Rewards

To exclude reward order lines from tracking data, enable the Exclude Reward option:

odoo tracking service technical exclude reward

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:

odoo website enhanced tracking event settings add to cart on click
  • Navigate to Website — Configuration — Websites
  • Open the website on the Enhanced Tracking tab
  • Enable the Add to Cart on Click option
Tracking the actual addition might fail if third-party modules modify the logic. In this case, this option allows for event tracking by binding it to button selectors used in native Odoo website templates.

Purchase

To track purchases only after a successful payment transaction, enable the Track Confirmed Purchases only option:

odoo website enhanced tracking event settings track confirmed pending purchases
This option only affects the event transmission through the tracking service; the internal log records the event regardless.

If business logic considers an order with a Pending payment status as a purchase, enable the Track Pending Purchases too option as well.

fa bug

Testing

You can verify how tracking event data is sent using Google Tag Assistant. Open the conversion list in Google Ads. If the conversion status is not Active, click Troubleshoot to connect to Google Tag Assistant.

odoo google ads conversion troubleshoot

In the following pop-up windows, select Continue and enter your Odoo website URL.

odoo google ads tag assistant connect
google ads connect tag assistant odoo website url

Click Connect and Tag Assistant opens your website, where you can test the conversion action.

For testing, log out of Odoo or use a different browser, as website tracking does not run for logged-in internal Odoo users.
cloudy fill

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:

google tag gateway architecture

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:

odoo website settings tracking seo google first party mode tag serving url

After saving the settings, sign out of Odoo and open the page source of your website to review the result:

odoo google first party mode tag serving url webpage source code

To restore the default Google tag URL, click the button on the right:

odoo google first party mode tag serving url restore
Odoo-side settings alone are insufficient to implement first-party mode. The custom URL must also be configured separately. The configuration methods are described in our blog post: https://garazd.biz/blog/odoo-1/odoo-google-tag-gateway-with-cloudflare-57.

Changelog

16.0.1.1.0 2024-05-02

  • Add insertion of the user data parameters for the Enhanced Conversions.
  • Add an option to activate the "Enhanced Conversions".

16.0.1.0.0 2024-03-25

  • Init version.

17.0.1.0.2 2026-05-25

  • Improve getting of the list of allowed settings for user data.

17.0.1.0.1 2024-11-25

  • Improve demo data.

17.0.1.0.0 2024-04-13

  • Migration from 16.0.

18.0.1.0.2 2026-05-25

  • Improve getting of the list of allowed settings for user data.

18.0.1.0.1 2024-11-21

  • Improve demo data.

18.0.1.0.0 2024-10-11

  • Migration from 17.0.

19.0.1.0.1 2025-12-29

  • Add a list of allowed settings for user data.

19.0.1.0.0 2025-10-11

  • Migration from 18.0.

Reviews

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

Login to leave a comment

FAQ

Why are some tracking events logged in Odoo but not collected by Google?

It can be when a website visitor has ad-blocking browser extensions on their side. In this case, tracking data is not sent to Google but logged in Odoo. Another case is if Google Consent Mode is implemented on your Odoo website, but the visitor does not grant consent for marketing and analytics cookies. In this case, the tracking data is sent to Google, but Google does not process it due to the Google cookie consents.