# Getting all users' clicks on search results

**URL:** https://discuss.elastic.co/t/getting-all-users-clicks-on-search-results/324955
**Category:** Elastic Search
**Tags:** elastic-workplace-search
**Created:** [February 8, 2023, 2:30am UTC](https://discuss.elastic.co/t/getting-all-users-clicks-on-search-results/324955 "2023-02-08T02:30:59Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Olivia\_Xu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/olivia_xu/32/116915_2.png) [@Olivia\_Xu](https://discuss.elastic.co/u/Olivia_Xu)
#### Post date: [February 8, 2023, 2:30am UTC](https://discuss.elastic.co/t/getting-all-users-clicks-on-search-results/324955/1 "2023-02-08T02:30:59Z")

</div>

Hi!

I want to track users' clicks on search results for ALL queries. I'm looking at this [page](https://www.elastic.co/guide/en/workplace-search/current/workplace-search-analytics-event-api.html) and it looks like for each API call, I can only get the clicks for one document in one query (because it seems that I will need to provide the id of that specific document in that specific query). So what should I do if, say, I want to see what the user clicked during 10 searches? Looks like I might need to make a ton of API calls. Am I understanding the documentation correctly? Is there a convenient way to do this?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 8, 2023, 2:31am UTC](https://discuss.elastic.co/t/getting-all-users-clicks-on-search-results/324955/2 "2023-03-08T02:31:23Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
