Conversion tracking issue
-
Hi,
I have a new site that has now had two conversions from ads that show up in Google Analytics but are not showing as conversions in Google Ad reporting.
I have done a test transaction and can see on the order received page the Google Ads Conversion ID and a separate script section for the Google Ads Conversion Label are present.
If the code is present on the checkout page, what else could be causing the issue? I don’t have any WordPress cache plugin installed.
I did notice the code Google Ads wants me to add vs what this plugin includes is different.
For example Google Ads sets the event as ‘conversion’ and the plugin sets it as ‘purchase’. There are also a number of notable differences in the code formatting, please see below.
This plugin includes the below.
gtag('event', 'purchase', {"send_to":[["AW-XXXXXXXXX\/XXXXXXXXX"]],"transaction_id":"2417","currency":"GBP","discount":0,"items":[{"id":"2388","quantity":1,"price":11,"google_business_vertical":"retail"}],"value":11.95,"aw_merchant_id":"XXXXXXXXX","aw_feed_country":"GB","aw_feed_language":"EN","new_customer":true});
Google ads wants me to use the below.
<!-- Event snippet for Purchase conversion page --> <script> gtag('event', 'conversion', { 'send_to': 'AW-XXXXXXXXX/XXXXXXXXX', 'value': 1.0, 'currency': 'GBP', 'transaction_id': '' }); </script>
Thanks,
Jamie
- The topic ‘Conversion tracking issue’ is closed to new replies.