Conversion Tracking Issue

289 views
Skip to first unread message

Arsh Deep

unread,
Jun 23, 2023, 11:14:00 AM6/23/23
to Google Ads API and AdWords API Forum
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

Google Ads API Forum Advisor

unread,
Jun 26, 2023, 10:28:24 AM6/26/23
to arsh.cli...@gmail.com, adwor...@googlegroups.com
Hi Arsh,

Thank you for reaching out to the Google Ads API support team. I hope that you are doing well today.

Moving forward to your concern, could you please confirm if you are using Google Ads API? Please note that our team only provides support for Google Ads API related concerns. If you are seeing this via API, could you please provide us the complete API logs (request and response with request-id and request header) generated on your end?
Note that logs can be requested or provided to the developer handling the Google Ads API transactions when logging of the API requests has been enabled. You may check here and click your client library for the specific guideline to enable it.  
For REST interface requests, you can enable logging via the curl command by using the -i flag. This will cause the tool to include the HTTP response headers in the output. 

You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

However, if you are not using Google Ads API, I suggest reaching out to the Google Ads Product Support team to assist you further with your concern.  
This message is in relation to case "ref:_00D1U1174p._5004Q2mWtO7:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages