Distributing recommendations

You can add recommendations to:

  • emails,
  • web push notifications,
  • in-app messages,
  • mobile push notifications,
  • to the website as a dynamic content,
  • to your mobile application using the Documents feature

Decide what kind of communication channel you want to incorporate the recommendation into.

Requirements


You must create a recommendation before.

Embedding a recommendation in templates


This section presents how to insert a recommendation in the templates of the following content types:

  • email,
  • dynamic content,
  • in-app messages

You can insert the recommendation in the following ways:

Insert recommendation code

  1. Go to Campaign icon Communication

  2. Select a communication type:

    • Email
    • Dynamic content
    • In-app messages
  3. On the left pane, select Templates.

  4. In the upper right corner, click New template.

  5. If you selected the email channel, select Code editor. For the remaining two content types, you will be automatically redirected to the code editor.

  6. At the top of the view, click Inserts.

  7. Select one of the categories: AI Suite, AI Cart Recommendations, or AI Recommendations 2 (for cart recommendations in v2).

  8. Click the name of the recommendation.
    Result: You get a code of the recommendation.

  9. Click Get HTML code.

  10. If necessary, you can make changes to the HTML code.

  11. Click Copy to clipboard.

  12. Close the HTML preview of the code.

  13. Paste the code into the HTML editor.
    Result:

    Recommendation distribution
    HTML code of the recommendation in an email template
Tip: You can incorporate the recommendation in various communication channels or documents in the same way using Inserts.

Add a selector with recommendations

To make editing simple for non-programmer users, you can create a variable in the template. It will be available in the Config tab as a dropdown list with all recommendations available in the workspace.

  1. Go to Campaign icon Communication

  2. Select a communication type:

    • Email
    • Dynamic content
    • In-app messages
  3. On the left pane, select Templates.

  4. In the upper right corner, click New template.

  5. If you selected the email channel, select Code editor. For the remaining two content types, you will be automatically redirected to the code editor.

  6. Select one of the following tabs: HTML, CSS, JavaScript.

  7. In the upper-right corner, click Variable.
    Result: On the left side, a sidebar appears.

  8. In the Identifier field, enter the ID of the variable.

  9. From the Type dropdown list, select Synerise insert select.

  10. Optionally, fill the Label (which is the name of the field in the configuration form) and the Description (which is the description of the field in the configuration form) fields.

  11. From the Insert Type dropdown list, select AI Recommendations.

  12. At the top of the sidebar, click Add.
    Result: In the Config tab, a selector with recommendations appears.

    Recommendation list
    The list of recommendations in the Config tab
😕

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