Bestselling product recommendations

Published December 27, 2021
Modules
Difficulty
Selected Clients
minimalism logosharafdg logomodivo logo

The psychological mechanism of social proof makes the choices of other people influence the decisions of an individual. It encourages customers to browse (and often buy) products that are popular. This use case describes implementation of bestselling products in the last 30 days.

Prerequisites


Process


In this use case, you will go through the following steps:

  1. Preparing AI recommendations.
  2. Create dynamic content campaign.

Prepare AI recommendation


  1. Go to Image presents the Communication icon Communication > Recommendations > Add recommendation.
  2. Enter the name of the recommendation (it is only visible on the list of recommendations).
  3. In the Type & source section click Define.
  4. From the Catalog dropdown list, select a product feed that has a trained model.
  5. Select the Top products recommendation type.
    Selected type and product feed of the recommendation
    Selected type and product feed of the recommendation
  6. Confirm the recommendation type by clicking Apply.
  7. In the Items section, click Define.
  8. Click Add slot.
  9. Click the Unnamed slot that was created.
  10. Define the minimum and maximum number of products displayed in the frame according to your needs.
  11. In the Static filters, select the availability parameter and set it to true, so the recommendations will show only available items.
  12. Optionally, you can use filters to include specific items in the recommendation frame.
  13. Confirm the configuration by clicking Apply.
  14. In the Additional settings, click Define.
  15. From the Sort metric dropdown list, select Sold items count in the last 30 days.
    A metric that arranges the order of the items in the recommendation according to the amount of sold items
    A metric that arranges the order of the items in the recommendation according to the amount of sold items
  16. Confirm the configuration of Additional settings by clicking Apply.
  17. Click Save.

Create dynamic content


Tip: If you don’t want to use dynamic content, you can retrieve recommendations through API, using this method.
  1. Go to Image presents the Communication icon Communication > Dynamic content > Create new.

  2. Enter the name of the dynamic content.

  3. Choose Insert Object type.

  4. As the audience, select Everyone.

  5. In the Content section, select Simple message, and specify the CSS selector where you want to insert recommendations.

  6. In the Content tab, click Create Message.

  7. In the code editor, insert Jinjava with the AI recommendation and add your own CSS.

    Click to see Jinjava

    Replace your_campaign_ID with the ID of the AI recommendation. The ID of the AI campaign is contained in the URL of the recommendation.

      <!-- Downloading the AI campaign --> 
     {% recommendations3 campaignId=your_campaign_ID %}
     {% for p in recommended_products3 %}
     <li data-snr-ai-product-id="{{p.itemId}}">
     <a class="snrs-AI--item-link" href="{{p.link}}" title="{{p.title}}">
     <img src="{{ p.imageLink }}"class="products-slider__item-image snrAI-product-image snrAI-product-image-{{p.itemId}}" width="90" alt="{{p.title}}" id="snrAI-image-{{p.itemId}}">
     <h3 class="snrs-AI-product--product-name">
     <span class="snrs-AI-product--name-first">{{p.title}}</span>
     </h3>
     <span class="snrs-AI-product--series">{{p.attributes.series}}</span>
     </a>
     </li>
      {% endfor %} {% endrecommendations3 %}

  8. Save the template.

  9. In the Schedule section, select the date when the dynamic content is activated.

  10. In Display settings, define the circumstances for displaying the content.

    Note: Instructions how to do it are available here.

  11. Confirm by clicking Apply.

  12. In the UTM & URL parameters section, click Skip step.

  13. Activate the dynamic content.
    Result: The recommendation frames are displayed on the website.

What’s next


You can also show recommendations in emails by inserting Jinjava code with AI recommendations in an email template.

Check the use case set up on the Synerise Demo workspace


You can check the recommendations settings and dynamic content campaignin 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