Step [1] – Go STORES > Configuration, redirects Configuration section.

Step [2] – Left panel under Catalog, choose Catalog

Step [3] – Go to Catalog & Expand the Recently Viewed/Compared Products section & follow below things

Step [1] – Go STORES > Configuration, redirects Configuration section.
Step [2] – Left panel under Catalog, choose Catalog
Step [3] – Go to Catalog & Expand the Recently Viewed/Compared Products section & follow below things