Buy Button Google Analytics Sales Tracking

New Member
1 0 0

Hi Gang,

So I've implemented the Buy Button/Add to Cart feature on my site (and I'm on the Shopify Lite plan)

Any ideas on how I properly pass sales information back to Google Analytics? I'm passing UTM parameters through from my marketing tests, and I'd like to know which are performing, and which are not.

My site runs on Wordpress, and I'm sorta familiar with code so I'm happy to monkey around with the source.

Let me know.. Many thanks!


Replies 3 (3)
Shopify Staff
Shopify Staff
509 1 60

Hi Peter,

You are welcome to check out Google Analytics Cross domain tracking to see if that will work for you! It helps track movement from one site to another

There is a Google doc on this here-

There is an app as well in the app store called Analytics buddy, it might be useful to check out as well and see if it would be able to track cross domain movement-

I always recommend getting in touch with an app developer before trying them out,to ensure you like how the app will work with your store! You can do that from the app store by clicking **Get Support** 

I hope that helps!

Anne 🙂

Anne | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Shopify Partner
25 0 13

Did anybody get any luck tracking your sales from the Shopify Buy Button?


For now Google Analytics sees someone who clicks "checkout" as a new direct visitor with no history, it's very frustrating to not be able to attribute the sales to the channel...


Any help is appreciated.

8 0 7

Here's instructions for how to easily feed the referrer URL to Google Analytics every time the Buy Button is clicked and the cart opens. Enjoy!