Add to Cart

When a user adds a product (item) to their cart, log this event with the specific product added as one event item.

  • User ID (recommended)
  • Facebook User ID (recommended if authentication with Facebook)
  • Twitter User ID (recommended if authentication with Twitter)
  • Google User ID (recommended if authentication with Google)
  • Latitude (optional)
  • Longitude (optional)
  • Altitude (optional)
  • Items Added to Cart Array of event items added to cart (required)
    • Event item should include:
      • Name – name of the item
      • Product ID – SKU
      • Unit Price – individual price of one unit
      • Quantity – number of items purchased
      • Revenue – total value of the purchase
  • Revenue (recommended; passed into measureAction)
  • Currency Code (recommended if Revenue set; passed into measureAction)
Add to Cart
Select a preferred platform.

Note: In-App Marketing does not support events or event item data for Add to Cart. Please see Event Measurement and the Event Tags documentation for more information.