Remove a Product from the Shopping Cart

When a user removes a product from their shopping cart on your website, indicating a change in their purchase decision.

Create the Antsomi Pixel tag

In workspace > Tags > News > Antsomi pixel template

1. Product Variables option 'Single Entry'

  • Example Variables for Product

Name VariableDescriptionExample

{{CDP - Data - Product - ID}}

Product selected variant SKU. Required (*)

WSH11

{{CDP - Data - Product - Name}}

Product name. Required (*)

Ina Compression Short

{{CDP - Data - Product - Quantity}}

The amount of product that’s remove from the shopping cart.

1

  • Example Variables for Cart

Name VariableDescriptionExample

{{CDP - Data - Cart - Subtotal}}

The total amount in the shopping cart (after the remove-product-from-cart action happened).

49

{{CDP - Data - Cart - Item Count}}

The total item in the shopping cart (after the remove-product-from-cart action happened).

1

  • Example Variables for Customer

Name VariableDescriptionExample

{{CDP - Data - Customer - ID}}

The customer ID. Required (*)

4564

{{CDP - Data - Customer - Name}}

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

Abcd

{{CDP - Data - Customer - Email}}

The identified user’s email in lowercase.

abcd@example.com

{{CDP - Data - Customer - Phone}}

The formatted user’s phone.

098xxxx

2. Product Variables option 'Array-JSON Payload'

Listing example variables

  • {{CDP - Data - Product Remove from Cart}}

[{"id":"WSH11","name":"Ina Compression Short","quantity":1}]
Name key in Json VariableDescription

id

Product selected variant SKU. Required (*)

name

Product name. Required (*)

quantity

The amount of product that’s remove from the shopping cart.

  • Cart Variables

Name VariableDescriptionExample

{{CDP - Data - Cart - Subtotal}}

The total amount in the shopping cart (after the add-to-cart action happened).

49

{{CDP - Data - Cart - Item Count}}

The total item in the shopping cart (after the add-to-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