How it works
- When a customer opens a product detail page, the SDK records that product in a smart list called
recently-viewed. - The most recent 8 items are displayed in the drawer under a “Recently viewed” section.
- Clicking a product in the list opens its product detail view inside the drawer.
Recently viewed data is tied to the current customer session. Logged-in
customers see their history across devices, while guest visitors see history
for the current browser only.
Enabling or disabling
The feature is enabled by default. To hide the recently viewed section from the home view, sethidden: true on the recently-viewed section: