App reviews, troubleshooting, and recommendations
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".
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.
Please help me resolve this issue. Thanks!
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 -->
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025