Skip to main content

Real-Time Recommendations

How to Obtain Real-Time Recommendations from Kevel Audience

Real-time recommendations are presented to users through a single endpoint where you can query the IDs of the products that are better suited to a user.

In order to do so, the user's browser needs to make a request to the Recommender endpoint. The response will contain only product IDs.

Querying Info

There's also the possibility to query your servers for more info pertaining the product that can be presented to the end-user on your website: images, name, description, price, and more.

The following blocks of code represent a pseudocode example that would be pasted into the webpage where you'd like to display recommendations:

productIds = GET,unisex

products = GET$productIds

SHOW products