For Personalization to work,
you must send a user token with each .
Set the user token in InstantSearch and Autocomplete
Set theinsights option to true when initializing InstantSearch or Autocomplete.
- Send click and conversion events with Autocomplete
- Send click and conversion events with InstantSearch.js
- Send click and conversion events with React InstantSearch
- Send click and conversion events with Vue InstantSearch
- Understand the user token
userToken as an API parameter to your search requests:
Set the user token with API clients
The user token should match theuserToken in events sent to the Insights API (also known as the anonymous user token, or session user token).
To set the user token per search request:
userToken,
you can forward user IP addresses.