Product Viewed From...
Product Viewed from Search Result Page
Shopper clicked on a product in search results page
window.FastSimonSDK.event({
eventName: window.FastSimonEventName.SerpProductClicked,
data: {
query: "dog", // (Required)
productID: "11223344", // (Required)
position: 5, // counted from 1
imageID: "sada1231abc" // if using image optimization it will be included in the response
}
});
Product Viewed from A Collection Page
Shopper clicked on a product in a collection page
window.FastSimonSDK.event({
eventName: window.FastSimonEventName.CollectionProductClicked,
data: {
collectionID: "234234", // (Required)
productID: "11223344", // (Required)
position: 5, // counted from 1
query: undefined, // Default = Collection_Name
imageID:"sada1231abc" // if using image optimization it will be included in the response
}
});
Product Viewed from Upsell / Cross-Sell
Shopper clicked on a product in the recommendation widget
window.FastSimonSDK.event({
eventName: window.FastSimonEventName.RecommendationProductClicked,
data: {
productID: "5551555", // the id of the clicked product (Required)
position: 7, // the position of the product in the widget / popup (counted from 1)
sourceProductID: "441" // source product ID (example product page product ID)
}
});
Product Viewed From Look-a-Like
Shopper clicked on product in look a like (redirect to product page)
window.FastSimonSDK.event({
eventName: window.FastSimonEventName.LookALikeProductClicked,
data: {
productID: "5551555", // (Required)
originalProduct: "1221255", // (Required)
position: 7 // counted from 1
}
});
Product Viewed From Quick View
Shopper clicked on product in quick view (redirect to product page)
window.FastSimonSDK.event({
eventName: window.FastSimonEventName.QuickViewProductClicked,
data: {
productID: "5551555", // (Required)
originalProduct: "1221255", // (Required)
position: 7 // counted from 1
}
});
Direct Product View
Description: shopper is viewing a product, but it wasn't generated from search nor collection powered by Fast Simon (e.g. direct product view from Google)
window.FastSimonSDK.event({
eventName: window.FastSimonEventName.DirectProductClicked,
data: {
productID: "5551555", // (Required)
}
});