What I've realized is that we have no access to understanding what search queries people enter into that text box. Is there a way to grab that information?
Hi @eismarketing , could you give some more info on what you need to accomplish?
i.e Your search has suggestions that are displayed as you type, so searching for "inf" would probably give a few results and it is meaningless to try and catch those strings.
A more meaningful approach would be to get the results only when someone goes to the results page after searching for something, so you can get the searched term from the dictionary with {{ request.query_dict.term|escape }} on your search results page.
Having the term you can do a lot of stuff, it just depends on what you want to accomplish.
One idea is to submit this result to a form, thus you can see all the submissions and compare them, see some analytics about the number of results or something else, it is difficult to suggest something without knowing what you would like to accomplish. Note, you will need to create a form with a property for the searched term. Another idea is to use a custom event handler or something entirely else, like a workflow, etc.
So maybe you can elaborate a bit more on your request so we could help a bit more.
Hope my answer helped you get a direction on where to go next, and maybe we'll be able to help you more after you share some more info about your approach. If it did help you or you found it useful please mark it as a solution.
Hi @eismarketing , could you give some more info on what you need to accomplish?
i.e Your search has suggestions that are displayed as you type, so searching for "inf" would probably give a few results and it is meaningless to try and catch those strings.
A more meaningful approach would be to get the results only when someone goes to the results page after searching for something, so you can get the searched term from the dictionary with {{ request.query_dict.term|escape }} on your search results page.
Having the term you can do a lot of stuff, it just depends on what you want to accomplish.
One idea is to submit this result to a form, thus you can see all the submissions and compare them, see some analytics about the number of results or something else, it is difficult to suggest something without knowing what you would like to accomplish. Note, you will need to create a form with a property for the searched term. Another idea is to use a custom event handler or something entirely else, like a workflow, etc.
So maybe you can elaborate a bit more on your request so we could help a bit more.
Hope my answer helped you get a direction on where to go next, and maybe we'll be able to help you more after you share some more info about your approach. If it did help you or you found it useful please mark it as a solution.