- 07 Feb 2024
- 1 Minute to read
Recently Viewed Products
- Updated on 07 Feb 2024
- 1 Minute to read
Overview
This algorithm is one of Insider's personalized algorithms. It tracks the user’s product view behavior that is collected from the UCD, which means it collects data from both Web and Mobile events. And in return, it 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
Parameter | Sample Value | Description | Data Type | Required |
---|---|---|---|---|
partnerId | 1000001 | Partner Identifier which is assigned by Insider. | String | Yes |
locale | us_US | Language or region of the site. | String | Yes |
currency | USD | Shows products with the specified currency. | String | Yes |
userId | a1b2c3d4 | User identifier which is assigned by Insider. | String | Yes |
platform | web | Its value can be web, mobile or mobileV2. Web comes default. | String | No |
details | true | Adds item details to response. | Boolean | No |
hp | false | Hyper personalization activation. | Boolean | No |
size | 50 | Required number of items in response. Maximum allowed size is 100. | Integer | No |
shuffle | false | Shuffle the products in the response. | Boolean | No |
excludeVariants | true | Exclude variants by the same group id. If the panel setting is true for this feature, the parameter will be always true. Otherwise depends on the parameter. The default value is false. | Boolean | No |
excludePurchaseDay | 30 | Exclude items the user purchased in X day. | Integer | No |
excludePurchaseItem | 100 | The number of purchased products to exclude. | Integer | No |
excludeViewItem | 100 | The number of viewed products to exclude. | Integer | No |
Fallback Algorithms
The Recently Viewed Algorithm doesn’t have a fallback algorithm due to its nature. You can always tune it by configuring the minimum number of products to be displayed to show in the recommendation carousel on recommendation settings.