# Effectively logging search queries

**URL:** <https://meta.discourse.org/t/effectively-logging-search-queries/63838>\
**Category:** Feature\
**Created:** [2 Giugno 2017, 8:29pm UTC](https://meta.discourse.org/t/effectively-logging-search-queries/63838 "2017-06-02T20:29:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)\
**Post date:** [8 Giugno 2017, 4:11am UTC](https://meta.discourse.org/t/effectively-logging-search-queries/63838/2 "2017-06-08T04:11:58Z")

</div>

> [@sam](#):
>
> On click on search result (in either full page search or header) update the clicked\_topic\_id, (have search results return log id, then update it based on log id + user match + in last 10 minutes)

So if I search for something and open three results in three tabs, what happens? Last one “wins”?  
➡ The behavior of “multiple clicks for one search, save last only” is better for times when someone searches, clicks, hits back, clicks again, hits back, clicks a final time. New tabs subvert that though.

If I search for a topic, right click to copy URL, and then paste that in as a “you should look here” answer, is that counted as a “click”?  
➡ Copying URLs from posts does not increase click count, for reference. But this is a case when the desired search result _really_ should be saved.

---

_[View the full topic](https://meta.discourse.org/t/effectively-logging-search-queries/63838)._
