Hook that returns a set of functions used to record end-user interactions with items.
Interactions are used to improve recommendations.
Either a sessionId or a userId must be provided.
If both a sessionId and a userId are provided, the interaction will be recorded for the user.
Resolved sessions should not be used again to get recommendations or record interactions.
Hook that returns a set of functions used to record end-user interactions with items. Interactions are used to improve recommendations. Either a
sessionId
or auserId
must be provided. If both asessionId
and auserId
are provided, the interaction will be recorded for the user. Resolved sessions should not be used again to get recommendations or record interactions.