Google Ads Conversion Tracking Help

Solved
Craft_52
Shopify Partner
5 0 1

For the last couple weeks, I've been trying to get Google Ads Conversion Tracking up and running, and I just can't seem to get it properly implemented. 

 

I've tried implementing the tags based on the Shopify documentation. I've also tried the method described in this documentation. Right now I have the tags implemented using the Digital Darts documentation with both the Site Tag and the conversion event all loaded directly into the checkout scripts.

 

After a few weeks with each install, I'm seeing purchase conversions from my Google Ads in Google Analytics, but I'm not seeing any conversions in the google ads platform. Additionally, the conversion tag is still marked "Unverified" in Google Ads.

Screenshot 2019-02-05 15.09.52.png

 

Here is the code that's running on the checkout page pulled from View Source. Though I've greyed out the account numbers, they all match.

Screenshot 2019-02-05 08.56.12.png

Here's what my Google Tag Assistant is picking up when i hit an order thank you page. Again all the greyed out account numbers for the AW tags match up.

 

Screenshot 2019-02-05 08.55.49.png

 

I guess question #1. Why is the Conversion tag being triggered as a Remarketing Tag in Tag assistant? I that normal? Tag assistant is asking me to verify the Remarketing tag with a Feed ID. But I don't have one as I don't have any dynamic remarketing feeds. This should just be a standard conversion tag correct? 

 

Question #2. Anyone got any ideas on why, after several weeks, with conversions registering in Google Analytics, my Google Ads conversion isn't working? Is the tag implemented wrong? Funkiness in shopify? 

 

Pulling my hair out on this one, as I'm sure it's super simple. But would love some help. Thanks in advanced.

 

 

Accepted Solution (1)

Accepted Solutions
Josh_Uebergang
Shopify Expert
853 30 214

This is an accepted solution.

Hey mate,

 

Glad you've used my guide :-). You're going to kick yourself with this problem. The currency field has the wrong character for the apostrophe. It should be 'USD' not USD. Notice the subtle difference. It's invalid javascript.

Run Google Shopping ads? Get the free definitive guide to Google Shopping for Shopify (no optin required): https://www.digitaldarts.com.au/google-shopping

View solution in original post

Replies 38 (38)
Josh_Uebergang
Shopify Expert
853 30 214

This is an accepted solution.

Hey mate,

 

Glad you've used my guide :-). You're going to kick yourself with this problem. The currency field has the wrong character for the apostrophe. It should be 'USD' not USD. Notice the subtle difference. It's invalid javascript.

Run Google Shopping ads? Get the free definitive guide to Google Shopping for Shopify (no optin required): https://www.digitaldarts.com.au/google-shopping
Craft_52
Shopify Partner
5 0 1

Thanks man. After trying everything for a couple weeks. I was prepared for a little oversight like that an incredible simple solution...eyes were going cross looking at that code. Probably why i missed it. 

abdulwahab
New Member
3 0 0

Hello Josh,


I am facing a similar problem and I have checked the code syntx as well. I have implemented the google ads conversion according to the two documentations below but it is still not verified since 2 days and Google ads are also not showing up. My website is paulareiswatches.com. Can you also have  a look at the checkout pages?
https://help.shopify.com/en/manual/promoting-marketing/analyze-marketing/tracking-adwords-conversion...
https://www.digitaldarts.com.au/google-ads-conversion-tracking-shopify

Can you please have a look and let me know if the codes are implemented correctly. I also see that robots.txt file is blocking Google Ads bot which could also be the reason that the bot couldn't crawl checkout pages and hence wasn't able to verify conversion codes?

The code I have added in the checkout additional scripts section is below:

 

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

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

<!-- Event snippet for Google Ads Product Sales conversion page -->
<script>
gtag('event', 'conversion', {
'send_to': 'AW-75038----/d8haCOut3JoBEKnY5-UC',
'value': {{ checkout.total_price | money_without_currency }},
'currency': '{{ shop.currency }}',
'transaction_id': '{{ order_number }}'
});
</script>
{% endif %}

I have omitted last few numbers from the adwords code

Thank you for your support.

Josh_Uebergang
Shopify Expert
853 30 214

Your conversion tracking will not affect your Google Ads from showing up in anyway. The code looks right to me. You can test it by putting the conversion code outside of the "{% if first_time_accessed %}" wrapping, then view the order status page of an order.  Paste the conversion code you see here. If that's right, it should also verify within the day.

Run Google Shopping ads? Get the free definitive guide to Google Shopping for Shopify (no optin required): https://www.digitaldarts.com.au/google-shopping
abdulwahab
New Member
3 0 0

Thank you for your reply Josh. I have removed {% if first_time_accessed %} and {% endif %} wrapping from the conversion code but I cannot reach order status page unless I make payment, there is no cash on delivery option. If there is any other way to reach order status page let me know. I really appreciate your help. Thanks again!

Josh_Uebergang
Shopify Expert
853 30 214

