How can I properly set up event tracking for my ecommerce site?

Hi there,

Can anyone support with an article in terms of how I set up prober attribution/tracking for the following Shopify webshop - https://reframedbrand.com/. (see the cart does not a specific URL, but functions as a widget)

I need the following events in place:

  1. Viewed content/product

  2. Initiated Checkout

  3. Payment added

  4. Purchase

Thanks!