Make a purchase

Trigger the event tag when: any shopper hits button “Place an order” on Tiki web, after inputs delivery address and selects payment method.

Parameters

Data Type

Description

Required

Sample Data

e_c

String

to identify shopper’s activity category. Value: product

yes

product

e_a

String

to identify shopper’s activity type. Value: purchase

yes

purchase

e_n

String

to identify shopper’s activity name. Value: Purchase

yes

Purchase

uinf

Contains shopper data

customer_id

hashed customer id, ad system can identify unique shopper across all platforms

yes

13960238

items

Contains product data

id

Seller product id of each product in the order

yes

864115

sku

SKU of each product in the order

yes

5261971730647

brand

Brand of each product in the order

yes

Samsung

seller_id

Id of seller who offers the product

yes

11315

category

Full category path of the product that shopper is viewing

yes

Điện Tử - Điện Lạnh/Tivi/Tivi 4K

price

Listing price (in VND) of each product in the order

yes

4500000

quantity

Quantity of each product in the order

yes

1

extra

Contains order data

order_id

Id of the order

yes

977895452

revenue

Total gross merchandise value (in VND) of the order.

yes

14500000

num_item

Total quantity of all product(s) in the order

yes

4

discount_amount

Total discount value (in VND) of the order

45000

promotion_code

The coupon code that is used in the order

Sample

Purchase
admp_event.track("product", "purchase", {
    name: "Purchase",
    items: [{
        "id": "864115",
        "sku": "5261971730647",
        "brand": "Samsung",
        "seller_id": "11315",
        "category": "Điện Tử - Điện Lạnh/Tivi/Tivi 4K",
        "price": 4500000,
        "quantity": 1
    }],
    uinf: {
        customer_id: "13960238"
    },
    extra: {
        "order_id": "977895452",
        "revenue": 14500000,
        "num_item": 4,
        "discount_amount": 45000,
        "promotion_code": ""
    }
});

Last updated

Was this helpful?