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}}

[{"id":"WSH11","name":"Ina Compression Short","sku":"WSH11","price":49,"original_price":49,"page_url":"https://retail.antsomi.com/ina-compression-short.html","image_url":"https://retail.antsomi.com/media/catalog/product/cache/0435c4d0819597927438a767a3d5977f/w/s/wsh11-blue_main_1.jpg","main_category":"Women","color":"blue","size":"28","quantity":1}]
Name key in Json VariableDescription

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 VariableDescriptionExample

{{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}}

{"customer_id":"4564","phone":"098xxxx","name":"Abcd","email":"abcd@example.com"}
NameDescription

customer_id

The customer ID. Required (*)

name

The identified user’s full name. Required (*)

phone

The formatted user’s phone.

email

The identified user’s email in lowercase.

Last updated