Present top suggestions to your customer tailored to last visited main category

Published July 08, 2025
Modules
Difficulty

Category recommendations allow you to shorten the conversion path, so customers reach products in fewer steps and are less likely to resign. By presenting top category recommendations, the path to the product is shortened significantly.

This use case illustrates how to dynamically display a recommendations related to the last main category visited by the user — for example, if the customer recently viewed “Electronics” furniture, a banner or content block can highlight top products from that specific category. This approach increases the chance of re-engagement and encourages return visits or immediate conversions by matching promotional content to current user interest.

Note:

In this use case, we return top recommendations based on the last visited main category by the user. However, the same configuration logic can be easily adapted to display category-specific recommendations directly on each category page.

To do this, you simply skip the use of segments and aggregates related to browsing history and instead implement static personalization rules per category. For example, on the “Electronics” category page, you display recommendations from electronics category. This approach allows for consistent and relevant recommendatons across the entire website structure.

Prerequisites


Process


  1. Create an aggregate for the last visited category.
  2. Create a recommendation for each category

Create an aggregate


In this part of the process, create an aggregate that will return the category that the user last visited.

  1. Go to Analytics icon Analytics > Aggregates > Create aggregate.
  2. As the aggregate type, select Profile.
  3. Enter the name of the aggregate.
  4. Click Analyze profiles by and select Last.
  5. From the Choose event dropdown list, select the page.visit event.
  6. As the event parameter, select category.
  7. Add the value product:retailer_part_no.
  8. As the value add Is true.
  9. Set the period from which the aggregate will analyze the results to Lifetime.
  10. Save the aggregate.
The view of the configuration of the aggregate
Configuration of the aggregate

Create a recommendation


  1. Go to Communication > Recommendations > Add recommendation.

  2. In the top left corner, enter the name of your recommendation.

  3. In the Type & Items feed section, click Define.

  4. From the Items feed dropdown menu, choose the provided feed.

  5. Choose the Top recommendation type.

  6. From the dropdown menu that appear at the bottom, choose your Metadata catalog.

  7. Click Apply.

  8. In the Items section, click Define.

  9. Define the minimum and maximum number of brands that will be recommended to the user.

  10. Define Static filter. Choose Visual builder.

  11. From the Select value drop-down list, select category.

  12. As an operator, choose Equals.

  13. Click the icon which appeared next to the field with operator and from the dropdown list, select Aggregate.

  14. Choose the aggregate, created in the previous step

  15. In the Category level input area that appear, define the category level as a numeric value. In our case choose Take first (1).

    Note: If your products categories have a X > Y > Z structure, level 0 will be X > Y > Z. Level 1 will be X > Y and so on. Here, you define how granular the category recommendations will be. For example, if you are selling shoes, you will have a Outdoor > Sport > Running category and a Outdoor > Sport > Football category. If level 0 is provided, both categories can be recommended. If level 1 is provided Outdoor > Sport category will be recommended to the user.

  16. Choose Fail slot - in this case, if the filter is missing the slot of recommendations will not be visible. So if the user does not have any last time visited category because it is his first visit, this slot of recommendations will not be visible for him.

The view of the configuration of the recommendations
Configuration of the recommendations
  1. Click Apply.
  2. In the Items sorting method within slots section, select your desired item sorting method within slots. In our case choose Items sorting method: Page visit count in the last 30 days.
  3. In Boosting, you can enable boosting.
  4. In Additional settings, optionally you can exclude already bought products and set a metric to sort by.
  5. Save the recommendation by clicking Save.
  6. In the top right corner, click Save

What’s next


You can display the recommendation on your home page by using dynamic content.

  1. Go to Communication > Dynamic content > New dynamic content.
  2. In the body of the dynamic content, use the promotion insert.
    Note: Read more about how to use promotion in inserts here.
  3. Add CSS and/or HTML to the dynamic content.
  4. Define the rest of the settings.

Check the use case set up on the Synerise Demo workspace


You can check the aggregate, and recommendation configuration directly in Synerise Demo workspace.

If you’re our partner or client, you already have automatic access to the Synerise Demo workspace (1590), where you can explore all the configured elements of this use case and copy them to your workspace.

If you’re not a partner or client yet, we encourage you to fill out the contact form to schedule a meeting with our representatives. They’ll be happy to show you how our demo works and discuss how you can apply this use case in your business.

Read more


😕

We are sorry to hear that

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

😉

Awesome!

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

Close modal icon Placeholder alt for modal to satisfy link checker