Order

Order Completed

1
zlt.track('Order Completed', {
2
email: '',
3
billing_address_first_name: '',
4
billing_address_last_name: '',
5
billing_address_company: '',
6
billing_address_zip: '',
7
billing_address_phone: '',
8
billing_address_address1: '',
9
billing_address_address2: '',
10
billing_address_city: '',
11
billing_address_province: '',
12
billing_address_province_code: '',
13
billing_address_country: '',
14
billing_address_country_code: '',
15
shipping_address_first_name: '',
16
shipping_address_last_name: '',
17
shipping_address_company: '',
18
shipping_address_zip: '',
19
shipping_address_phone: '',
20
shipping_address_address1: '',
21
shipping_address_address2: '',
22
shipping_address_city: '',
23
shipping_address_province: '',
24
shipping_address_province_code: '',
25
shipping_address_country: '',
26
shipping_address_country_code: '',
27
order_id: '',
28
checkout_id: '',
29
payment_method: '',
30
total: 17.50,
31
subtotal: 12.50,
32
revenue: 15.00,
33
shipping: 2,
34
tax: 3,
35
discount: 2.5,
36
coupons: [
37
{
38
coupon_id: '',
39
amount: '',
40
percentage: false
41
}
42
],
43
currency: 'USD',
44
products: [
45
{
46
product_id: '',
47
variant_id: '',
48
sku: '',
49
name: '',
50
price: ,
51
quantity: ,
52
category: '',
53
product_type: '',
54
on_sale: false,
55
url: 'https://www.example.com/product/path',
56
image_url: 'https:///www.example.com/product/path.jpg'
57
},
58
{
59
product_id: '',
60
variant_id: '',
61
sku: '',
62
name: '',
63
price: ,
64
quantity: ,
65
category: '',
66
product_type: '',
67
on_sale: false,
68
url: 'https://www.example.com/product/path',
69
image_url: 'https:///www.example.com/product/path.jpg'
70
}
71
],
72
created_at: '',
73
updated_at: ''
74
});
Copied!

Order Refunded

1
zlt.track('Order Refunded', {
2
order_id: '',
3
total: ,
4
currency: 'USD',
5
products: [
6
{
7
product_id: '',
8
variant_id: '',
9
sku: '',
10
name: '',
11
price: ,
12
quantity: ,
13
category: '',
14
product_type: '',
15
on_sale: false,
16
url: 'https://www.example.com/product/path',
17
image_url: 'https:///www.example.com/product/path.jpg'
18
},
19
{
20
product_id: '',
21
variant_id: '',
22
sku: '',
23
name: '',
24
price: ,
25
quantity: ,
26
category: '',
27
product_type: '',
28
on_sale: false,
29
url: 'https://www.example.com/product/path',
30
image_url: 'https:///www.example.com/product/path.jpg'
31
}
32
]
33
});
Copied!

Order Cancelled

1
zlt.track('Order Cancelled', {
2
order_id: '',
3
total: 30,
4
subtotal: ,
5
revenue: 25.00,
6
shipping: 3,
7
tax: 2,
8
discount: 2.5,
9
coupon: '',
10
currency: 'USD',
11
products: [
12
{
13
product_id: '',
14
variant_id: '',
15
sku: '',
16
name: '',
17
price: ,
18
quantity: ,
19
category: '',
20
product_type: '',
21
on_sale: false,
22
url: 'https://www.example.com/product/path',
23
image_url: 'https:///www.example.com/product/path.jpg'
24
},
25
{
26
product_id: '',
27
variant_id: '',
28
sku: '',
29
name: '',
30
price: ,
31
quantity: ,
32
category: '',
33
product_type: '',
34
on_sale: false,
35
url: 'https://www.example.com/product/path',
36
image_url: 'https:///www.example.com/product/path.jpg'
37
}
38
]
39
});
Copied!
Last modified 11mo ago
Export as PDF
Copy link