Custom build wordpress plugin for saving searched queries into a database and get in the Wordpress back-end an overview of the most common searched queries.
You need to call the plugin to save the searched query in the database. For example:
// Check if the plugin exists / is enabled
if ( class_exists( 'ES_List_User_Searches' ) ) {
// Send searched query results
ES_List_User_Searches::save_search( $searched_query, $total_hits, $site_url );
}
Note: $site_url is optional