Replies: 1 comment 4 replies
-
You're correct that the behavior of the Insights middleware has introduced collisions since supporting I discussed with @benhinchley and the rational was to keep supporting existing customers' implementations as they were working. Some customers were updating the Search API In Q4, we plan to stitch user sessions from logged-out to logged-in states in the backend, which will accommodate both anonymous and authenticated user tokens. From that point on, we will strongly recommend forwarding the anonymous user token to the Search API. In the meantime, is there a workaround to force sending the anonymous user token to the Search API with the Insights middleware @Haroenv @sarahdayan @dhayab @aymeric-giraudet? |
Beta Was this translation helpful? Give feedback.
-
When using the insights middleware and and
authenticatedUserToken
is set, each query request sets theuserToken
parameter to the value ofauthenticatedUserToken
Source.From my testing this results in no personalization as the personalization only works with the non authenticated user token. I confirmed this by making a manual request once with the search parameter
userToken
set the value ofauthenticatedUserToken
and once to the valueuserToken
. In the case ofauthenticatedUserToken
I received no personalized results and in the case where I set the it to theuserToken
I received personalized results.I also confirmed in the dashboard that the events have correctly set a
userToken
and anauthenticatedUserToken
.I now have the question, if this is intended behaviour or am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions