🇬🇧translation is currently inBeta

Available for full-time projectsSoftware developer for product teams: Next.js / TypeScript / React Native, remote or Krakow.
Hire me

Recommendation Section Didn't Recommend

While working on the recommendation section, it turned out the system returned identical sets of recommended products to every user (both logged in and anonymous). The problem stemmed from lack of authorization on the API side - the recommendation endpoint didn't recognize who the client was (missing token/user identifier), so it returned globally most popular products.

AI

Problem: Universal Product Recommendations Due to Missing Endpoint Authorization

While working on the recommendation section, it turned out the system returned identical sets of recommended products to every user (both logged in and anonymous). The problem stemmed from lack of authorization on the API side - the recommendation endpoint didn't recognize who the client was (missing token/user identifier), so it returned globally most popular products.

Analysis and Solution

I implemented mandatory authorization for recommendation endpoint requests. After changes, every API request is identified - if the user is logged in, their token is passed, if anonymous - a temporary session identifier is generated for preference tracking purposes. This change, of course, only applied to clients who consented to cookie storage.

Thanks to this, the recommendation system (based on Recombee) is able to return personalized products - both for returning clients and new users.

Result

After implementing the change, the recommendation section began displaying actually matched products, which translated to a CTR/conversion to purchase action increase of 1400% from 0.2% to 2.8%, considering two weeks before and after implementing the change.

Ready to start your project?

If you want a similar level of quality and a clear delivery plan, send me a message. I will come back with a recommended direction and next step.

Ailo client logoCledar client logoMiohome client logoPlenti client logoWebiso client logo+4
I've been working on projects for clients for 6 years

Tags:

Next.js
OpenAI
Recombee