I am working for a client to set up Google Ecommerce data for their Google Analytics. I have done this once before on another site where I used a Google Ads conversion placed inside of a Google Tag that was placed on the site. However, for this client, we don’t have access to the Google Ads account; we only have access to the Google Analytics and Google Tag Manager. Is there a way to set up a Google Tag that will capture the data we need from their sales?
I have attempted a few different methods I’ve seen on the other forums but after waiting a day in between them being set, we still have no data coming in.
Details: We are using Magento 1.9 for the site and have access to the files to make modifications as needed to our custom theme. The order page ends on a success page for the user that uses the URL ending portion as ‘checkout/onepage/success’.
2
Answers
For those that come across this issue you can do it with the following:
Link from Google that describes the process for set up: https://support.google.com/tagmanager/answer/6107169
Yes you can see the data you need by using Google Analytics API
for example, if you want to check how many transactions between two dates uses this code:
Reporting API V3:
Reporting API V4:
Check this URL for all Dimensions & Metrics :
https://ga-dev-tools.appspot.com/dimensions-metrics-explorer/