# كم عدد الزوار الذين اطلعوا على موضوع معين خلال فترة معينة؟

**URL:** https://meta.discourse.org/t/how-many-viewers-viewed-a-topic-during-a-certain-period/203486
**Category:** Data & reporting
**Created:** [14 سبتمبر 2021، 6:56ص UTC](https://meta.discourse.org/t/how-many-viewers-viewed-a-topic-during-a-certain-period/203486 "2021-09-14T06:56:19Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![cocococosti](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cocococosti/32/231474_2.png) [@cocococosti](https://meta.discourse.org/u/cocococosti)
#### Post date: [14 سبتمبر 2021، 8:44م UTC](https://meta.discourse.org/t/how-many-viewers-viewed-a-topic-during-a-certain-period/203486/2 "2021-09-14T20:44:18Z")

</div>

إذا كان لديك وصول إلى وحدة تحكم Rails، يمكنك تجربة ما يلي:

```plaintext
ssh root@example.org
cd /var/discourse
./launcher enter app
rails c
Topic.find(<topic-id>).views

```

لكن هذا يخضع لإعداد الموقع `topic view duration hours`، حيث يتم عد زيارات المواضيع الجديدة بعد مرور عدد N من الساعات. راجع هذا النقاش السابق حول هذا الموضوع: [Topic\_views vs Topic.views - #6 by vinothkannans](https://meta.discourse.org/t/topic-views-vs-topic-views/97175/6)

يمكنك أيضًا تجربة تتبع المشاهدات باستخدام [Google Tag Manager](https://meta.discourse.org/t/setup-google-tag-manager-for-analytics/47335).

---

_[View the full topic](https://meta.discourse.org/t/how-many-viewers-viewed-a-topic-during-a-certain-period/203486)._
