Google Ads Conversion Tracking, Google Ads Enhanced Conversions, Google Consent Mode v2 | Google Ads eCommerce Tracking
by Modvanta https://modvantaapps.tech/odoo-apps/google-ads-tracking/$ 29.91
Google Ads conversion tracking for Odoo eCommerce - purchases, carts, leads, remarketing and offline conversions
Send your Google Ads conversion actions from the Odoo shop and website forms with the Google tag or Google Tag Manager, add enhanced conversions and cart data, run dynamic remarketing, capture click IDs and export offline conversions - all behind Google Consent Mode v2 on the Odoo cookies bar.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
One configuration per website holds your Google Ads tag ID (AW-...) and a line per conversion action with its send_to value: purchase on order confirmation, add to cart, begin checkout, shipping and payment steps, sign up, login, lead and contact forms, phone and email clicks and more. The tag can be the Google tag (gtag.js) or a Google Tag Manager dataLayer.
Enhanced conversions add hashed customer data, dynamic remarketing sends product views, lists and carts with item ids that match your Merchant Center feed, and conversions with cart data add the Merchant Center ID, feed country and language. Purchases can be counted for new customers only within a returning-customer window.
With consent, the GCLID, GBRAID and WBRAID of the ad click are kept and stored with website form records, and the offline export builds the file Google Ads accepts under Goals > Conversions > Uploads from confirmed orders or form records. A debug mode shows every event in a panel on the page, and an event log in Odoo lists what was sent.
Who it is for
Shops running Google Ads Count real purchases and cart actions as conversions with order values. | Lead generation websites Track contact and quote forms as conversions and upload offline conversions later. | Advertisers in the EU Keep ads measurement compliant with Google Consent Mode v2 on the Odoo cookies bar. |
Key features
Every screen below is the module running on Odoo 19 with a placeholder tag ID (AW-123456789); requests to Google were blocked on the bench, the debug panel and event log show what would be sent.
Feature 1
Tag and conversion actions
Google tag or Google Tag Manager, the Google Ads tag ID, who is tracked, debug mode and the event log, and one line per conversion action with the event it fires on.
Feature 2
Consent Mode v2
Basic or advanced implementation, the default state of ad_storage, ad_user_data, ad_personalization and analytics_storage, behaviour without a cookies bar, wait_for_update, URL passthrough and ad data redaction.
Feature 3
Remarketing and cart data
Item ID format and prefix, items sent for a product list, dynamic remarketing (retail), an option never to collect remarketing data, and conversions with cart data with Merchant Center ID, feed country and feed language.
Feature 4
Consent banner and product list event
The shop page sends the product list event while the Odoo cookies bar asks for consent; the debug panel shows it on the page.
Feature 5
Add to cart conversion
After the visitor accepted cookies, adding to the cart fires the add to cart conversion with its value and the remarketing event.
Feature 6
Click IDs
Website form records that came from an ad click, with the GCLID, GBRAID or WBRAID, the ad consent and the export date. Here a contact form sent from a page opened with a gclid.
Feature 7
Offline conversion export
Choose sales orders or website form records, confirmed or fully invoiced orders, the conversion action name, dates, value with or without taxes, time zone, only records not exported yet and mark as exported.
Feature 8
Upload file ready
The export writes the conversions into a CSV file to upload in Google Ads.
Feature 9
Event log
Every event the browser sent - conversions, remarketing events, consent updates, user data - with channel, send_to, transaction, value and currency.
How it works, step by step
| 1 | Install and open the configuration Website -> Google Ads Tracking -> Configuration; enter your Google Ads tag ID. |
| 2 | Add your conversion actions Add a line per conversion action and paste its send_to value from Google Ads. |
| 3 | Set consent and data options Choose the Consent Mode v2 defaults, enhanced conversions, remarketing and cart data. |
| 4 | Check with debug mode Open the shop with ?gads_debug=1 to see every event in a panel, and look at the event log. |
| 5 | Upload offline conversions Run Export Offline Conversions for orders or form records and upload the file in Google Ads. |
Settings
All settings are on the Google Ads Tracking configuration of each website.
| Tag | Google tag (gtag.js) or Google Tag Manager dataLayer, Google Ads tag ID, container ID for GTM. |
| Who is tracked | No tracking for internal users or known bots, debug mode, event log and retention. |
| Conversion actions | Event, name, send_to, value type or fixed value; purchase trigger, late confirmation window, portal orders, values with taxes or delivery, new customers. |
| Consent Mode v2 | Implementation, default states, regional defaults, behaviour without a cookies bar, wait_for_update, URL passthrough, ad data redaction. |
| Enhanced conversions | Hashing, phone number, name and address. |
| Remarketing and cart data | Dynamic remarketing, item ID format and prefix, list size, Merchant Center ID, feed country and language. |
| Click IDs and offline conversions | Capture GCLID, GBRAID and WBRAID, how long they are kept, offline export. |
Frequently asked questions
Does it work with Google Tag Manager?
Yes. Choose Google Tag Manager as the tag type and the events are pushed to the dataLayer; otherwise the Google tag (gtag.js) is loaded with your tag ID.
Which events can be conversions?
Purchase, add to cart, begin checkout, shipping and payment steps, view cart and product events, search, wishlist, sign up, login, lead and contact forms, phone and email clicks.
Does it respect cookie consent?
Yes. Consent Mode v2 follows the Odoo cookies bar, and click IDs are only kept when the visitor gave ad consent.
What are offline conversions?
Conversions you upload to Google Ads later, for example orders confirmed by phone or leads that became customers. The export builds the upload file from records that carry a click ID.
How do I check what is sent?
Turn on debug mode and open the site with ?gads_debug=1: a panel lists the events on the page. The event log in Odoo keeps them too.
Compatibility
Odoo 19 Community and Enterprise | eCommerce website_sale | Google Ads gtag.js or Tag Manager | Consent Google Consent Mode v2 |
Measure your Google Ads on Odoo properly
Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.
SUPPORT | AUTHOR Modvanta | INCLUDED Module, debug panel, offline export, email support |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Website (website) • Discuss (mail) • Invoicing (account) |
| Lines of code | 2384 |
| Technical Name |
mdv_google_ads_tracking |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/google-ads-tracking/ |
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