Skip to main content

Introduction To Reporting

Events

This guide explains how to track shopper interactions using Fast Simon's SDK to improve analytics and search relevance.

For reporting when recommendation products are shown to users, see the Recommendations Products Shown event documentation.

Notes:

  • in "SPA" (single page application) mode All reports will be sent immediately
  • in "MPA" (multi page application) mode All reports will be sent in the next FastSimonSDK.initialization({...})
  • you can pass a type flag in any event for a combined experience

Options

OptionTypeDescription
eventNamestring (required)response will be based on this product
dataDynamicType (required)the payload of the event, see examples below
typeAppTypereport method (id you want to use a different method for a specific event)
targetURLstringfor product clicked event, if you want to report only if the URL includes targetURL
timenumber (default=5000)wait time before you report a product clicked event, this makes sure that is wasn't an accidental click
callback({success: boolean}) => voidcallback to handle the results