How to show recently viewed on Home page in Magento 2?

How to Show Recently Viewed and Compared Products on Home page in Magento 2

Please follow below instructions to show the recently viewed and compare product on homepage.

Step 1:- Login to your admin panel.
Step 2:- Go to Content->Elements->Pages and click on it.

Step 3:- Click on Home page. If your homepage is name differently then edit that page.

Step 4:- Now click on Content tab then click on Show / Hide Editor.

Step 5:- Now click on Insert Widget… button and select Widget Type Recently Viewed Products from drop-down.

Step 6:- Now select Widget Options as per your requirement.

a. Number of Products to display:- Set the number of recently viewed products to show.

b. Product attributes to show:- Select the recently viewed products attribute to show.

c. Buttons to show:- Select the recently viewed products buttons to show.

d. Template:- Select template as your requirements.

Step 7:- Now click on Insert Widget button.

Step 8:- At last click on Save button.

Step10:- Finally clear the cache and refresh your home page.