Saving search queries from a search form

Matthew Neal asked on January 2, 2018 01:31

Hi All!

I have a client that wants to save every search query that gets entered into their search form. What would be the easiest way to do this? Is there already some similar built in feature I could take advantage of? If not, I was thinking about setting up a custom table that populates on every search entered. Would this be the best way to go?

Thank you in advance!

Correct Answer

David te Kloese answered on January 2, 2018 09:27


you might be able to use the 'Track on-site keywords'

Indicates if the keywords that were used in the website's local search functionality should be logged.

In Kentico reporting:

Or in SQL:

Image Text

You can see it's stored per site and includes a culture code. This might work if you have just 1 search page on your site that you want to use this for.

1 votesVote for this answer Unmark Correct answer

Recent Answers

Brenden Kehren answered on January 2, 2018 01:56

I believe analytics and activities already log this info but not in the format I'm guessing you want it. But you may be able to find a query to get that info out OR check the Reporting app and see if there is already a report created with that info.

2 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.