Skip to main content

Add support for Google Tag Manager Enhanced Conversions

Project description

Beta License: AGPL-3 OCA/e-commerce Translate me on Weblate Try me on Runboat

This module allows to configure your Odoo eCommerce to support the Google Tag Manager Enhanced Conversions. Read more about them in this link: https://support.google.com/google-ads/answer/9888145?hl=en&ref_topic=3165803

Table of contents

Configuration

To configure this module, you need to:

  1. Go to Website > Configuration > Settings

  2. Search ‘Google Tag Manager’ option.

  3. Fill in your ‘Google Tag Manager Key’ (e.g. ‘GTM-ABCDEF’).

  4. Set ‘Enhanced Conversions’ on.

With it you can configure your GTM conversion scripts for /shop/confirmation with the following xpath options:

  • //div[@id="gtm_enhanced_conversion_data"]/span[@name='customer_email']

  • //div[@id="gtm_enhanced_conversion_data"]/span[@name='customer_name']

  • //div[@id="gtm_enhanced_conversion_data"]/span[@name='shipping_street']

  • //div[@id="gtm_enhanced_conversion_data"]/span[@name='shipping_city']

  • //div[@id="gtm_enhanced_conversion_data"]/span[@name='shipping_zip']

  • //div[@id="gtm_enhanced_conversion_data"]/span[@name='shipping_region']

  • //div[@id="gtm_enhanced_conversion_data"]/span[@name='shipping_country']

Only if you have partner_firstname installed, you can also use:

  • //div[@id="gtm_enhanced_conversion_data"]/span[@name='customer_firstname']

  • //div[@id="gtm_enhanced_conversion_data"]/span[@name='customer_lastname']

Otherwise you should figure out how to split customer_name in you js tag scripts.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Tecnativa

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/e-commerce project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo13_addon_website_sale_google_tag_manager-13.0.1.0.1.dev3-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo13_addon_website_sale_google_tag_manager-13.0.1.0.1.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 26784b5d6d1d61dd36169281c5d1d0a00268f4a5cef89b61ef7d8add9c91bd5e
MD5 6c25c0749830682a442fce9fbae33c66
BLAKE2b-256 5b17abc5601d219a22031840aa844f9a17341f25029d69cb65089803784d9191

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page