Hope you are doing well.
Can I get the DAU and MAU data separately? I can only get the DAU/MAU ratio now.
Another question, can I customise the report type?
Could you send me a document that can introduce the data types to me?
Hope you are doing well.
Can I get the DAU and MAU data separately? I can only get the DAU/MAU ratio now.
Another question, can I customise the report type?
Could you send me a document that can introduce the data types to me?
The weekly and monthly active user numbers are available on the /about page of your forum.
https://meta.discourse.org/about
| Last 7 | Last 30 | All Time | |
|---|---|---|---|
| Active Users | 1.8k | 3.6k | — |
C’è un modo per estrarre quelle statistiche retroattivamente?
Sono interessato a ottenere i totali MAU degli ultimi 12 mesi, per vedere come è diminuito il numero di utenti attivi ogni mese nel corso dell’anno.
@michebs probabilmente può fare magie per Data Explorer
Sarebbe fantastico
Questa settimana ho ricevuto molte domande del tipo “quanti utenti del forum sono attivi ogni mese” e stavo cercando un modo per ottenere quei dati.
MODIFICA: Ripensandoci, entrambe le versioni di “attivo” si basano semplicemente sull’accesso di un utente al sito? O dovrebbero anche verificare gli utenti unici che accedono, piuttosto che gli accessi totali? ![]()
Se MAU è semplicemente il numero di utenti connessi che visitano il sito, immagino che possa essere estratto dal report esistente “Visite Utenti” (sommando i totali mensili).
Sì, puoi usare il report User Visits per calcolare il MAU.
La query seguente dettaglia DAU, MAU e la Percentuale. Spero sia d’aiuto.
--[params]
-- date :start_date = 2021-01-01
-- date :end_date = 2022-01-01
WITH dau AS (
SELECT date_trunc('day', user_visits.visited_at)::DATE AS date,
count(distinct user_visits.user_id) AS dau
FROM user_visits
WHERE user_visits.visited_at::DATE BETWEEN :start_date AND :end_date
GROUP BY date_trunc('day', user_visits.visited_at)::DATE
ORDER BY date_trunc('day', user_visits.visited_at)::DATE
),
data AS (SELECT
date,
dau,
(SELECT count(distinct user_visits.user_id)
FROM user_visits
WHERE user_visits.visited_at::DATE BETWEEN dau.date - 29 AND dau.date
) AS mau
FROM dau)
SELECT
date "day",
dau,
mau,
ROUND((dau/mau::numeric)*100,2)||'%' AS Percent
FROM DATA
| day | dau | mau | percent |
|---|---|---|---|
| 2021-01-01 | 300 | 2500 | 12.00% |
| 2021-01-02 | 350 | 3000 | 11.66% |
| 2021-01-03 | 400 | 3500 | 11.42% |
Grazie @michebs - è fantastico ![]()
Questo è mai diventato parte del prodotto, o è ancora necessario eseguire una query? (abbiamo un piano ospitato, non sono nemmeno sicuro di dove posso estrarre questi numeri)
Non credo sia stato aggiunto ai report di magazzino, ma puoi copiarlo in una nuova query nel tuo esplora dati e dovrebbe funzionare perfettamente.
![]()
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.