Klaviyo tracks a Checkout Started event from Shopify when a shopper enters their email address and shipping information ("Customer information") on the first page of the Shopify checkout process and clicks continue ("Continue to delivery method"). This metric is included in the Klaviyo/Shopify integration and does not require any additional work to set up.
Please note that you must already have Viewed Product tracking installed in order for the Add to Cart event to function properly. You can paste the code (shown below) underneath the Viewed Product code in your product.liquid theme.
Note"AddToCart" may need to be changed depending on the ID of the Add to Cart button of your product page.
This event functions similarly to the Viewed Product event in that each item someone adds to their cart will trigger a new event. So, if you build a flow triggered by the Add to Cart event, make sure to add a condition to the flow that will prevent shoppers from being bombarded with emails each time they add an item to their cart. Additionally, if you also send an abandoned cart flow that's triggered by the Checkout Started event, you'll want to add another filter to the flow to make sure that people who trigger this second flow do not get the Add to Cart flow.