Cart

Added To Cart

zlt.track('Added To Cart', {
  cart_id: '',
  product_id: '',
  sku: '',
  category: '',
  product_type: '',
  name: '',
  brand: '',
  variant: '',
  variant_id: '',
  price: ,
  currency: '',
  quantity: 1,
  coupon: '',
  on_sale: false,
  url: 'https://www.example.com/product/path',
  image_url: 'https://www.example.com/product/path.jpg'
});

Removed From Cart

zlt.track('Removed From Cart', {
  cart_id: '',
  product_id: '',
  sku: '',
  category: '',
  product_type: '',
  name: '',
  brand: '',
  variant: '',
  variant_id: '',
  price: ,
  currency: '',
  quantity: 1,
  coupon: '',
  on_sale: false,
  url: 'https://www.example.com/product/path',
  image_url: 'https://www.example.com/product/path.jpg'
});

Cart Viewed

zlt.track('Cart Viewed', {
  cart_id: '',
  products: [
    {
      product_id: '',
      variant_id: '',
      sku: '',
      name: '',
      price: ,
      quantity: ,
      category: '',
      product_type: '',
      on_sale: false,
      url: 'https://www.example.com/product/path',
      image_url: 'https:///www.example.com/product/path.jpg'
    },
    {
      product_id: '',
      variant_id: '',
      sku: '',
      name: '',
      price: ,
      quantity: ,
      category: '',
      product_type: '',
      on_sale: false,
      url: 'https://www.example.com/product/path',
      image_url: 'https:///www.example.com/product/path.jpg'
    }
  ]
});

Last updated