Go to an existing order. Then from the top, you can click to view the order status page without having to make a fresh order. Here's a screenshot I made of it for you:

Run Google Shopping ads? Get the free definitive guide to Google Shopping for Shopify (no optin required): https://www.digitaldarts.com.au/google-shopping
abdulwahab
New Member
3 0 0

Thank you for your support Josh. The day I removed this wrapping "{% if first_time_accessed %}" the code was verified by Google ads. Thank you

Sty
New Member
8 0 0

Hey Josh,

 

Maybe you could also help me.

Google Tag Assisant only shows the following:

1. Global site tag (gtag.js)

2. Google Ads Remarketing Tag

3. Google Analytics

Google Tracking status: Unverified

 

I added the following to the checkout additional scripts:

 

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

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

 

<!-- Event snippet -->
<script>
 gtag('event', 'conversion', {
    'send_to': 'AW-776...........................',
    'value': {{ checkout.total_price | money_without_currency }},
    'currency': 'EUR',
    'transaction_id': '{{ order.order_number }}'
 });
</script>

 

Thanks in advance ~

Josh_Uebergang
Shopify Expert
853 30 214

Hi Sty. Please open up a new forum thread with your problem. That way people are more likely to help as this one is already marked as solved.

 

Have you followed the testing steps in the Google Ads tracking guide? Search "debugging" on the page.

 

Also, test clicking on an actual live ad of yours then make the purchase in that session. View the source code on the thank you page and paste the gtag part of it here. The conversion should come through to Google Ads in 3 hours.

Run Google Shopping ads? Get the free definitive guide to Google Shopping for Shopify (no optin required): https://www.digitaldarts.com.au/google-shopping
vinods
Shopify Partner
717 12 89

Hello @Josh_Uebergang 

 

recently there was a problem in Google conversion tracking in Shopify.

 

If the shopify website has Analytics setup and when we ad the google conversion code in shopify then too the conversions were not getting tracked.

 

I also saw your guide everything was fine while placing the code on client website.

 

Do you have anydesk so i can share the screen?

 

Thanks

Vinod

Vinod Sachdev
Digital Centrics
Digital Marketing Consultant
Google & Bing Ads | Web Design & Development | Conversion Rate Optimization
Sty
New Member
8 0 0

Hi @vinods ,

 

were you able to find a fix?

I also got analytics setup and my google conversion counter isn't working.

 

Thanks in advance ~

Sty

vinods
Shopify Partner
717 12 89

hi @Sty 

No currently am importing goals in google adwords from google analytics.

 

Please let me know if you find a solution am finding too.

 

Thanks

Vinod

Vinod Sachdev
Digital Centrics
Digital Marketing Consultant
Google & Bing Ads | Web Design & Development | Conversion Rate Optimization
Josh_Uebergang
Shopify Expert
853 30 214

Clicks have to come from the Google Ads for them to be imported and reported through the Google Analytics import option. Having said that, we never see a perfect match for a client, but it should be within 10% accuracy.

Run Google Shopping ads? Get the free definitive guide to Google Shopping for Shopify (no optin required): https://www.digitaldarts.com.au/google-shopping
ChristianL
New Member
14 0 0

@Sty Did you find a solution for Google Ads Conversion Tracking getting recognized as a Remarketing Tag? My Tag Assistant shows me the same results and Goolge Tracking status stays unverified (I am quite sure that there is no ad click needed to verify or am I wrong)

Sty
New Member
8 0 0

@ChristianL  Sadly so solution yet.

When I check the "thank you page" there is no conversion tag and my tracking status on google ads is still unverified.

An ad click shouldn't be needed since Google goes after the tags.

vinods
Shopify Partner
717 12 89

yes this is the problem.

Vinod Sachdev
Digital Centrics
Digital Marketing Consultant
Google & Bing Ads | Web Design & Development | Conversion Rate Optimization
ChristianL
New Member
14 0 0

Thanks @vinods .
Any news from Shopify when this issue might be fixed?
Does it work for you if you set a up a goal in Analytics for the thank_you page? 
I would have set up a trigger in GTM to target the thank_you page with the Google Conversion tracking.
But I can't include GTM in the checkout pages (even when it's setup in the additional analytics script in Admin area.

vinods
Shopify Partner
717 12 89

@ChristianL 

 

Yes you setup the goal in analytics and then import the goals in conversions.

 

Shopify needs to get this sorted as the reason is the sales which are happening in ecommerce website that also needs to be tracked in adwords

Vinod Sachdev
Digital Centrics
Digital Marketing Consultant
Google & Bing Ads | Web Design & Development | Conversion Rate Optimization
vinods
Shopify Partner
717 12 89

one more problem is seen in shopify tracking.. when sales have happened when you see conversion details it shows session from google in this it shows organic search but sales has been made from google ads this has happened lot of times shopify team please re-sort this it should show conversion from google paid ads and if it organic search then google organic is ok

Vinod Sachdev
Digital Centrics
Digital Marketing Consultant
Google & Bing Ads | Web Design & Development | Conversion Rate Optimization