Google Ads Conversation Tracking not working

Google Ads Conversation Tracking not working

SujanRoy
Visitor
1 0 0

Hi, I recently installed Google Ads global tag and event snippet code on a Shopify store. The conversion tracking was verified after a few minutes or so. But after that day we connect Google app on Shopify for connecting Google Merchant. Later that day I saw incorrect conversions tracked like 2.9 million sale values and thousands of conversions - there were no sales on Shopify. Then I saw Google Shopping Conversion Actions were created automatically and some of them are "unverified". 

4434343c3434.PNG

 

Then I figured out that the Shopify Google sales channel app automatically creates conversion tracking actions and duplicate conversion tracking codes trigger incorrect conversion results. So, I removed all the manually installed codes including Google Global Site Tag and even snippet. Because the Google Tag assistant was showing 2 Global Site Tags. 

 

After removing all the manually installed tracking codes, I disconnected the Google Ads account on Shopify and reconnected it. But still, the Google Shopping conversion tracking is "unverified". However, on Google Tag assistant, I see the Google conversion tracking is "Green" and one Global Sie Tag error status. 
414312312312123123.PNG

Please help me resolve this issue. Thanks!

Reply 1 (1)

EmmanuelFlossie
Shopify Partner
3717 284 856

I recommend you manually install conversion tracking.

 

You can remove all the ones you don't want to use in Google Ads > tools and settings > conversions

 

Make sure you install it in Shopify > Settings > Checkout > Additional scripts

 

Here is the recommended code:

 

<!-- FEEDARMY START Global site tag (gtag.js) - Google Ads V1.9 -->
<!-- For the latest and updated code: https://feedarmy.com/kb/adding-adwords-conversion-tracking-to-shopify/ -->
{% assign fa_send_to = 'AW-123456789/abcdefghijlklmnopq' %}
{% assign fa_include_tax_and_shipping = 'no' %}

{% comment %}DO NOT EDIT BELOW{% endcomment %}
{% if fa_google_coding %}{% assign fa_google_coding = true %}{%- else -%}{% assign fa_google_coding = false %}{%- endif -%}
{% if fa_include_tax_and_shipping == 'no' %}
{% assign fa_checkout_price = checkout.subtotal_price | divided_by: 100.0  %}
{%- else -%}
{% assign fa_checkout_price = checkout.total_price | divided_by: 100.0   %}
{%- endif -%}
{% assign fa_google_ids = fa_send_to | split: "/"  %}
{% if fa_google_coding == false %}
<script async src="https://www.googletagmanager.com/gtag/js?id={{fa_google_ids[0]}}"></script>
{%- endif -%}
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', '{{fa_google_ids[0]}}', {'allow_enhanced_conversions':true});
</script>
{% if first_time_accessed %}
<script>
  gtag('event', 'conversion', {
      'send_to': '{{ fa_send_to }}',
      'value': {{ fa_checkout_price }},
      'currency': '{{ currency }}',
      'transaction_id': '{{ order.name||order_number }}'
  });
  var enhanced_conversion_data = {
  "first_name": "{{ billing_address.first_name }}",
  "last_name": "{{billing_address.last_name}}",
  "home_address": {
  "street": "{{billing_address.street}}",
  "city":"{{billing_address.city}}",
  "region": "{{billing_address.province}}",
  "postal_code": "{{billing_address.zip}}",
  "country": "{{billing_address.country_code}}"
  }
  };
  if("{{ customer.email }}"){
    enhanced_conversion_data.email = "{{ customer.email }}";
  }
  if("{{ billing_address.phone }}"){
    enhanced_conversion_data.phone_number = "{{ billing_address.phone }}";
  }
</script>
{% endif %}
<!-- FEEDARMY END Global site tag (gtag.js) - Google Ads V1.9 -->
Maximize Your Google Shopping Performance
Get in touch for expert guidance. Need Google Merchant Center or Google Shopping support?
Get expert help from Emmanuel Flossie, a Google Shopping Specialist, Google Ads Diamond Product Expert, and award-winning Google Product Expert (Education 2021 & Tailwind Champion 2023).