LogoLogo
HomeBlogDocsGuides
  • Engage Documentation
  • GETTING STARTED
    • Quick Start Guide
    • Feature Introduction
    • A basic installation
      • Platform specific installation
  • Integrations
    • Overview
    • Destinations
      • Customer.io
      • Facebook Conversion API
      • Facebook Marketing API
      • Facebook Pixel
      • Google Ads API
      • Google Analytics 4
      • Google Analytics 4 -Send audience data
      • Google Analytics 4 - Server-side
      • Google Enhanced Conversions
      • Klaviyo
      • Klaviyo Server Side
      • LinkedIn Pixel
      • TikTok Pixel
    • Sources
      • AbiCart Plugin
        • Event Tracking
      • Google Product Feed
      • Javascript Tracker
      • Magento 1 Plugin
      • Magento 2 Plugin
      • Prestashop Module
        • Event Tracking
      • Shopify Plugin
        • Event Tracking
      • Wikingruppen Plugin
      • Woocommerce Plugin
        • Event Tracking
      • Troubleshooting
  • Features
    • Event Tracking
      • Capture Video events
      • Cart
      • Checkout
      • Order
      • Product
      • Product Lists
      • Promotions
      • Reviews
      • User
      • Wishlist
    • Identities
    • Segments
    • Audiences
    • Actions
      • Sync audiences
    • Analytics
      • Customer Report
      • Sales Report
      • Attribution Models
    • Personalization
      • Product Recommendations
        • Setup Recommendations
        • Blocks
        • Models
        • Troubleshoot
      • Personalized landing pages for marketing automation
      • Recommendation Report
  • API
    • Recently Viewed
    • Recommended Products
    • Server-side Tracker
    • Order History API
    • Product Catalog API
  • Billing
    • Legacy plans
    • Shopify
  • Terms & Conditions
    • Terms and Conditions
    • Privacy Policy
      • Privacybeleid
      • Informativa sulla Privacy
      • Datenschutz-Richtlinie
      • Politique de Confidentialité
      • Política de privacidad
Powered by GitBook
On this page
  • Added To Cart
  • Removed From Cart
  • Cart Viewed

Was this helpful?

Export as PDF
  1. Features
  2. Event Tracking

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'
    }
  ]
});
PreviousCapture Video eventsNextCheckout

Last updated 4 years ago

Was this helpful?