Author: |
Tecnativa, Odoo Community Association (OCA) |
License: |
AGPL-3 |
Branch: |
15.0 |
Repository: |
brain-tec/e-commerce |
Dependencies: |
website_google_tag_manager,
and
website_sale |
Languages: |
HTML (362, 65.2%),
Python (31, 5.6%),
XML (87, 15.7%),
and
reStructuredText (75, 13.5%) |
Other branches: |
13.0,
and
13.0-ocabot-merge-pr-617-by-pedrobaeza-bump-minor |
Other repositories: |
AITIC/e-commerce,
Change2improve/e-commerce,
OCA/e-commerce,
Spearhead-Odoo/e-commerce,
Tecnativa/e-commerce,
acsone/e-commerce,
agrista/odoo-e-commerce,
camptocamp/e-commerce,
gurneyalex/e-commerce,
and
killvis/e-commerce |
<h1 class="title">Google Tag Manager Enhanced Conversions</h1>
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/e-commerce/tree/15.0/website_sale_google_tag_manager"><img alt="OCA/e-commerce" src="https://img.shields.io/badge/github-OCA%2Fe--commerce-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/e-commerce-15-0/e-commerce-15-0-website_sale_google_tag_manager"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/113/15.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This module allows to configure your Odoo eCommerce to support the Google Tag Manager
Enhanced Conversions. Read more about them in this link: <a class="reference external" href="https://support.google.com/google-ads/answer/9888145?hl=en&ref_topic=3165803">https://support.google.com/google-ads/answer/9888145?hl=en&ref_topic=3165803</a></p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#configuration" id="id1">Configuration</a></li>
<li><a class="reference internal" href="#bug-tracker" id="id2">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id3">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id4">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id5">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="id6">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<a name="configuration"></a>
<h2><a class="toc-backref" href="#id1">Configuration</a></h2>
<p>To configure this module, you need to:</p>
<ol class="arabic simple">
<li>Go to <strong>Website > Configuration > Settings</strong></li>
<li>Search 'Google Tag Manager' option.</li>
<li>Fill in your 'Google Tag Manager Key' (e.g. 'GTM-ABCDEF').</li>
<li>Set 'Enhanced Conversions' on.</li>
</ol>
<p>With it you can configure your GTM conversion scripts for <code>/shop/confirmation</code>
with the following xpath options:</p>
<ul class="simple">
<li><code>//div[@id="gtm_enhanced_conversion_data"]/span[@name='customer_email']</code></li>
<li><code>//div[@id="gtm_enhanced_conversion_data"]/span[@name='customer_name']</code></li>
<li><code>//div[@id="gtm_enhanced_conversion_data"]/span[@name='shipping_street']</code></li>
<li><code>//div[@id="gtm_enhanced_conversion_data"]/span[@name='shipping_city']</code></li>
<li><code>//div[@id="gtm_enhanced_conversion_data"]/span[@name='shipping_zip']</code></li>
<li><code>//div[@id="gtm_enhanced_conversion_data"]/span[@name='shipping_region']</code></li>
<li><code>//div[@id="gtm_enhanced_conversion_data"]/span[@name='shipping_country']</code></li>
</ul>
<p>Only if you have <code>partner_firstname</code> installed, you can also use:</p>
<ul class="simple">
<li><code>//div[@id="gtm_enhanced_conversion_data"]/span[@name='customer_firstname']</code></li>
<li><code>//div[@id="gtm_enhanced_conversion_data"]/span[@name='customer_lastname']</code></li>
</ul>
<p>Otherwise you should figure out how to split <code>customer_name</code> in you js tag scripts.</p>
<a name="bug-tracker"></a>
<h2><a class="toc-backref" href="#id2">Bug Tracker</a></h2>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/e-commerce/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/e-commerce/issues/new?body=module:%20website_sale_google_tag_manager%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
<a name="credits"></a>
<h2><a class="toc-backref" href="#id3">Credits</a></h2>
<a name="authors"></a>
<h3><a class="toc-backref" href="#id4">Authors</a></h3>
<ul class="simple">
<li>Tecnativa</li>
</ul>
<a name="contributors"></a>
<h3><a class="toc-backref" href="#id5">Contributors</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:<ul>
<li>David Vidal</li>
<li>Pilar Vargas</li>
</ul>
</li>
</ul>
<a name="maintainers"></a>
<h3><a class="toc-backref" href="#id6">Maintainers</a></h3>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/e-commerce/tree/15.0/website_sale_google_tag_manager">OCA/e-commerce</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>