How to measure active users?

How does everyone measure active/super active users? ie people who have logged in or commented in the past month, for example.

The dashboard tells me the number of visits and comments etc, but I don’t know how to chunk this down easily into actual users. We’ve got 1400 members on our community, but I’d like to know how many of those are engaging with it month on month.

Thanks,
Sian

The data explorer plugin will let you look at the data in a more granular fashion than the basic information which admin>dashboard shows.

See, for example, Active users in the last 30 days

Oo sounds interesting, how do I go about setting that up? I’m not a developer so have no idea where to begin.

See “Installation” at the bottom of: Discourse Data Explorer

These queries will help:

Top 50 posters

Returns the top 50 posters for a given monthly period. Results are ordered by post_count. It accepts a ‘months_ago’ parameter, defaults to 1 to give results for the most recently completed calendar month.

-- [params]
-- int :months_ago = 1

WITH query_period AS (
SELECT
date_trunc('month', CURRENT_DATE) - INTERVAL ':months_ago months' as period_start,
date_trunc('month', CURRENT_DATE) - INTERVAL ':months_ago months' + INTERVAL '1 month' - INTERVAL '1 second' as period_end
),

user_posts_in_period AS (
SELECT
p.user_id
FROM posts p
INNER JOIN query_period qp
ON p.created_at >= qp.period_start
AND p.created_at <= qp.period_end
WHERE p.user_id > 0
)

SELECT
up.user_id,
count(1) as post_count
FROM user_posts_in_period up
GROUP BY up.user_id
ORDER BY post_count DESC
LIMIT 50

Top 50 likers

Returns the top 50 likers for a given monthly period. Results are ordered by like_count. It accepts a ‘months_ago’ parameter, defaults to 1 to give results for the most recently completed calendar month.

-- [params]
-- int :months_ago = 1

WITH query_period AS (
SELECT
date_trunc('month', CURRENT_DATE) - INTERVAL ':months_ago months' as period_start,
date_trunc('month', CURRENT_DATE) - INTERVAL ':months_ago months' + INTERVAL '1 month' - INTERVAL '1 second' as period_end
)

SELECT
ua.user_id,
count(1) AS like_count
FROM user_actions ua
INNER JOIN query_period qp
ON ua.created_at >= qp.period_start
AND ua.created_at <= qp.period_end
WHERE ua.action_type = 1
GROUP BY ua.user_id
ORDER BY like_count DESC
LIMIT 50

you could also get in touch with @DiscourseMetrics.com and @Bas (about Community Analytics)

their tools can give you loads of extra stats so you don’t have to do the work … I’m looking at such tools at the moment myself

Up till now I’ve been doing this just in excel - you can export your user data and run a few queries to monitor this. I gave a value to each post read, to posts (replies) and to new threads, then categorised them accordingly

So far it shows 20% are ‘readers’, 25% are ‘participants’ and 15% are ‘creators’

I’ve found that most analysis tools are under-valuing the role of readers because of a focus just on the activity of posting. There is a big difference between inactive members and active readers!

Good luck!

I think you are correct in saying this.

There are ways (e.g. separating logged in/out users, measuring read time, collating paged threads etc.) to guide Google Analytics to do quite a bit of this for you; but it takes some proper GA-fu to accomplish.

Great queries Sarah! Thanks for share.
I updated the query list, if you have more to add, please just send PR :pray:

Thanks again !

I can’t take credit – @simon wrote them.

고유 IP를 기준으로 일별 횟수를 가져오는 방법은 무엇인가요?
대시보드 > 사용자 방문은 IP를 기준으로 집계되는 것인가요? (로그인한 사용자 및 방문자 포함?)
감사합니다…

그렇지 않은 것 같습니다. 로그인된 사용자를 기준으로 합니다.

What is "user visits" on the admin dashboard? 도 참고해 보실 수 있습니다.

이 글이 찾으시는 내용과 유사해 보입니다. 모든 사용자가 아닌 익명 사용자만 원하시므로, 사용자가 익명이라는 조건을 제거해야 합니다.

사용자 목록에는 다음 통계 항목이 있습니다:

사용자 이름, 마지막 이메일 발송일, 확인 여부, 확인한 주제 수, 읽은 게시글 수, 읽은 시간, 생성일

다음 항목을 추가할 수 있을까요?

생성한 주제 수, 생성한 게시글 수, 준 좋아요 수, 받은 좋아요 수.

이 항목들은 가장 활발하게 기여한 사용자를 측정하는 데 유용합니다.

이 모든 것은 Discourse Meta 에 포함되어 있습니다.

감사합니다. 사용자 디렉터리에는 해당 정보가 있는 것 같지만, 관리자 사용자 목록에는 없습니다.

https://meta.discourse.org/admin/users/list/active

관리자 화면에서도 동일한 필드가 표시될 수 있는지, 아니면 설정에서 비활성화한 사용자 디렉터리도 관리자가 볼 수 있어서 이러한 추가 세부 정보를 확인할 수 있는지에 대해 궁금합니다.

안녕하세요, 이 스레드를 방금 확인했습니다. 게시 활동 외에도 커뮤니티 참여도를 추적하는 데 도움이 되는 도구가 무엇인지, 특히 능동적인 독자를 측정하는 방법에 대해 알려주시면 감사하겠습니다.
감사합니다.
Mike Taku

이 포스터와 좋아요를 누른 사용자들에게 배지를 만들 수 있나요?