Google Ads Conversion tracking not working

Solved
Luxy
Tourist
7 0 5

Hello everyone,

Yet another conversion tracking thread starting some of you might say. Unfortunately, I went over almost all the similar threads from the past but still could not figure out why mine is not working, i.e. Google Ads conversion action status is still stuck in 'Unverified' state and conversions are not being tracked by Google Ads although I think I configured everything as suggested and tested it via a test order on my store.

I use Google Tag assistant to see what tags and events being fired on each page and in fact recorded the session for the live test order. I also captured the source code on the 'thank you' page for the same.

Here is what I currently have configured on Shopify and my observations for each of them:

  • Google Analytics tag populated on Online Store -> Preferences section. This works great and the tag shows up on all of our web pages including the individual steps of the checkout process. And with enhanced ecommerce being turned on, all the sales and the purchase values etc. are being recorded properly inside Google Analytics Conversions -> Ecommerce
  • Google Ads global tag placed in theme.liquid file as well as in additional scripts box of Checkout settings along with event snippet after reviewing the instructions carefully on these three pages:

1. Shopify instructions

2. DigitalDarts by @Josh_Uebergang 

3. FeedArmy by @EmmanuelFlossie 


Here is the code I have in Additional scripts box:

{% if first_time_accessed %}
<!-- Global site tag (gtag.js) - Google Ads: 745162621 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-745162621"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'AW-745162621');
</script>

<!-- Event snippet for Luxy Sale conversion page -->
<script>
  gtag('event', 'conversion', {
      'send_to': 'AW-745162621/OBsgCNrBy94BEP2OqeMC',
      'value': {{ checkout.total_price | money | remove: ',' }},
      'currency': 'USD',
      'transaction_id': '{{ order_number  }}',
  });
</script>
{% endif %}

 

Here is the log portion from Google Ad Assistant recording showing that Google Ads gtag was indeed seen on thank you page along with Google Analytics tag but only events fired were for Google Analytics not for Google Ads:

GTA_page1.png

GTA_page2.png


And here is screenshot of the thank you page source code for the test order:

thank you_source_code.png

It is clearly showing both Google Ads gtag and event snippet populated with right values. It's been days since I placed this test order. Hence, I am puzzled why this worked for many others before but not for me.

Any help is appreciated.

Thanks!

Accepted Solution (1)
EmmanuelFlossie
Shopify Partner
2316 166 582

This is an accepted solution.

The value can only be numeric, ie no currency symbols or currency codes.

Instead of $63.28 it should be 63.28

When you add non numeric data without wrapping it with quotes you get syntax errors.

Regardless it should be only numeric. I'm perplexed you managed to add a dollar symbol, my code does not allow this. So you must have made edits.

 

Instead of 

{{ checkout.total_price | money | remove: ',' }}

it should be

{{ total_price | money_without_currency | remove:',' }}

 

 

 

I'm a Google Shopping Specialist and a Google Product Expert Education Award winner, a Google Ads Diamond Product Expert, and also a Google Premier Partner.
Need Data Feed or Google Shopping support? Get in touch.

View solution in original post

Replies 43 (43)
EmmanuelFlossie
Shopify Partner
2316 166 582

This is an accepted solution.

The value can only be numeric, ie no currency symbols or currency codes.

Instead of $63.28 it should be 63.28

When you add non numeric data without wrapping it with quotes you get syntax errors.

Regardless it should be only numeric. I'm perplexed you managed to add a dollar symbol, my code does not allow this. So you must have made edits.

 

Instead of 

{{ checkout.total_price | money | remove: ',' }}

it should be

{{ total_price | money_without_currency | remove:',' }}

 

 

 

I'm a Google Shopping Specialist and a Google Product Expert Education Award winner, a Google Ads Diamond Product Expert, and also a Google Premier Partner.
Need Data Feed or Google Shopping support? Get in touch.
Luxy
Tourist
7 0 5

Hey @EmmanuelFlossie,

