Menu

How to get recommendations for anonymous users with only a session ID?

Jon Wu
2016-01-06
2018-01-17
  • Jon Wu

    Jon Wu - 2016-01-06

    How can I get recommenations for a user who doesn't have a userid and only has a sessionid?

    I see that the API requires userid: http://easyrec.sourceforge.net/wiki/index.php?title=REST_API_v0.98#recommendations_for_user.

    However, on an ecommerce site, if an anonymous user views 2 products, you could already show them relevant recommendations just like you could if they had a sessionid - at least in theory.

    Can easyrec handle this?

     
  • Reno

    Reno - 2016-12-21

    you can create temporary user id for the sessionid

     
  • Jon Wu

    Jon Wu - 2018-01-17

    I think if you make a temp user ID, then you'd break session ID to user mapping down the line. This was a more recent feature which allows you to take an anonymous session and later merge it into a user's profile once the user signs in. Is that right?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.