Track Added-to-Cart Event
A 2-step recipe with Omnisend. We can help you get access.
Recipe · 2 steps
Track Added-to-Cart Event
with Omnisend · Customer Data Management
Upsert the shopper contact and emit an added-to-cart event for them.
- Create or update the shopper as a contact so the cart event can be attributed to a known profile.
- Send an added-to-cart customer event for the shopper so abandoned-cart automations fire. Returns 202 Accepted when the event is queued.
What you'll need to have ready
- apiKey: The Omnisend API key sent in the X-API-KEY header.
- email: The shopper email, used as the contact key and event identifier.
- cartId: The store cart id, carried as an event property.
- productId: The product id added to the cart, carried as an event property.
- quantity: The quantity of the product added to the cart.
For your developer
Arazzo workflow omnisend:track-cart-event, 2 operations: {$sourceDescriptions.contactsApi.url}#/paths/~1contacts/post → {$sourceDescriptions.eventsApi.url}#/paths/~1events/post. Specs on APIs.io.