Google Ads Conversion Tracking Help

Solved
New Member
3 0 0

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.

 

 

0 Likes
Highlighted

Success.

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
1 Like
New Member
3 0 0

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. 

0 Likes
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.

0 Likes

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
0 Likes
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!

0 Likes

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
0 Likes
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

0 Likes