Add to cart

Trigger the event tag when: any shopper hits button “Add to cart” on Tiki web.

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: add_to_cart

yes

add_to_cart

e_n

String

to identify shopper’s activity name. Value: AddToCart

yes

AddToCart

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 product that shopper adds to cart

yes

864115

sku

Sku of product that shopper adds to cart

yes

5261971730647

brand

Brand of product that shopper adds to cart

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 product that shopper adds to cart

yes

4500000

quantity

Quantity of product that shopper adds to cart

yes

1

Sample

AddToCart
admp_event.track("product", "add_to_cart", {
    name: "AddToCart",
    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"
    }
});

Last updated

Was this helpful?