
Adding browsing history for React-based stores.
You can display recently viewed products (browsing history) using a new Page Composer tool for React-based stores. This document gives the steps to add "Browsing history" to your default Emerald store home page.
Before you begin
- Ensure that a site administrator has configured your site to support Management Center marketing features. See Configuring marketing for Management Center.
- Ensure that the catalog entries that you want to display in the e-Marketing Spot exist in Management Center in your catalog.
- To display predefined cross-sells, up-sells, accessories, or replacements for products, you must have merchandising associations setup in your catalog.
- If you want to target a specific customer segment in the web activity, the customer segment must exist in Management Center.
Procedure
- Open the Management Center Marketing tool.
- Select EmeraldSAS.
- Create an E-Marketing Spot with an appropriate title such as Recently Viewed.
- Create a web activity with the title Recently Viewed. For more details, see Creating a web activity that displays catalog entries
-
Associate the newly created web activity with the Recently Viewed E-Marketing
Spot.
- Click the E-Marketing Spot icon.
- In the search box, enter the name of the newly created E-marketing spot i.e. Recently Viewed.
- Click the Find and Add button to add the E-marketing spot.
- Click the Save button.
- Click the Display Recently Viewed icon next to the E-Marketing Spot icon.
- In the Display Recently Viewed section, go to the the Type of list drop-down list and select Catalog Entries.
- Input an integer value in the Maximum Number box which specifies the maximum number of products you want to display in the Recently Viewed E-Marketing Spot widget.
- Click the Save button to save changes.
- Click the Activate icon to enable the activity on the storefront.
- Open the Page Composer tool for Emerald store.
- Search the Recently Viewed E-Marketing Spot widget and add it to the home page.