DEV Community

Leo Mitchell
Leo Mitchell

Posted on

Add Recently Viewed Products to Shopify: A Simple Guide for Better Shopping Experiences


Imagine a customer visits your Shopify store, checks a few products, compares options, and leaves without buying. Later, they return ready to continue shopping, but now they cannot remember which products caught their attention. They have to search again, browse collections, or start from the beginning. That extra effort can quickly turn interest into a lost opportunity.
This is where Add Recently Viewed Products to Shopify becomes useful. Instead of making shoppers retrace their steps, your store can automatically remind them about products they have already explored.

What Are Recently Viewed Products?
Recently viewed products are a personalized store feature that remembers the products a shopper has visited and displays them again in a carousel, product list, or similar section.
Unlike product recommendations, this feature does not try to predict what a customer might like. It simply remembers what they already viewed. For example, if someone checks a pair of shoes, a jacket, and a backpack, those products can appear again when they return to your store.
This creates a smoother shopping journey because customers can continue from where they stopped.

Why Does This Matter for Shopify Stores?
Online shopping is rarely a straight path. Customers may compare several products, switch between tabs, get distracted, or leave the store to think about a purchase.
Large product catalogs can make returning to a specific item even harder. Mobile shoppers face another challenge because browsing sessions are often shorter and easier to interrupt.
Recently viewed products help solve this small but important problem by reducing the number of steps between a shopper and something they already found interesting. Shopify research cited by QeApps also highlights how difficulty finding suitable products can cause shoppers to give up during online shopping.

Recently Viewed vs. Recommended Products
These features may look similar, but they serve different purposes.
Recently viewed products help shoppers rediscover products they have already seen, while recommendations introduce products they may not have explored yet.
Think of it this way: recommendations help customers discover something new; recently viewed products help them find something they already liked.
Using both strategically can support different stages of the shopping journey.

How Can You Add This Feature?
There are two common approaches.
The first is custom development. A developer can use theme code, browser storage, and custom sections to build the functionality. This offers flexibility but also requires testing, maintenance, and updates when your theme changes.
The second option is using a dedicated Shopify app. For merchants who want a faster, no-code solution, an app such as Qe Recently Viewed can handle the tracking and display automatically. The app includes a responsive carousel and quick-access product drawer, while shoppers can also select variants and add products to their cart.

Where Should You Display It?
Placement can make a big difference.
On product pages, recently viewed items help customers compare products. On the homepage, they can help returning visitors quickly reconnect with previous browsing activity. On collection pages, they provide a useful reminder while shoppers continue exploring the catalog.
The goal is not to add another section everywhere. Instead, choose locations where it naturally supports the customer journey.

Setting Up Qe Recently Viewed
With Qe Recently Viewed, setup can be completed through the Shopify Theme Editor:
Open Shopify Admin.
Go to Online Store → Themes.
Click Customize on your active theme.
Open App Embeds.
Enable Qe Recently Viewed.
Save your changes.
You can then position the section where it makes the most sense for your store, without editing theme code.
The app also supports mobile-responsive layouts, customization options, quick add-to-cart functionality, and flexible placement. It carries Shopify's Built for Shopify recognition as well.

Keep the Experience Simple
Adding the feature is only the beginning. Avoid placing too many carousels on one page, keep the design consistent with your theme, and make sure the section is easy to use on mobile devices.
A simple “Recently Viewed” heading is usually enough. The purpose is to help customers continue shopping, not compete with every other element on the page.

Want to Explore the Full Setup?
Recently viewed products can be a small addition, but they solve a very practical problem: helping shoppers find products they have already shown interest in.
If you want to see the complete setup process, placement options, customization tips, and app comparison, read the full guide on how to add recently viewed products to Shopify and discover how Qe Recently Viewed can fit into your store.

Top comments (0)