Answers.Body: <p>You could use tracking tools like Google Analytics for this? Otherwise create a plugin that creates entries that keep track of whatever query were used.</p>
  
  <p><a href="https://craftcms.com/docs/plugins/working-with-elements" rel="nofollow">https://craftcms.com/docs/plugins/working-with-elements</a>.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-01T10:26:48.317Z
Answers.Text: The suggestion re. Google Analytics is good, but the answer on the marked duplicate question is a much more complete and helpful version, so I am assuming that I shouldn't mark this as the answer to my question? Happy to be disagreed with! :) The idea re. creating entries which keep track of queries used is interesting, but it doesn't feel like a great solution to be honest, as an entry doesn't really feel like the right place to house data, and isn't something we can use (inc sharing with clients) in a clean way. Again, happy to be disagreed with!
Answers.UserDisplayName: Mike Vaux
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-29T15:49:58.023Z
Answers.LastActivityDate: 2016-02-29T22:30:48.763Z
Answers.LastEditDate: 2016-02-29T22:30:48.763Z
Answers.UserDisplayName: Maarten de Graaf
Body: <p>Is it possible to obtain data on what searches have been performed through the front end of a Craft website?</p>
  
  <p>e.g. If there is a search results page which runs</p>
  
  <pre><code>{% set results = craft.entries.search(query) %}
  </code></pre>
  
  <p>is that the query data stored anywhere? It would be helpful in terms of understanding what kinds of search terms / keywords people are using to search for information.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-29T17:45:04.543Z
Comments.Text: Great question! It's actually a dupe thought... http://craftcms.stackexchange.com/q/4557/45
Comments.UserDisplayName: Lindsey D
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-03-01T09:33:47.660Z
Comments.Text: Aw maaan - totally didn't come across that question when searching! Which.. is ironic, given the nature of the question! Thanks though ;)
Comments.UserDisplayName: Mike Vaux
Tags: <search>
Title: Is it possible to access users' search query data?
ThreadText: # Is it possible to access users' search query data?
  
  (Asked by: username_0 on 2016-02-29)
  
  Is it possible to obtain data on what searches have been performed through the front end of a Craft website?
  
  e.g. If there is a search results page which runs
  
  ```
  {% set results = craft.entries.search(query) %}
  
  ```
  
  is that the query data stored anywhere? It would be helpful in terms of understanding what kinds of search terms / keywords people are using to search for information.
  
  **Tags:** search
  
  > **Comments:**
  > **username_1**: Great question! It's actually a dupe thought... http://craftcms.stackexchange.com/q/4557/45  
  > **username_0**: Aw maaan - totally didn't come across that question when searching! Which.. is ironic, given the nature of the question! Thanks though ;)  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2016-02-29. Score: 2
  
  You could use tracking tools like Google Analytics for this? Otherwise create a plugin that creates entries that keep track of whatever query were used.
  
  <https://craftcms.com/docs/plugins/working-with-elements>.
  
  > **Comments:**
  > **username_0**: The suggestion re. Google Analytics is good, but the answer on the marked duplicate question is a much more complete and helpful version, so I am assuming that I shouldn't mark this as the answer to my question? Happy to be disagreed with! :) The idea re. creating entries which keep track of queries used is interesting, but it doesn't feel like a great solution to be honest, as an entry doesn't really feel like the right place to house data, and isn't something we can use (inc sharing with clients) in a clean way. Again, happy to be disagreed with!  
  
  ---
  
  