Recommendation Strategies Creation
Last updated
Was this helpful?
Last updated
Was this helpful?
To create a strategy, you need to go to the “Strategies” section → “Create Strategy”.
When you click on the “Create Strategy” button, you will be directed to the following screen:
Here you can:
Name your strategy;
Include notes about the created strategy to make it easier for your colleagues to understand its purpose;
Select the type of page where the strategy will be executed. There are 5 types of pages available (this selection influences the list of accessible algorithms for that specific page type):
Choose the strategy algorithm.
If required you can select the algorithm for each slot of the strategy.
Activate preset filters. For example, you can exclude products that have already been purchased or viewed by the user or include products from the same category as the currently viewed product.
Different algorithms may have different filters available.
Custom filter rules. When you click on the "+ New Rule", the following window will open:
Item in the screenshot
Available actions
1
Set the name of the rule similar to the name of the strategy;
2
Select if the rule applies to all slots or specific slots of the strategy;
3
Specify the type of rule:
- include only products with properties A, B, C,
- exclude products with properties A, B, C,
- pin specific SKUs to the specified slots.
4
Specify inclusion conditions based on product properties using "AND", "OR" or "NOT" operators;
5
Save or cancel changes.
Save and create the strategy or cancel changes.
The pin rules allow you to lock specific items in specific strategy slots. Any property could be selected for locking (for example, you can lock a specific SKU). Essentially, pinning is manually placing a product in the slot to promote a selected position. In this case, the recommendation algorithm won’t work in that slot.
Price
is the only field recognized by the system as a number. This means that when setting a filtering rule for it, you can specify an exact value rather than choosing from a list of options:
If you want to specify a price range, the rule should be constructed as "Price GREATER THAN 'A' AND Price LESS THAN 'B'." The option "Price GREATER THAN 'A' OR Price LESS THAN 'B'" is incorrect.
For the price
field, there is a set of applicable conditions.
These include:
equal;
more than;
at least;
less than;
at most.
For other fields, the set of conditions includes:
is;
is not;
contains;
empty;
is not empty.
You also have the option to filter the strategy response using dynamic filters on top of the conditions set when configuring strategies. This type of filtering allows you to make rules dependent on the item the user is currently viewing on their screen.
For example, if you wish to display items that are within a specific price range (+-20%) of the currently viewed item or recommend only "on-sale" items to users who are currently on "on-sale" item pages, you will need to configure a dynamic filter.
Unlike the filters described above, dynamic filters for front-end campaigns are set directly in the variation code using JS functions, while for back-end campaigns, they are established through additional parameters in the API calls.
Example of a JS function that can exclude products from the final output if their price differs by 50% from the original:
Some algorithms are accessible for only certain page types. More information about recommendation algorithms: