Recombee Docs
Visit recombee.comStart Free
docs20User Documentation
adminuiAdmin UI
reql32ReQL
codeAPI Clients & Integrations
cookhatScenario Recipes
suitcaseMisc

Recently Viewed

Introduction

The "Recently Viewed" scenario suggests products that have been previously viewed by the user, driving the user to ultimately purchase the product.

Scenario Setup

In the Recombee Admin UI, navigate to the Scenarios section and choose Create Scenario.

  1. Enter a Scenario ID. Select a distinctive label for your recommendation scenario, such as "recently-viewed"
  2. Choose Recommendation type - Items to User
Admin UI - Scenario Setup

Logic

The Logic defines the behavior of the recommendation engine.

By adjusting specific parameters, such as maxAge and recencyOrdering, you can fine-tune the model’s behavior.

maxAge specifies the time interval in which the user’s Detail Views are taken into account.

For example, if you set the parameter to 7 days (it is specified in seconds, thus 7 * 24 * 60 * 60 = 604,800 seconds), the products viewed by the user within the last 7 days will be returned.

recencyOrdering: By default, the products are returned from the most recently viewed ones, however, you can alter this behavior by setting recencyOrdering to “ascending”.

Admin UI - Logic

Filters

Available Products (Global Settings)

Requesting Recommendations

There are two ways to get recommendations.

  1. HTML Widget - create an HTML Widget using the visual editor in the Admin UI.
  2. API & SDK - request the Recommend Items to User endpoint of the Recombee API using an SDK of your choice.

For more information, navigate to the Integration tab of the Scenario in the Admin UI.

In order to request content for multiple homepage boxes with a single API request, use the Batch endpoint and put the recommendation requests inside it. Set the parameter distinctRecomms in order to deduplicate the items among the boxes.

© Copyright 2024, Recombee s.r.o
docs.recombee.com