Thanks a lot for taking time to find out the issue. I did not realize that would be the issue. I can't quite remember where I first saw the example using 'money' but then I went to Shopify Developers site to verify that:

https://shopify.dev/docs/themes/liquid/reference/filters/money-filters#money

But looks like I should have either quoted that or use 'money_without_currency' as you indicated to avoid syntax errors which is what I just did and it worked perfectly. I could see the conversion event being fired and also Conversion status is changed from 'Unverified' to 'No recent conversions' (which is fine) on Google Ads side.

Thanks again!

EmmanuelFlossie
Shopify Partner
2316 166 582

Pleasure

I'm a Google Shopping Specialist and a Google Product Expert Education Award winner, a Google Ads Diamond Product Expert, and also a Google Premier Partner.
Need Data Feed or Google Shopping support? Get in touch.
CarloVialiv
Tourist
9 0 1

Hi,

You don't believe how happy I am that this thread exist with an expert in it! 

So I also did everything according to every tutorial I could find out there and my snippet is also showing on the thank you page, but my Google Ads just won't show me any conversions...

What is weird is that I have test bought something in my store for a total amount of 8.94 EURO, but it's showing 894 instead. This the thank you page:

 

1.jpg

 

This is what I have pasted in the Setting -> Checkouts in Shopify:

2.jpg

This I put in the head of my liquid theme:

3.jpg

 

Google Ads is showing the Conversion as "Unverified" here in German "Nicht überprüft"

Bildschirmfoto 2020-12-04 um 17.42.26.png

 

What am I doing wrong? I'm going crazy here. Pls help 🙂

EmmanuelFlossie
Shopify Partner
2316 166 582

This can happen when the price is 8,94 in Shopify, instead of 8.94

 

For the conversion value use 

{{ checkout.total_price | money_without_currency | remove:'.' | replace: ',', '.' }}
I'm a Google Shopping Specialist and a Google Product Expert Education Award winner, a Google Ads Diamond Product Expert, and also a Google Premier Partner.
Need Data Feed or Google Shopping support? Get in touch.
CarloVialiv
Tourist
9 0 1

Thanks so much!! 

I fixed it. Now the thank you page is showing me:

1.jpg

2.jpg

 

It seems like the conversion tag is firing and the EURO amount is correct now. The tracking status has also changed to "No recent conversions" although I have test bought something

Why isn't it showing me anything? Do I have to click on one of my ads and buy then? I thought it shows all conversions in this window:

Bildschirmfoto 2020-12-05 um 11.35.39.png

 

Thank you a lot for your help 🙂

EmmanuelFlossie
Shopify Partner
2316 166 582

Google Ads has a delay in tracking data. Make sure to wait 24 hours, before checking.

And if an ad was not clicked on, that lead to a sale, then the conversion will not be counted towards a Google Ads conversion.

I'm a Google Shopping Specialist and a Google Product Expert Education Award winner, a Google Ads Diamond Product Expert, and also a Google Premier Partner.
Need Data Feed or Google Shopping support? Get in touch.
CarloVialiv
Tourist
9 0 1

I understand.

So the only way to test is to click on my own ad, do a test purchase and wait for 24h?

EmmanuelFlossie
Shopify Partner
2316 166 582

Correct, however, I would not bother. As long as the tag is active, it will work considering you have already tested and checked the sourcecode.

I'm a Google Shopping Specialist and a Google Product Expert Education Award winner, a Google Ads Diamond Product Expert, and also a Google Premier Partner.
Need Data Feed or Google Shopping support? Get in touch.
CarloVialiv
Tourist
9 0 1

@EmmanuelFlossie Thank you so much for fast and detailed answering! Cheers

jesperahlbomUK
Shopify Partner
51 4 20

@EmmanuelFlossie I don't know how many test orders I did before realizing that it will not count as a conversion in google ads if it's not clicked through an ad...

Great guides on feedarmy, thank you for that! 

 

oandf
New Member
2 0 0

Hi Emmanuel,

