Recently Viewed Products

Prev Next

The Recently Viewed Products algorithm is one of Insider's personalized algorithms. It tracks the user’s product view behavior collected from the UCD, which means it collects data from both Web and Mobile events. In return, the Recently Viewed Products algorithm offers recommendations based on the user’s recently viewed products. It performs best on the cart pages. It is available on Web Smart Recommender, API-based Recommender, and App Recommender.

Endpoint

GET https://recommendation.api.useinsider.com/v2/recently-viewed

Query Parameters

ParameterSample ValueDescriptionData TypeRequired
partnerId1000001Partner Identifier assigned by InsiderStringYes
localeus_USLanguage or region of the siteStringYes
currencyUSDShows products with the specified currencyStringYes
userIda1b2c3d4User identifier that is assigned by InsiderStringYes
platformwebIts value can be web, mobile, or mobileV2. Web comes default.StringNo
detailstrueAdds item details to the responseBooleanNo
hpfalseHyper-personalization activationBooleanNo
size50Required number of items in response. The maximum allowed size is 100.IntegerNo
shufflefalseShuffle the products in the response.BooleanNo
excludeVariantstrueExclude variants by the same group ID. If the panel setting is true for this feature, the parameter will always be true. Otherwise, it depends on the parameter. The default value is false.BooleanNo
excludePurchaseDay30Exclude items the user purchased in X daysIntegerNo
excludePurchaseItem100
The number of purchased products to exclude
IntegerNo
filter
Smart Recommender filtering. There can be more than one filter parameter.
StringNo
categoryList[“Clothes”, “Skirts”]
Category filter of the products
Array (of string)No
dayLimit7
Threshold last update day value for Publisher partners (The default is 2 days.)
IntegerNo
getGroupProductstrue, false
Shows variant products under the products of the response
BooleanNo
groupProductsFieldsname, category
Adds these fields to the variant products’ details
StringNo

Fallback Algorithms

Due to its nature, the Recently Viewed Algorithm doesn’t have a fallback algorithm. However, you can always tune it by configuring the minimum number of products displayed in the recommendation carousel in the Recommendation Strategies.