Cart

Added To Cart

1
zlt.track('Added To Cart', {
2
cart_id: '',
3
product_id: '',
4
sku: '',
5
category: '',
6
product_type: '',
7
name: '',
8
brand: '',
9
variant: '',
10
variant_id: '',
11
price: ,
12
currency: '',
13
quantity: 1,
14
coupon: '',
15
on_sale: false,
16
url: 'https://www.example.com/product/path',
17
image_url: 'https://www.example.com/product/path.jpg'
18
});
Copied!

Removed From Cart

1
zlt.track('Removed From Cart', {
2
cart_id: '',
3
product_id: '',
4
sku: '',
5
category: '',
6
product_type: '',
7
name: '',
8
brand: '',
9
variant: '',
10
variant_id: '',
11
price: ,
12
currency: '',
13
quantity: 1,
14
coupon: '',
15
on_sale: false,
16
url: 'https://www.example.com/product/path',
17
image_url: 'https://www.example.com/product/path.jpg'
18
});
Copied!

Cart Viewed

1
zlt.track('Cart Viewed', {
2
cart_id: '',
3
products: [
4
{
5
product_id: '',
6
variant_id: '',
7
sku: '',
8
name: '',
9
price: ,
10
quantity: ,
11
category: '',
12
product_type: '',
13
on_sale: false,
14
url: 'https://www.example.com/product/path',
15
image_url: 'https:///www.example.com/product/path.jpg'
16
},
17
{
18
product_id: '',
19
variant_id: '',
20
sku: '',
21
name: '',
22
price: ,
23
quantity: ,
24
category: '',
25
product_type: '',
26
on_sale: false,
27
url: 'https://www.example.com/product/path',
28
image_url: 'https:///www.example.com/product/path.jpg'
29
}
30
]
31
});
Copied!
Last modified 1yr ago
Export as PDF
Copy link