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 'Array-JSON Payload'
  1. Website
  2. Tracking Events
  3. [GTM] Sample E-Commerce Events

Checkout Shopping Cart

When users proceed to check out their shopping cart on your website, indicating their intention to complete a purchase.

PreviousSearch for Product(s)NextApply Promotion Code

Last updated 1 year ago

Create the Antsomi Pixel tag

In workspace > Tags > News > Antsomi pixel template

1. Product Variables option 'Array-JSON Payload'

Listing example variables

  • {{CDP - Data - Checkout}}

[{"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 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 checkout to the shopping cart.

  • Cart Variables

Name Variable
Description
Example

{{CDP - Data - Cart - Subtotal}}

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

49

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

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

Checkout
Choose Antsomi pixel template
Checkout Cart tag GTM - Product Variable option 'Array-JSON Payload'