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
  • Order Completed
  • Order Refunded
  • Order Cancelled

Was this helpful?

Export as PDF
  1. Features
  2. Event Tracking

Order

Order Completed

zlt.track('Order Completed', {
  email: '',
  billing_address_first_name: '',
  billing_address_last_name: '',
  billing_address_company: '',
  billing_address_zip: '',
  billing_address_phone: '',
  billing_address_address1: '',
  billing_address_address2: '',
  billing_address_city: '',
  billing_address_province: '',
  billing_address_province_code: '',
  billing_address_country: '',
  billing_address_country_code: '',
  shipping_address_first_name: '',
  shipping_address_last_name: '',
  shipping_address_company: '',
  shipping_address_zip: '',
  shipping_address_phone: '',
  shipping_address_address1: '',
  shipping_address_address2: '',
  shipping_address_city: '',
  shipping_address_province: '',
  shipping_address_province_code: '',
  shipping_address_country: '',
  shipping_address_country_code: '',
  order_id: '',
  checkout_id: '',
  payment_method: '',
  total: 17.50,
  subtotal: 12.50,
  revenue: 15.00,
  shipping: 2,
  tax: 3,
  discount: 2.5,
  coupons: [
    {
      coupon_id: '',
      amount: '',
      percentage: false
    }
  ],
  currency: 'USD',
  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'
    }
  ],
	created_at: '',
	updated_at: ''
});

Order Refunded

zlt.track('Order Refunded', {
  order_id: '',
  total: ,
  currency: 'USD',
  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'
    }
  ]
});

Order Cancelled

zlt.track('Order Cancelled', {
  order_id: '',
  total: 30,
  subtotal: ,
  revenue: 25.00,
  shipping: 3,
  tax: 2,
  discount: 2.5,
  coupon: '',
  currency: 'USD',
  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'
    }
  ]
});
PreviousCheckoutNextProduct

Last updated 4 years ago

Was this helpful?