You are browsing upcoming documentation for version 6.0 of OroCommerce, OroCRM, and OroPlatform, scheduled for release in 2024. Read version 5.1 (the latest LTS version) of the Oro documentation to get up-to-date information.
See our Release Process documentation for more information on the currently supported and upcoming releases.
Search History enables users to view a history of all searches performed in the storefront.
To configure the search history settings per customer group:
Navigate to Customers > Customer Groups in the main menu.
For the necessary customer group, hover over the More Options menu to the right of the necessary group and click the Configuration icon to start editing the configuration.
Select Commerce > Search > Search Terms in the menu to the left.
In the Search History section, clear the Use Website check box and configure the following option:
Enable Search History Collection - depends on the Enable Search History Reporting option. When Enable Search History Collection is enabled, all search queries are logged into the database. This option allows enabling/disabling certain groups of visitors. For example, you can choose not to log requests from anonymous users by turning off this option at customer group level for Anonymous customers. Exercise care when enabling this option on popular websites as it may result in a large number of records saved to the database.
Click Save Settings.