When creating a recommendation strategy, you can add filters to customize the algorithm. Some of the filters are based on the page type and properties, and some are based on user past behavior.
Only include items that match the viewed item category or parent category
Allows you to show only items from the same category or parent category as the currently viewed product page or category page. For example, if the user is viewing a shirt, and you want recommendations to only show shirts.
If "Category" is chosen, the full category path must match. For example, if it's the currently viewed product's categories are "Men | Shoes", it will never show "Women | Shoes", even if there are no other Men Shoes to recommend in the product feed.
However, if "Parent Category" is chosen, filter will be loosen in order to fill all slots, if there are no products that matches the exact category path. For example, if it's the currently viewed product's categories are "Men | Shoes | Sneakers", and there are not enough Men Shoes to complete the widget, the recommendations logic will loosen the last category - Sneakers - and recommend other Men Shoes. If there are still no products to show, it will ignore the shoes attribute and fill the widget with Men products. The first category in the tree will never be ignored, even if it means serving empty slots.
Only include / Exclude Items That Match The Viewed Item Properties
If you choose multiple attributes, and there is not product that matches this filter - they will be gradually be ignored, from the last one until the second one, until there are items to recommend. The first attribute in the list will never be ignored, even if it means serving empty slots.
Exclude Recently Viewed/Purchased Items
Turn on this filters if you don't want to recommend products that were already viewed or purchased by this user. If used, and there are no relevant items to recommend, empty slots will be displayed.
Note: You can also exclude items that were purchased offline, by onboarding offline purchases. Learn more.