# Improve Onebox click counting

**URL:** <https://meta.discourse.org/t/improve-onebox-click-counting/130409>\
**Category:** Feature\
**Created:** [October 7, 2019, 1:52pm UTC](https://meta.discourse.org/t/improve-onebox-click-counting/130409 "2019-10-07T13:52:14Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)\
**Post date:** [April 2, 2020, 6:41pm UTC](https://meta.discourse.org/t/improve-onebox-click-counting/130409/22 "2020-04-02T18:41:36Z")

</div>

> [@riking](#):
>
> If the link is in a onebox body, find the URL of the onebox. If that URL is the same as the link, count the click. Otherwise, ignore

I added this functionality in below commit

[https://github.com/discourse/discourse/commit/e7e931b70b5790a71d41893834d5e8c9945c92df](https://github.com/discourse/discourse/commit/e7e931b70b5790a71d41893834d5e8c9945c92df)

---

_[View the full topic](https://meta.discourse.org/t/improve-onebox-click-counting/130409)._
