Send data to Simon about what products customers have added to their carts. See Event Details and Descriptions for more detail.

Products added to cart are captured using the track command with the add_to_cart event type. Details about the product are added in properties.

The call to add_to_cartsupports an optional cartItems array with all the items in the cart and their corresponding parameters (productId, variant etc.). cartItems should include the product that was just added.

Production Server

Use the form below and try it editor on the right to test your code with either the development or the staging server.

To send live calls, replace the url with the correct Production server endpoint:

Click Try It! to start a request and see the response here!