When setting your recommendation strategy, you can add dynamic filtering rules to customize the algorithm. These filters are based on inclusion/exclusion rules in addition to the algorithm chosen.
Category filters enable you to show only items from the same category or parent category as the currently viewed product page or category page. For example, use this filter if the user is viewing a shirt and you want recommendations to only show shirts.
Only include items that match the viewed item's category:
Returns only products that match the full category path. It does not loosen the filter if no products are available that match the complete path.
Example: Recommends: Current Product - 'Men' | 'Shoes' | 'Sneakers' does not show any other products aside from ones in this category.
- Only include items that match the viewed item's parent category:
Returns products that match the category path without the last category. In this logic, it continues to loosen the filters if no products are available that match that path.
- Current Product: 'Men' | 'Shoes' | 'Sneakers'
- Recommends products from: 'Men' | 'Shoes', 'Men' | 'Shoes' | 'X' or 'Men' | 'Shoes' | 'Y' and so on under 'Men' | 'Shoes'.
- f there are still no products to show, it ignores the 'Shoes' attribute and fills the widget with 'Mens' products. The first category in the tree is never ignored, even if it means serving empty slots.
Product Property Filters
Product property filters ensure that recommendations match or do not match the currently viewed item's properties, and enable you to match the recommendations to the currently viewed product page by any attribute of the feed. For example, use this filter to show items of the same brand or gender.
Note: If the 'Categories' filter is used, it loosens the restrictions (see the 'Keywords' example below). We advise using this filter sparsely, and use the designated category filter instead.
- Exclude/Include items that match viewed item properties such as:
'Brand' | 'Color' | 'Gender' | 'Keywords'
'Brand' | 'Color' | 'Gender':
Returns products that match all item properties, but loosens the restrictions if no products are available that match all of the properties.
Recommends: 'Brand' | 'Color' | 'Gender'
If there are not enough products to complete the widget, the recommendations logic loosens the last property - 'Gender' - and recommends items that match 'Brand' | 'Color'.
If there are still no products to show, it ignores the 'Color' attribute and fills the widget with 'Brand' products. The first category in the tree is never ignored, even if it means serving empty slots.
Returns products that match all item keywords, but loosens the restrictions if no products are available that match all keywords.
- Recommends: 'Material' | 'Pattern' | 'Size'
- Loosens the restrictions in the same way as the previous example, leaving only 'Material', which is never ignored.
Note: If Categories, Keywords and Product attributes are used in the product properties filter, the first attribute in keywords ('Material'), as well as the first product attribute ('Brand') and the highest category hierarchy are always enforced, so choose the order of properties wisely.
Tip: You can couple the "Bought together" algorithm and filtering items with the same category to display a "Shop the Look" recommendation widget.
User Behavior Filters
User behavior filters ensure that visitors are not being recommended items that they have recently viewed or purchased, online or offline. In order to exclude offline purchases, you need to identify them.
The filter does not loosen if no products are available that match it, and in this case empty slots are displayed.