A bit of confusion here for me as my conversion tracking status is also “unverified” still on Google. My code is installed correctly on Shopify and monetary values don’t show a “£” sign beforehand. I’ve put a test transaction through from ads too and nothing has happened.

I’m being told that to run conversion tracking for Google Ads you need a Shopify Premium subscription rather than a Basic one - does this sound correct to you / is it something you’ve heard of before?

Thanks,

Will

 

EmmanuelFlossie
Shopify Partner
2316 166 582

You can use any Shopify account, there is no need for premium.

So most likely something is not correctly installed. If you continue to struggle, you are welcome to contact me personally. I am available for hire.

I'm a Google Shopping Specialist and a Google Product Expert Education Award winner, a Google Ads Diamond Product Expert, and also a Google Premier Partner.
Need Data Feed or Google Shopping support? Get in touch.
oandf
New Member
2 0 0
Thanks Emmanuel.

I use the "Atlantic" theme by Pixel Union - the installation is correct,
but the conversion tracking applies to every page but my checkout.

Pixel Union say it's a Shopify thing, but Shopify have tested on one of
their themes and it's working fine, so we're stuck in the middle a bit.

Please can I have your details and we can discuss rates?
EmmanuelFlossie
Shopify Partner
2316 166 582

Absolutely, you can contact me at hello@feedarmy.com

I'm a Google Shopping Specialist and a Google Product Expert Education Award winner, a Google Ads Diamond Product Expert, and also a Google Premier Partner.
Need Data Feed or Google Shopping support? Get in touch.
ruggedrestore
New Member
2 0 0

Hey folks! I seem to have my conversions working, but I have a dumb question, for google ads, do we need an attribute with the actual AD/CAMPAIGN ID so we can trac? And, if so, where does it go?

When you set the conversion code, I don't see anyway to do it by campaign id, so does it measure all of that automatically when someone clicks on the ad? I'm using the DigitalDarts AND FeedArmy method.

ALSO, do we need to do separate code for EACH campaign so you can track conversions that way, or again, is it automatic?

Thank you!

 

Screen Shot 2020-12-16 at 9.26.49 AM.png

EmmanuelFlossie
Shopify Partner
2316 166 582

The conversion credit is assigned to the last ad clicked on before the purchase is made.

 

So if someone click on a text ad then shopping ad and buys. The last-click credit goes to shopping.

 

However if you are using position based attribution, then both text and shopping get 40% click attribution and the remaining 20% to all clicks in between equally divided 

More info: https://feedarmy.com/kb/learn-more-about-google-ads-attribution/

 

So in short, you just need to install conversion tracking once, without any additional setup.

I'm a Google Shopping Specialist and a Google Product Expert Education Award winner, a Google Ads Diamond Product Expert, and also a Google Premier Partner.
Need Data Feed or Google Shopping support? Get in touch.
ruggedrestore
New Member
2 0 0

Awesome, thank you so much!

Vincbkk
New Member
2 0 0

Hi Emmanuel,

 

Regarding the setup with the google ad tag and shopify, my tags are inactive and i didn't understand why. I would like some help to fix it. 

Vincbkk_1-1616051718415.png

 

I follow the step and add it on the theme.liquid 

Vincbkk_0-1616051647016.png

 

I also add the Event snippet on Additional scripts oh the checkout shopify

 

Vincbkk_2-1616052515884.png

Please help 

Thank you 

Vincent

 

EmmanuelFlossie
Shopify Partner
2316 166 582

Conversion tracking for sales are installed in Settings > Checkout > Additional scripts, not on your theme.

Here is a guide: https://feedarmy.com/kb/adding-adwords-conversion-tracking-to-shopify/

I'm a Google Shopping Specialist and a Google Product Expert Education Award winner, a Google Ads Diamond Product Expert, and also a Google Premier Partner.
Need Data Feed or Google Shopping support? Get in touch.
Vincbkk
New Member
2 0 0

Thank you

Lelvin
Excursionist
15 0 3

Hello FeedArmy

I have conversions correctly setup for my shopify store too but it's still showing unverified after more than a week. 

This is the code on my checkout 

