Tracking how many users are currently viewing/following a topic


(Denis Heraud) #1

Is there a way to track/see how many users are currently viewing a topic? We wanted to do some live Q&A’s/AMA’s and wondering if we have any way to know how many users are “watching”.

If not, that would be a nice feature.


(David Taylor) #2

If you mean “watching” in the discourse sense, this might help:


(Mittineague) #3

@david 's query will get info about the notification level.

If you want “who is reading it now” the closest I can think of would be to query the topic_user table for the last_visited_at field. It wouldn’t be a guaranteed “reading it now”, but an indication of “read it within this time frame” might be close enough.


(Denis Heraud) #4

No I’m not, I meant that we would like to know who (or how many users) are currently reading this topic “right now”.