Developer Guide
API GuideDeveloper Guide
  • Overview
    • Getting Started
    • Customers and Visitors
    • Events and Business Objects (BOs)
      • Sample Event Templates
  • Website
    • Getting Started
      • Direct JS Implementation
      • JS Integration via GTM
      • Tracking Haravan website events
    • Tracking Users
    • Tracking Events
      • [Direct] Sample E-Commerce Events
        • View Product
        • Add a Product to the Shopping Cart
        • View the Shopping Cart
        • Remove a Product from the Shopping Cart
        • Search for Product(s)
        • Checkout Shopping Cart
        • Apply Promotion Code
        • Purchase Product(s)
      • [GTM] Sample E-Commerce Events
        • View Product
        • Add a Product to the Shopping Cart
        • View the Shopping Cart
        • Remove a Product from the Shopping Cart
        • Search for Product(s)
        • Checkout Shopping Cart
        • Apply Promotion Code
        • Purchase Product(s)
    • Web Push
  • Android
    • Getting Started
    • Tracking Users
    • Tracking Events
    • Push Messaging
    • App Inbox Messaging
  • iOS
    • Getting Started
      • Integration of Antsomi iOS SDK
    • Tracking Users
    • Tracking Events
    • Push Messaging
  • Hybrid Apps
    • React Native
      • Tracking Users
      • Tracking Events
        • Sample E-Commerce Events
          • View Product
          • Add a Product to the Shopping Cart
          • View the Shopping Cart
          • Remove a Product from the Shopping Cart
          • Search for Product(s)
          • Checkout Shopping Cart
          • Apply Promotion Code
          • Purchase Product(s)
      • Push Messaging
      • App Inbox Messaging
    • Flutter
      • Tracking Users
      • Tracking Events
        • Sample E-Commerce Events
          • View Product
          • Add a Product to the Shopping Cart
          • View the Shopping Cart
          • Remove a Product from the Shopping Cart
          • Search for Product(s)
          • Checkout Shopping Cart
          • Purchase Product(s)
      • Push Messaging
      • App Inbox Messaging
      • App In-line Content
  • Antsomi Service Integrations
    • Media Template
    • Media JSON
      • Sample E-Commerce Events
        • Search for Product(s)
        • View Product
        • Add a Product to the Shopping Cart
        • Checkout Shopping Cart
        • Purchase Product(s)
      • Sample User Events
        • Sign-in
        • Sign-up
      • Sample Opt-in Events
        • Subscribe to Email marketing
        • Subscribe to OneSignal channel
  • 3rd Party Integrations
    • Shopify
      • Tracking Shopify website events
    • LINE
      • Integrating LINE Login with your web app
    • Google Ad Manager
      • Targeting CDP365 segment via PPID(s)
Powered by GitBook
On this page
  • Create the Antsomi Pixel tag
  • 1. Product Variables option 'Single Entry'
  • 2. Product Variables option 'Array-JSON Payload'
  1. Website
  2. Tracking Events
  3. [GTM] Sample E-Commerce Events

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.

PreviousView the Shopping CartNextSearch for Product(s)

Last updated 1 year ago

Create the Antsomi Pixel tag

In workspace > Tags > News > Antsomi pixel template

1. Product Variables option 'Single Entry'

  • Example Variables for Product

Name Variable
Description
Example

{{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 Variable
Description
Example

{{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 Variable
Description
Example

{{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 Variable
Description

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 Variable
Description
Example

{{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"}
Name
Description

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.

Remove form Cart
Choose Antsomi pixel template
Remove Product from Cart - Product Variables option 'Single Entry'
Remove Product from Cart - Product Variables option 'Array-JSON Payload'