{% if first_time_accessed %}
<!-- Global site tag (gtag.js) - Google Ads: 472933727 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-472933727"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'AW-472933727');
</script>
<!-- Event snippet for Store Purchase conversion page -->
<script>
gtag('event', 'conversion', {
'send_to': 'AW-472933727/ENmECNyircYCEN_KweEB',
'value': {{ total_price | money_without_currency | remove: ',' }},
'currency': 'USD',
'transaction_id': ''{{ order_number }}''
});
</script>
{% endif %}

EmmanuelFlossie
Shopify Partner
2316 166 582

And did you have a purchase since the installation? If not, make sure to perform a test purchase. Google Ads can only see the conversion tracking if someone has entered the final page in the purchasing path.

Also your code example seems to be an older version of my code. This has been updated.

I'm a Google Shopping Specialist and a Google Product Expert Education Award winner, a Google Ads Diamond Product Expert, and also a Google Premier Partner.
Need Data Feed or Google Shopping support? Get in touch.
Lelvin
Excursionist
15 0 3

The store has been getting orders but I'm not sure it's from the Ad.

I'll ask the client to initiate a test purchase to see if the tag will fire.

Meanwhile can you please paste the updated code

 

EmmanuelFlossie
Shopify Partner
2316 166 582

In that case, Google will be able to detect the script. The order does not need to come from ads, any order is fine.

The updated code can be found here: https://feedarmy.com/kb/adding-adwords-conversion-tracking-to-shopify/

I'm a Google Shopping Specialist and a Google Product Expert Education Award winner, a Google Ads Diamond Product Expert, and also a Google Premier Partner.
Need Data Feed or Google Shopping support? Get in touch.
Lelvin
Excursionist
15 0 3

Thanks.

I made the edits and pasted the code in my additional scripts section of my shopify store.

It's still unverified as at the time of writing this 

EmmanuelFlossie
Shopify Partner
2316 166 582

Wait at least 24 hours and ensure a conversion has taken place from any source. If you continue to have issues. Then you may have other issues.

I'm a Google Shopping Specialist and a Google Product Expert Education Award winner, a Google Ads Diamond Product Expert, and also a Google Premier Partner.
Need Data Feed or Google Shopping support? Get in touch.
Lelvin
Excursionist
15 0 3

What other issues do you think might cause this? 

EmmanuelFlossie
Shopify Partner
2316 166 582

As your issue is technical in nature, without looking at it, can be a guessing game. So best to either have someone look at your issue, or contact Google for support.

I'm a Google Shopping Specialist and a Google Product Expert Education Award winner, a Google Ads Diamond Product Expert, and also a Google Premier Partner.
Need Data Feed or Google Shopping support? Get in touch.
Lelvin
Excursionist
15 0 3

The issue was technical and Google Tag Implementation team finally helped me solve it.

It's now reporting "No recent conversions".

Thanks for your help.

Medici_Internet
New Member
3 0 0

Hi, I have also a similar problem. Google Ads doesn't show the conversion via Shopify. I have connected the Google Ads & Shopify via Google Channel. I removed all the hard codes. There is only one code (google channel code). How can fix this problem? 

 

Thank you & Best regards.

 

screenshot-ads.google.com-2021.07.06-09_20_36.pngscreenshot-fungex.myshopify.com-2021.07.06-09_21_51.pngscreenshot-fungex.myshopify.com-2021.07.06-09_22_17.pngscreenshot-fungex.myshopify.com-2021.07.06-09_23_51.png

EmmanuelFlossie
Shopify Partner
2316 166 582

It looks like you are using the app conversion tracking that is automatically added.

You could if you want to, manually install the conversion tracking, here is a guide: https://feedarmy.com/kb/adding-adwords-conversion-tracking-to-shopify/

Make sure to remove the other purchase actions, to avoid potential issues.

I'm a Google Shopping Specialist and a Google Product Expert Education Award winner, a Google Ads Diamond Product Expert, and also a Google Premier Partner.
Need Data Feed or Google Shopping support? Get in touch.
Medici_Internet
New Member
3 0 0

