Skip to main content

Autocomplete

Shopper clicked on an Instant-Search dropdown item: Product

window.FastSimonSDK.event({
eventName: window.FastSimonEventName.AutocompleteProductClicked,
data: {
query: "shi", // (Required)
productID: "123123", // (Required)
productQuery: "123123 :: 555", // product's 's' key (Required)
}
});

Shopper clicked on an Instant-Search dropdown item: Category

window.FastSimonSDK.event({
eventName: window.FastSimonEventName.AutocompleteCategoryClicked,
data: {
query: "shi", // (Required)
collectionID: "123123", // (Required)
}
});

Shopper clicked on an Instant-Search dropdown item: Popular Search

window.FastSimonSDK.event({
eventName: window.FastSimonEventName.AutocompletePopularClicked,
data: {
query: "shi", // (Required)
term: "shirt" // (Required)
}
});