Hello everyone,

I hope this message finds you well. I would like to bring up an issue that 
I'm currently facing with Google Ads conversion tracking. Specifically, I 
have created a Conversion action called "purchase" and followed the 
instructions provided by Google Ads to set up both the GTAG and Event 
Snippet codes correctly.

In my Shopify store, I have placed the GTAG code in the head section of the 
theme.liquid file, following the provided guidelines. Additionally, I have 
added the event snippet code on the checkout or order status page as per 
the instructions given by Shopify. The code appears to be functioning 
properly, and the tag assistant plugin confirms its correct implementation.

However, the problem arises when I check the conversion data in Google Ads, 
as it displays incorrect values. Despite my efforts, including reaching out 
to support for assistance, I have not yet found a solution to this issue. I 
would greatly appreciate it if anyone could provide some assistance or 
guidance in this matter.

Below is the code I have used:

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

<!-- Event snippet for Purchase conversion page -->
<script>
  gtag('event', 'conversion', {
      'send_to': 'AW-664961873/ZoTTCKmV_8YBENGGir0C',
      'value': {{ checkout.total_price | divided_by: 100.0 }},
      'currency': '{{ shop.currency }}',
      'transaction_id': '{{ order.order_number }}'
 });
</script>


Thank you for your attention and any help you can offer.

Best regards

Arsh

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/52fe4f39-1882-41ef-8b46-39315e2eef2bn%40googlegroups.com.

Reply via email to