# Search Api doesn't give result of analytics clicks

**URL:** <https://discuss.elastic.co/t/search-api-doesnt-give-result-of-analytics-clicks/309089>\
**Category:** Elasticsearch\
**Created:** [July 7, 2022, 8:55am UTC](https://discuss.elastic.co/t/search-api-doesnt-give-result-of-analytics-clicks/309089 "2022-07-07T08:55:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bilal.shahid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bilal.shahid/32/97459_2.png) [@bilal.shahid](https://discuss.elastic.co/u/bilal.shahid)\
**Post date:** [July 7, 2022, 8:55am UTC](https://discuss.elastic.co/t/search-api-doesnt-give-result-of-analytics-clicks/309089/1 "2022-07-07T08:55:05Z")

</div>

I have a table of Search Terms in **Analytics** of **ElasticSearch** with the columns of document\_ids of their products, Analytics tags, and clicks. I am searching the query on Postman using **Search API** of **Elasticsearch** to get the list of products according to the tags assigned to it like:

```auto
{
    "query": "jeans",
    "analytics": {
        "tags": ["1234"]
    }
}

```

The search result of products doesn't show me those products we have gathered through **Analytics clicks API** of ElasticSearch. It gives me the list of products according to their score. I want the result that also shows a list of those products which I have collected by using Analytics clicks API. Kindly guide me about it.  
Thanks

---

<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:** [August 4, 2022, 8:55am UTC](https://discuss.elastic.co/t/search-api-doesnt-give-result-of-analytics-clicks/309089/2 "2022-08-04T08:55:20Z")

</div>

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