Tracking parameters
Events
Following events are supported:
ProductViewed
- tracked when dedicated product page (PDP) was viewedProductAddedToCart
- tracked when product added to shopping cartCheckoutCompleted
- tracked when checkout completed successfully
Event Data Structure
Data structure is the same for all three events and should include at least one product:
Event Object
partnerUserId
string
The same partner user id value that was used during Wishi SDK initialization.
products
array of objects
Array of JSON objects that contains a list of products associated with the event. All properties except quantity
are required.
Product Object
All fields are required except quantity
id
string
Product SKU. If other type of ID is used, please contact support before setting up the pixel.
name
string
Product name
buyUrl
url
PDP or other buy URL
imageUrl
url
Product image url
brand
string
Product brand name
price
integer, float
Full product price
currency
string
Currency for the price
specified.
quantity
integer
Number of products, default 1
Last updated
Was this helpful?