View the Shopping Cart
When a user accesses their shopping cart on your website, it suggests they are reviewing their selected items.
Create the Antsomi Pixel tag
In workspace > Tags > News > Antsomi pixel template
1. Product Variables option 'Array-JSON Payload'
Listing example variables
{{CDP - Data - Product View Cart}}
Name key in Json Variable | Description |
---|---|
id | Product selected variant SKU. Required (*) |
name | Product name. Required (*) |
sku | Product selected variant SKU. |
price | Product price. |
original_price | Product original price. |
page_url | Product page URL. |
image_url | Product image URL. |
main_category | Product main category. |
color | Product selected color. |
size | Product selected size. |
quantity | The amount of product that’s being view the shopping cart. |
Cart Variables
Name Variable | Description | Example |
---|---|---|
{{CDP - Data - Cart - Subtotal}} | The total amount in the shopping cart (after the view-cart action happened). | 49 |
{{CDP - Data - Cart - Item Count}} | The total item in the shopping cart (after the view-cart action happened). | 1 |
{{CDP - Data - Customer}}
Name | Description |
---|---|
customer_id | The customer ID. Required (*) |
name | The identified user’s full name. Required (*) |
phone | The formatted user’s phone. |
The identified user’s email in lowercase. |
Last updated