You are here:
Common Einstein Recommendations Rule Types
To create your own algorithm, use rules in the Einstein Recommendations Rule Manager tool. A rule can override top-performing algorithms and negatively impact predictive performance, so we recommend that you use rules sparingly.
| Scope | Rule | Syntax |
|---|---|---|
| Global Rule | ||
| Never recommend gift cards to customers. | ACTION Exclude where <GiftCard> <is> <Y> | |
| Recommend highly rated items to users. | ACTION Emphasize Items with <Ratings> <Greater Than> <3> | |
| Home Page Rule | ||
| Emphasize the newest items on the home page. | ACTION Emphasize Items with <ReleaseDate> <Less Than> <30> Days Ago | |
| Category Page Rules | ||
| Only recommend items with the same category as the landing page that the subscriber is viewing. | ACTION Include Items with <Category> <is> <Same as Reference Item> | |
| Detail Page Rule | ||
| Only recommend items of the same gender as the item that the subscriber is viewing. | ACTION Include <Gender> <is> <Same as Reference Item> | |
| Only recommend sale items when the subscriber views a sale item. | ATTRIBUTE <isOnSale> <is> <False> ACTION Exclude <isOnSale> <is> <True> |
|
| Exclude items based on intended age group. | ATTRIBUTE <AgeGroup> <is> <Child> ACTION Exclude <Inappropriate> <is> <True> |
|
| Exclude items based on intended age group. | ||
| Don’t recommend a competing brand on a detail page. | ATTRIBUTE <Brand> <is> <Nike> ACTION Exclude <Brand> <is> <Adidas> |
|
| Only recommend items of the same brand as the item that’s being viewed. | ACTION Include <Brand> <is> <Same as Reference Item> |

