Skip to main content
The Popular Products algorithm surfaces your bestsellers to shoppers across every channel — email, website widgets, and personalized pages. Maestra Platform ranks products first by the number of orders they receive, then breaks ties using product view counts, so the items that customers actually buy float to the top. There are three variations of the algorithm, each tuned for a different use case:

Popular Products

Site-wide bestsellers for both identified and anonymous shoppers.

Popular Products by Category

Bestsellers calculated independently for each product category.

Popular Products in Viewed Categories

Bestsellers from the categories a customer browsed in their most recent session.
A general bestsellers algorithm that recommends the most-ordered products across your entire catalog. Best suited for mass email campaigns and homepage blocks where you want to show universally appealing products.
PropertyValue
Algorithm typePersonalized recommendations
AudienceIdentified and anonymous customers
Available inAPI (recommendation widgets), email
RecalculationOnce per day
Limit per project40 algorithms
Recommended use cases
  • Mass email campaigns (newsletters, promotional blasts).
  • Homepage product blocks where you want to surface bestsellers to every visitor.
Automatic checks performed for each recommendation
  • Product is in stock in the customer’s delivery zone.
  • Product brand matches the customer’s brand (for multi-brand projects).
  • Products the customer has already purchased are excluded.

How to set it up

1

Open the recommendations section

In Maestra Platform, go to Personalization → Product recommendations and click Create algorithm.
2

Select the algorithm type

Choose Popular Products from the list of available algorithm types.
3

Name the algorithm

Give the algorithm a descriptive name so you can find it later (for example, Homepage bestsellers) and continue.
4

Configure general settings

  • Recommend from — optionally restrict the source pool to a product segment. If left empty, the algorithm draws from your full catalog.
  • Consider product actions for the past — the time window used to calculate popularity. You can choose any value between 1 and 180 days. Shorter windows make the algorithm more reactive to current trends; longer windows produce more stable results.
5

Launch the algorithm

Click Launch. The algorithm appears in your list with its current status and the timestamp of its last update.
For homepages and broad newsletters, a 30–60 day window typically gives the best balance between freshness and statistical reliability.
This variation calculates a separate bestsellers list for every product category in your catalog. Use it on category pages so that the products shown reflect what’s selling within that category, not site-wide.
PropertyValue
Algorithm typeCategory recommendations
AudienceIdentified and anonymous customers
Available inAPI (recommendation widgets), email
RecalculationOnce per day
Limit per project20 algorithms
Recommended use cases
  • Category landing pages on your website.
  • Category-specific email blocks (for example, “Top sellers in Beauty”).
Automatic checks performed for each recommendation
  • Product is in stock in the customer’s delivery zone.
  • Product brand matches the customer’s brand (for multi-brand projects).
  • Products the customer has already purchased are excluded.
Because results are returned per category, the recommendation output is a collection of items keyed to the category the customer is viewing. When you integrate the widget on a category page, pass the current category so the algorithm returns the right list.

How to set it up

1

Select the algorithm type

From Personalization → Product recommendations → Create algorithm, choose Popular Products by Category.
2

Name the algorithm

Enter a name (for example, Category page bestsellers) and continue.
3

Configure general settings

  • Recommend from — optionally restrict the source pool to a product segment.
  • Consider product actions for the past — the popularity window, from 1 to 180 days.
4

Launch the algorithm

Click Launch. The algorithm will appear in your list with its status and last-update time.
This variation looks at the categories a customer browsed during their most recent session, then evenly distributes bestseller recommendations across those categories. It’s the algorithm to use for browse-abandonment scenarios — when you want to bring shoppers back with items related to whatever drew their interest last time.
PropertyValue
Algorithm typePersonalized recommendations
AudienceIdentified customers only
Available inAPI (recommendation widgets), email
RecalculationIn real time, as the customer interacts with categories
Limit per project1 algorithm
Recommended use cases
  • Browse-abandonment (“abandoned category view”) email and on-site mechanics.
  • Win-back triggers that reference the customer’s most recent interest.
Automatic checks performed for each recommendation
  • Product is in stock in the customer’s delivery zone.
  • Product brand matches the customer’s brand. In multi-brand projects, the algorithm operates within a single brand scope and generates recommendations separately for each brand the customer visited in the latest session.
  • Products the customer has already purchased are excluded.
Because the algorithm relies on session-level browsing history, it works only for identified customers — anonymous visitors won’t receive recommendations from it. Make sure your tracking identifies customers before they enter the relevant trigger flow.

How the distribution works

If a customer viewed three categories in their last session, the algorithm splits the recommendation slots evenly across those three categories and fills each slot with that category’s current bestsellers. This way, recommendations reflect the full breadth of the customer’s recent interest rather than over-indexing on a single category.

How to set it up

1

Select the algorithm type

From Personalization → Product recommendations → Create algorithm, choose Popular Products in Viewed Categories (Last Session).
2

Name the algorithm

Enter a name (for example, Browse abandonment bestsellers) and continue.
3

Configure general settings

  • Recommend from — optionally restrict the source pool to a product segment.
  • Consider product actions for the past — the popularity window, from 1 to 180 days.
4

Launch the algorithm

Click Launch. Because the limit is one algorithm of this type per project, plan its configuration carefully before activating it.

Choosing the right variation

After launching

Once an algorithm is running, you can:
  • Monitor its status and the timestamp of its last recalculation in the algorithm list.
  • Plug it into a recommendation widget on your website via the API.
  • Reference it inside email templates to render personalized blocks.
  • Pause or edit it at any time — changes take effect on the next recalculation cycle (or in real time, for the viewed-categories variation).
The daily recalculation for the first two variations runs automatically — there’s no need to trigger it manually. If you need recommendations that react instantly to customer behavior, use the viewed-categories variation or combine bestsellers with other real-time algorithms.