I am doing a full integration with MailChimps API. This includes creating a ‘shop’ on the MC platform, passing all the product details into the shop.
After purchases managed by Snipcart, I use the " cart.confirmed" event to pass the purchased product data to MailChimp along with campaign ID’s etc. This is so we can track the conversion rates of campaigns and also enable automatic recommendations of products to buyers.
Its all working fine, except there is one thing I can’t seem to do. MailChimp can track abandoned carts but to do so it needs the cart contents and buyer email address before purchase.
If I use “cart.created” event I cannot access the buyer email (as its often not added yet). I thought perhaps I could use “shipping.selected” event but the object returned does not include the cart or buyer email.
Is there a JS event that is fired BEFORE the cart payment is made, but after the buyer email address has been added, that includes the cart details and the buyer details. If so I can use this to track carts on MailChimp before payment is made.