# 移动应用：它们在网站的哪一部分？

**URL:** <https://meta.discourse.org/t/mobile-apps-where-are-they-in-the-website/349555>\
**Category:** Community Building\
**Tags:** discourse-hub\
**Created:** [2025 年1 月 29 日 13:32 UTC](https://meta.discourse.org/t/mobile-apps-where-are-they-in-the-website/349555 "2025-01-29T13:32:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)\
发布日期： [2025 年1 月 29 日 15:07 UTC](https://meta.discourse.org/t/mobile-apps-where-are-they-in-the-website/349555/2 "2025-01-29T15:07:01Z")

</div>

说得好，谢谢 @StefanoCecere！我们绝对应该提高网站上移动应用的可见度。

@rishabh 你能负责这件事吗？

> [@StefanoCecere](#):
>
> 我们能在报告中知道有多少人使用移动应用吗？

我们还没有报告，但你可以使用数据浏览器获取这些信息。此查询将为你提供使用移动应用的已认证用户列表：

```plaintext
-- [params]
-- date :start_date = 2024-11-30
-- date :end_date = 2024-12-26

WITH hub_visits AS (
  SELECT
    user_id,
    MIN(created_at) as first_visit,
    MAX(created_at) as last_visit,
    COUNT(*) as total_visits
  FROM user_auth_token_logs
  WHERE user_agent LIKE '%DiscourseHub%'
    AND created_at BETWEEN :start_date AND :end_date
  GROUP BY user_id
)
SELECT
  hv.user_id,
  u.username,
  hv.first_visit,
  hv.last_visit,
  hv.total_visits
FROM hub_visits hv
JOIN users u ON u.id = hv.user_id
ORDER BY hv.last_visit DESC

```

---

_[View the full topic](https://meta.discourse.org/t/mobile-apps-where-are-they-in-the-website/349555)._