thanks for your reply @EmmanuelFlossie  should i also disconnect the app and remove this code : 

<meta name="google-site-verification" content="fPcOlTdlIzWPVsljcTBSUgRrDBbxHZAahUXbFRWiCGQ" />
</head>

 

Thank you.

Lelvin
Excursionist
15 0 3

Have you resolved it?

EmmanuelFlossie
Shopify Partner
2316 166 582

No, simply delete the original conversion actions in Google Ads.

Add the new conversion tracking.

Do not remove the meta tag, this is for site verification.

I'm a Google Shopping Specialist and a Google Product Expert Education Award winner, a Google Ads Diamond Product Expert, and also a Google Premier Partner.
Need Data Feed or Google Shopping support? Get in touch.
yvanstroop
New Member
2 0 0

Hi @EmmanuelFlossie,

I to seem to be having issues with my Google Ads Conversion tracking even though I have followed the guides from Shopify, Digitaldarts and you.

My tracking tag stays "unverified".

My store is set up for multi currency checkout and this is the code I have in my "additional scripts" box:

Schermafbeelding 2021-11-03 om 11.48.29.png

The Global site tag is also added to the theme.liquid file:

Schermafbeelding 2021-11-03 om 11.55.19.png

I do not know what i'm doing wrong in this setup. I hope you can help me figuring out this issue.

Kind regards,

Yvan

EmmanuelFlossie
Shopify Partner
2316 166 582

Make sure you have waited at least 24 hours. You can also speed up the process by creating a test purchase. and viewing the thank you page source code or use Tag Assistant

I'm a Google Shopping Specialist and a Google Product Expert Education Award winner, a Google Ads Diamond Product Expert, and also a Google Premier Partner.
Need Data Feed or Google Shopping support? Get in touch.
yvanstroop
New Member
2 0 0

Hi @EmmanuelFlossie,

Thanks for your reply. I have waited for a couple of days but the tag status has not changed even though I have received orders. I did take a look at the order confirmation page which shows the following:

Schermafbeelding 2021-11-03 om 13.05.02.png

I see this line of code which I believe should not be there. Also, only the global tag is being fired when checking this page. Any thoughts about this?

EmmanuelFlossie
Shopify Partner
2316 166 582

Yes it looks like whatever you did in the additional scripts, is breaking the page and code. So something must have been incorrectly installed.

 

I recommend trying to redo it, or contact Shopify for them to help you. Or hire someone to help you.

I'm a Google Shopping Specialist and a Google Product Expert Education Award winner, a Google Ads Diamond Product Expert, and also a Google Premier Partner.
Need Data Feed or Google Shopping support? Get in touch.
Killcare9
New Member
2 0 0

Hi,

On shopify under my google accounts it says this "We put a conversion action into your Google Ads account to track orders and revenue. If you use more than one action in your conversion tracking, your orders and revenue might be counted twice." Does this mean I have to put the global site tag in still? Or will then my revenue be counted twice. Currently on google ads is says the status of my conversions in unverified. If you help me with some info or suggestions here that would be great!

EmmanuelFlossie
Shopify Partner
2316 166 582

You need to install everything, including the global site tag. If you add the order id and if first time visit code. Google will only record 1 conversion.

I'm a Google Shopping Specialist and a Google Product Expert Education Award winner, a Google Ads Diamond Product Expert, and also a Google Premier Partner.
Need Data Feed or Google Shopping support? Get in touch.
Killcare9
New Member
2 0 0

Thanks for you're help, the conversions are already showing in google analytics, does this mean that the data is not correct? And how do I ensure conversions are not recorded twice?

EmmanuelFlossie
Shopify Partner
2316 166 582

I recommend you compare the data between Google Ads and Shopify. You should easily spot any double conversions.

I'm a Google Shopping Specialist and a Google Product Expert Education Award winner, a Google Ads Diamond Product Expert, and also a Google Premier Partner.
Need Data Feed or Google Shopping support? Get in touch.