Excluding category of recently purchased products in recommendations

Published June 23, 2022
Modules
Difficulty
Selected Clients
mediaexpert logosharafdg logo

Personalized product recommendations are incredibly effective because they use your customers’ search, browsing, and purchase history to recommend products that are tailored to their specific requirements and preferences. To create even better communication, you can exclude from recommendations the categories of items recently bought by a customer.

In this use case, you will learn how to create a personalized recommendation campaign which uses an aggregate to exclude the categories of recently purchased products.

Prerequisites


Process


  1. Create an aggregate of recently purchased products’ categories to exclude them from personalized recommendation campaign.
  2. Create a recommendation.

Create an aggregate


In this part of the process, create an aggregate that will return categories of products already bought by the customer.

  1. Go to Analytics icon Analytics > Aggregates > New aggregate.
  2. Enter the name of the aggregate.
  3. As the type of the aggregate, select Last Multi.
  4. Select Consider only unique occurrences of the event parameter.
  5. In the Size field, enter the number of returned categories.
  6. Select the product.buy event.
  7. Select the category parameter.
  8. Define the period from which the aggregate will return products from the event.
    This period will affect which purchases are included when checking for categories to exclude from the recommendation.
  9. Save the aggregate.
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 & Source section, click Define.

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

  5. Choose the Personalized recommendation type.

  6. Click Apply.

    Configuraion of the catalog and recommendation type section
    Configuraion of the catalog and recommendation type section
  7. In the Items section, click Define.

    1. Click Add slot.

    2. Define the minimum and maximum number of items that will be recommended to the user in each slot. In our example, one slot returns 4 products

    3. Click Static filter.

      Note: Learn about the difference between elastic, static, and distinct filters.

    4. From the dropdown list, choose Visual Builder.

    5. Click Select attribute.

    6. From the dropdown list, choose the category attribute.

    7. Click Operator.

    8. From the dropdown list, choose Does not equal.

    9. Click the value type icon (Value icon) a few times until it changes to the aggregate icon.

    10. From the dropdown list, choose the aggregate you have created.

    11. In the Level range input area that appear, you can define the category level as a numeric value.

      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 an Outdoor > Sport > Running category and an Outdoor > Sport > Football category. If level 0 is selected, the two categories are excluded. If level 1 is provided, the Outdoor > Sport category and any of its subcategories will be excluded.

    12. Click Apply.

      Example of static filter conditions
      Example of static filter conditions
  8. In the Items section, click Apply.

  9. Optionally, you can define the settings in the Boosting and Additional settings sections.

    Tip: Learn more about boosting and additional settings.

  10. Save the recommendation.

What’s next


You can display the recommendation to customers in a number of ways. For example by using the recommendation insert in dynamic content, or in mobile application with content widget, both on Android and iOS.

Check the use case set up on the Synerise Demo workspace


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

If you don’t have access to the Synerise Demo workspace, please leave your contact details in this form, and our representative will contact you shortly.

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