Skip to main content

Tracking Product Views from Different Pages

Product Viewed from Search Result Page

This event is triggered when a shopper clicks on a product from a search results page, helping track engagement.

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

This event is triggered when a shopper clicks on a product from a collection page, helping track engagement.

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

This event is triggered when a shopper clicks on a product from a recommendation widget, helping track engagement.

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

This event is triggered when a shopper clicks on a product from a look a like (redirected to product page), helping track engagement.

window.FastSimonSDK.event({
eventName: window.FastSimonEventName.LookALikeProductClicked,
data: {
productID: "5551555", // (Required)
originalProduct: "1221255", // (Required)
position: 7 // counted from 1
}
});

Product Viewed From Quick View

This event is triggered when a shopper clicks on a product from a quick view (redirected to product page), helping track engagement.

window.FastSimonSDK.event({
eventName: window.FastSimonEventName.QuickViewProductClicked,
data: {
productID: "5551555", // (Required)
originalProduct: "1221255", // (Required)
position: 7 // counted from 1
}
});

Direct Product View

This event is triggered when a shopper clicks on a product from not generated search nor collection powered by Fast Simon (e.g. direct product view from Google), helping track engagement.

window.FastSimonSDK.event({
eventName: window.FastSimonEventName.DirectProductClicked,
data: {
productID: "5551555", // (Required)
}
});