Tracking parameters

Events

Following events are supported:

  1. ProductViewed - tracked when dedicated product page (PDP) was viewed

  2. ProductAddedToCart - tracked when product added to shopping cart

  3. CheckoutCompleted - tracked when checkout completed successfully

Event Data Structure

Data structure is the same for all three events and should include at least one product:

{
  partnerUserId: "123-123",
  products: [
    {
      id: "1",
      name: "Name",
      buyUrl: "https://...",
      imageUrl: "https: //...",
      brand: "A name",
      price: 123.99,
      currency: "USD"
    },
    {
      id: "2",
      name: "Another Name",
      buyUrl: "https://...",
      imageUrl: "https: //...",
      brand: "Brand name",
      price: 22,
      currency: "USD",
      quantity: 3
    }
  ]
}

Event Object

Product Object

All fields are required except quantity

Last updated