# Analytics click, link of documents in meta engines not working

**URL:** <https://discuss.elastic.co/t/analytics-click-link-of-documents-in-meta-engines-not-working/332518>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [May 4, 2023, 8:46am UTC](https://discuss.elastic.co/t/analytics-click-link-of-documents-in-meta-engines-not-working/332518 "2023-05-04T08:46:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CodeDan](https://avatars.discourse-cdn.com/v4/letter/c/cdc98d/32.png) [@CodeDan](https://discuss.elastic.co/u/CodeDan)\
**Post date:** [May 4, 2023, 8:46am UTC](https://discuss.elastic.co/t/analytics-click-link-of-documents-in-meta-engines-not-working/332518/1 "2023-05-04T08:46:42Z")

</div>

Hello Elastic Community,

I´m trying to implement the click api for meta engines on ELK 8.7.0. The url from the clicked documentIds, to see the actual document, doesn´t work for meta engines in the analytics section. The id of the document is linked to the following url  
../app/enterprise\_search/app\_search/engines/testmetaengine/documents/park\_rocky-mountain

I guess it should be the url of the source engine, not the meta engine, is this a bug?  
When clicking on the document id in the analytics tab, following error will be showed.

 ![ProblemMessage](https://us1.discourse-cdn.com/elastic/original/3X/2/6/26a4c0e341957ab9b090a121ebc2db922992fdf1.png)

the source engine testengine contains the document:

```auto
{
   "id": "park_rocky-mountain"
}

```

and is part of the meta engine testmetaengine

to create the click event, following api call is used:  
POST ../api/as/v1/engines/testmetaengine/click

```auto
{
    "query" : "test",
    "document_id": "testengine|park_rocky-mountain"
}

```

Am I doing anything wrong, or is this probably just a bug / not supported yet?

---

<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:** [June 1, 2023, 8:47am UTC](https://discuss.elastic.co/t/analytics-click-link-of-documents-in-meta-engines-not-working/332518/2 "2023-06-01T08:47:31Z")

</div>

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