Yes Jon, the thank you URL remains the same regardless of your payment method.
For anyone that wants to setup a funnel in analytics, just copy my Google Goal template that is pre-made. Here it is https://analytics.google.com/analytics/web/template?uid=Bm5VOIyTT26LoBjnB2NewQ
Taken from my guide: https://www.digitaldarts.com.au/google-analytics-and-shopify-for-splendid-data
Hi Josh, I used your Goal and "verified" the Goal in GA and it showed I would have had 0% conversions based on what I set up. Since I've had sales in the past week I assume I have the wrong code. Please see screenshot...any idea why it's not working for me?
The existing guides and documentation are very helpful and I followed them to the letter. But apparently GA can't track checkout as a goal. I suspect that this has something to do with cross domain tracking as the checkout actually takes place at checkout.shopify.com. We have no problem tracking "add to cart" (/cart), which is still on our own domain.
Would appreciate Shopify providing a trouble shooting guide.
The documentation and guides are very helpful and I followed them to the letter. But the /thank-you page is apparently not tracked by GA as that goal shows 0 while we have sales all the time.
I suspect this failure has something to do with cross domain tracking. We operate under our own domain but the transaction takes place at checkout.shopify.com.
We have no problem tracking "add to cart" since it takes place on our own domain.
It'd be nice if Shopify could provide a trouble-shooting guide so that we can look into possible problem areas.
Hi, I have the same struggle - found no solution to make Google Analytics track purchases with Buy Button of shopify. Simply because when a customer presses 'cart' or ' checkout' - it all goes to 'mystore.myshopify.com', while Google is tracking only 'mydomain.com'.
If anyone coul help with setting this up - I would be very grateful.
Hi Joshua. I'm trying to implement your solution. With our store it looks like the domain is a bit different. For example it is for a recent transaction:
So, using the logic I understood from your reply I entered as the Goal URL in Analytics:
https://checkout.shopify.com/9845508/checkouts/.*/thank_you because I understand the first number is our shop ID and the second is the transaction ID which changes. From your code I understood we could use: .* to include any variable?
But Google Analytics still says there's no eligible goals when I verify, despite several sales. Would really appreciate any help to let me know where it's going wrong...
Thanks in advance!
|2 hours ago|
|3 hours ago|
|7 hours ago|
|9 hours ago|