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. Promotion Variables option 'Single Entry'
  1. Website
  2. Tracking Events
  3. [GTM] Sample E-Commerce Events

Apply Promotion Code

When a user enters a promotion code during the checkout process on your website, it signifies their engagement with discounts or promotions.

PreviousCheckout Shopping CartNextPurchase Product(s)

Last updated 1 year ago

Create the Antsomi Pixel tag

In workspace > Tags > News > Antsomi pixel template

1. Promotion Variables option 'Single Entry'

  • Example Variable for Promotion

Name Variable
Description
Example

{{CDP - Data - Promotion - Code}}

The applied promotion code text value.

ANT250OFF

{{CDP - Data - Property ID}}

Hard-coded value: {{cdp_property_id}}

565999868

Please contact our supports team to have the value of the {{cdp_property_id}}

  • Example Variables for Purchase

Name Variable
Description
Example

{{CDP - Data - Purchase - ID}}

The order ID

#2868

  • 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

Apply Promotion Code
Choose Antsomi pixel template
Apply Promotion Code - Promotion Variables option 'Single Entry'