Product view

Trigger the event tag when any Tiki product detail page () starts loading.

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

yes

view

e_n

String

to identify shopper’s activity name. Value: ViewProductDetail

yes

ViewProductDetail

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 is viewing

yes

864115

sku

Sku of product that shopper is viewing

yes

5261971730647

brand

Brand of product that shopper is viewing

yes

Samsung

seller_id

Id of seller who offers the product

yes

11315

price

Price of product (VND)

4500000

category

Full category path of the product that shopper is viewing

yes

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

extra

Contains other needed data

src_search_term

Search term that leads to this product view

Tivi Samsung

Sample

ViewProductDetail (PDP)
admp_event.track("product", "view", {
    name: "ViewProductDetail",
    items: [{
        "id": "864115",
        "sku": "5261971730647",
        "brand": "Samsung",
        "seller_id": "11315",
        "category": "Điện Tử - Điện Lạnh/Tivi/Tivi 4K",
        "price": 4999000,
        "quantity": 1
    }],
    uinf: {
        customer_id: "13960238"
    },
    extra: {
        "src_search_term": "Samsung"
    }
});

Last updated

Was this helpful?