Customize Recommendations for Email and Web
After completing this unit, you’ll be able to:
- Create standard data extensions for segmenting.
- Build templates for Email and Web Recommendations.
- Preview rule manager and reporting tools.
Put Einstein to Work
Now that you’ve successfully set up your catalog and are collecting data from your website, it’s time to use that delicious cookie data you’ve collected. There are a lot of cool things you can do with this data, including using the created data extensions for segmentation or for building behavioral triggers, such as an abandoned cart campaign. For this unit, we focus on segmentation and how to create recommendations for your emails and website.
Segment with Einstein Data Extensions
Before you start creating segments, you need to enable data extensions. Navigate to the Status tab under Email or Web Recommendations.
Next, click the Setup icon and select Data Extension Settings. Click Enable Einstein Data Extensions.
Once enabled, a variety of data extensions are created based on the type of catalog you set up. Why is this so important? Because it allows you to use the rich data collected through the Collect Tracking Code to create filtered data extensions that can be used for segmentation.
Here’s how Northern Trail Outfitters (NTO) might use these data extensions to target specific customers. Isabelle Givens, digital marketing manager for NTO, plans to create a sendable data filter based on the content views data extension. NTO has an annual end of summer sale, and Isabelle wants to send a targeted one-time coupon to customers who viewed sandals. Einstein makes this possible.
Experiment with using these data extensions in your campaigns, but don’t update the fields or add custom fields to these. To make sure everything works properly, it’s important to leave them as-is or make copies of the data extensions or filtered data extensions.
Einstein Email Recommendations
Einstein Recommendations provide customers with fast, accurate recommendations when they open their email. But first, we need to build those recommendations using templates. On the overview tab of Email Recommendations, notice there are two distinct areas: Logic and Displays. Let’s start there.
Logic (1) is where you create the logic or rules for each type of recommendation. Display (2) is how your content is visually displayed in your email. You can use an existing display or create a new one. You should have unique logic for each email template, but displays can be reused across multiple logic models.
Let’s walk through the steps to create a recommendation. (Reminder: You need to be an admin to complete these steps. But even if you’re not, you can follow along.)
Create the Logic for Your Template
- Navigate to Email Recommendations under Einstein.
- Click Create New Logic.
- Enter a Unique Name for the email template.
- Select the type of catalog you are using and click Create.
Choose Your Display
Next, determine what display (or recommendation layout) is used for your recommendations. A display shows an image of your product or content, along with the additional info that you want the subscriber to know about that recommendation.
- Select an existing display or click Create New.
- You can select identifiers or use the existing identifiers (displayed attributes) by clicking Add.
- Click Preview to review your recommendation.
- To save your display without publishing, select Stage Changes. Or click Save and Publish.
- Click Exit.
Select Your Scenarios
Remember scenarios from earlier? Yep, those prebuilt algorithms that drive Einstein Recommendations. They’re back. Now’s the time to select a scenario based on the type of communication you are building. Let’s review some common uses.
Email includes a suggested product based on a customer’s previous or current transactions.
Bought Bought Merge
Bought Bought Last Purchase
Bought Bought Last Cart
Engage and Retain
(promos, loyalty, discounts)
Email includes a product or content that is based on a user’s interest or affinity.
Last Views Merged
Email includes recommended content or the most popular or most viewed item. You can also highlight new products.*
*Add a rule for products released in the past 7 days—or whatever time frame you choose.
Category or Brand (holiday sale, new brand launch)
Email that includes on-site behavior specific to a category or brand being highlighted.
Tag Top Rated
Let’s look at an example of the selected scenarios for an upsell campaign in a weekly email.
You can reorder the scenarios as needed and, if desired, select Enable Waterfall Recommendations.
Choose a Layout
Next, determine the layout for how your recommendations appear. Highlight the number of columns and rows needed, like this.
Get the Code
Now that you’ve completed the setup and previewed the content, click the Get Code tab within Einstein Recommendations. Copy the code, click Save, and then click Exit. Here’s what that code might look like.
Navigate to Content Builder and your selected email. Insert the copied Email Recommendations code into a new content block within an email. Format your email as needed and be sure to Preview and Test before sending.
- To customize how recommendations render in an email, you can use AMPscript. Want to learn more about AMPscript? Check out the Trailhead module, AMPscript for Marketers.
- Place recommendations above the fold in your email design—in other words, don’t make subscribers scroll to see this awesome content.
Einstein Web Recommendations are similar to the email recommendations we just covered, but are displayed within designated placeholders on your website in real time. It’s magic. API magic, that is.
With web recommendations, you can pull any catalog field into the web recommendation using either a JSON response or HTML/JS. JSON is the preferred delivery method due to its flexibility. So let’s see what it’s all about.
Get Started with Web Recommendations
Check out this video to get started with web recommendations.
Once you have your base configuration for both Email and Web Recommendations, you can use the tab Rule Manager to refine your recommendations. You can create new rules or modify existing content from this page.
You might create rules to:
- Remove a specific SKU from a recommendation based on limited availability.
- Not show products until a specific release date (from a release date field in the catalog).
- Add a greater-than or less-than rule to show only products that have prices higher than $25 or to leave out products that have low ratings.
- Filter on categories that are popular, like clearance.
Every business is different and has unique needs for recommendations. Custom rules can be created, but keep in mind: Rules can override top-performing algorithms and can have a negative impact on predictive performance. We recommend only using them if you have a custom use case that the provided scenarios or algorithms don’t address. Otherwise, stick to the magic.
Reporting on Your Recommendations
Once your AI engine is up and running, how do you know how it’s performing? You can view the performance of your recommendations on the Reporting page. Click through the tabs to view recommendation performance by channel (email or web), scenario, contact, or item type.
This reporting tool gives you insights to do two important things.
- Measure the effectiveness of your recommendations in driving top-line conversions and revenue.
- Analyze what content is working and what content or scenarios need adjusting to optimize performance.
There’s no stopping you now. The magic of personalized recommendations is in your hands.
- Salesforce Help: Marketing Cloud Personalization Builder and Einstein Recommendations Implementation Guide (PDF)
- Salesforce Help: Einstein Recommendation Reports
- Salesforce Help: Einstein Recommendations Integration with Contact Builder
- Trailhead: AMPscript for Marketers
Rights of ALBERT EINSTEIN are used with permission of The Hebrew University of Jerusalem. Represented exclusively by Greenlight.