Capture search terms from search page

I'm wondering if anybody knows if you can capture search terms from a search page and save the search terms somewhere like a log file. I'm not talking about users coming from google, rather the users that are already on your site and use you search function. How can I capture those keywords? Any tutorials online? Thanks
flukesterAsked:
Who is Participating?
 
tiagosalgadoConnect With a Mentor Commented:
Thats obvious.
If you want to store all keywords into multiple rows you need to use Split() function.

Dim keys As String = "my keywords to insert"
Dim keywords() As String = keys.Split(" ")
For Each k As String In keywords
    ' insert in DB your k.ToString()
Next
0
 
fanopoeConnect With a Mentor Commented:
do you have a database behind your site? Pass them into there.
0
 
flukesterAuthor Commented:
Are you saying every time someone hits the search button, insert a row into a table with the search term?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.