Track add to cart and checkout

Track add to cart and checkout

Shopify Partner
25 2 5



I'm trying to track add-to-carts and checkouts on my stores.

I want to achieve this using Javascript. So I have a JS tracking script that I import into my theme.liquid file.


I noticed, that whenever I add something to my cart, a request to "" gets made. Is it possible for me to in a way intercept that request? Or to know when that event occurs?


Or am I completely on the wrong track here? How do you guys or how would you suggest tracking those kinds of events on stores?


Looking forward to hearing from you.

Kind regards,


Replies 0 (0)