How to display recently viewed items in an email

Estimated 2 minute read
|
Updated Aug 29, 2024, 6:37 PM EST
You will learn

You will learn

Learn how to include a reminder of the items someone has recently viewed or added to their cart in an email. 

Recommendation examples

Before you begin

Before you begin

Before taking the following steps, make sure: 

Create a personalized product feed

Create a personalized product feed

To create a product feed that displays someone’s recently viewed products: 

  1. From Klaviyo’s sidebar, click Content > Products.
  2. Click Manage Product Feeds.
    The Manage Product Feeds option in Klaviyo

  3. Click Create Product Feed.
  4. Name the product feed something descriptive, like RECENTLY_VIEWED_PRODUCTS. Note that spaces are not permitted in feed names.
  5. In the What products should the customers view first? dropdown, scroll down and click Products a customer has recently viewed. Alternatively, select Products a customer has added to cart for a feed of items they've recently added to their cart. 
    The settings for a product feed of items a recipient recently viewed

  6. Complete the additional fields as desired.
  7. Click Save Product Feed.
Add viewed items to an email

Add viewed items to an email

Once you’ve created your product feed following the steps above, head to an email template. You can add recently viewed products to any email template (including those in campaigns and flows). Once you’ve opened the editor for the template you’d like to work with: 

  1. Drag a Product block into your template.
    The product block icon in the Klaviyo template editor
  2. In the Content settings, make sure the feed is set to Dynamic, then choose the feed you created in the last section in the Product feed field.
    A product block with the recently viewed product feed selected
  3. Modify the other options in the Styles tab to adjust how your viewed products appear, including how many products to display.
  4. When you’re finished, click Done and save your template.
Outcome

Outcome

When this message is sent, recipients will see the products they viewed (or added to cart) most recently in the product block section of the email. If a recipient has a limited history of viewed products, they’ll see bestselling or most trending products, depending on the options selected in your feed settings. 

Note that Klaviyo is only able to track viewed items for cookied users

Additional resources

Additional resources

Was this article helpful?
Use this form only for article feedback. Learn how to contact support.

Explore more from Klaviyo

Community
Connect with peers, partners, and Klaviyo experts to find inspiration, share insights, and get answers to all of your questions.
Live training
Join a live session with Klaviyo experts to learn about best practices, how to set up key features, and more.
Support

Access support through your account.

Email support (free trial and paid accounts) Available 24/7

Chat/virtual assistance
Availability varies by location and plan type