# What is "user visits" on the admin dashboard?

**URL:** https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092
**Category:** Data & reporting
**Tags:** dashboard-reports
**Created:** [10 Febbraio 2015, 8:33pm UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092 "2015-02-10T20:33:18Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [10 Febbraio 2015, 8:33pm UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092/1 "2015-02-10T20:33:18Z")

</div>

I am trying to understand how many people are logging into my discourse every day, and tracking that from day to day. Is that the “user visits” stat, or does that include multiple visits by the same user?

Is there a way to see who precisely has logged in on a given day?

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [10 Febbraio 2015, 8:49pm UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092/2 "2015-02-10T20:49:31Z")

</div>

The closest I know of is by going to Users → Active (currently not filterable by date)

Less that what I think you’re asking for, but depending on how many visitors you get and how often you check it might be of some help.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [11 Febbraio 2015, 4:57pm UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092/3 "2015-02-11T16:57:08Z")

</div>

The /about page has the number of users who were seen in the last week+month.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [11 Febbraio 2015, 5:14pm UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092/4 "2015-02-11T17:14:42Z")

</div>

That’s awesome - thanks! I had actually turned that page off for reasons that I will post in a new topic.

---

<div class="post-metadata">

### Author: ![badevguru](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/badevguru/32/115121_2.png) [@badevguru](https://meta.discourse.org/u/badevguru)
#### Post date: [17 Giugno 2015, 5:58pm UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092/5 "2015-06-17T17:58:12Z")

</div>

Does “user visits” only include logged in users, or does it include anonymous users as well?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [17 Giugno 2015, 6:12pm UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092/6 "2015-06-17T18:12:17Z")

</div>

Nope only registered, logged in users are counted there.

---

<div class="post-metadata">

### Author: ![Tang](https://avatars.discourse-cdn.com/v4/letter/t/e8c25b/32.png) [@Tang](https://meta.discourse.org/u/Tang)
#### Post date: [10 Marzo 2016, 9:55pm UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092/7 "2016-03-10T21:55:13Z")

</div>

If “user visit” is only logged in users, is there a metric that tracks visits from everyone?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [10 Marzo 2016, 11:50pm UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092/8 "2016-03-10T23:50:49Z")

</div>

Yes, that is called Google Analytics 😉

---

<div class="post-metadata">

### Author: ![Tang](https://avatars.discourse-cdn.com/v4/letter/t/e8c25b/32.png) [@Tang](https://meta.discourse.org/u/Tang)
#### Post date: [11 Marzo 2016, 6:15pm UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092/9 "2016-03-11T18:15:28Z")

</div>

Or [Mixpanel](http://mixpanel.com) for analytics :).

Got it, “Total visits” metric is not in the /admin dashboard.

---

<div class="post-metadata">

### Author: ![Raphael\_Haase\_NL](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@Raphael\_Haase\_NL](https://meta.discourse.org/u/Raphael_Haase_NL)
#### Post date: [8 Febbraio 2018, 1:39pm UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092/10 "2018-02-08T13:39:55Z")

</div>

What does “User Visits” mean exactly?  
If I go to the Discourse site, browse a bit, close the tab and come back an hour later in a new browser tab/window, while I am still the same person, same browser, will this count as 2 user visits or just 1?  
What if I do the same, but my second visit is from a different device with the same user account?  
What about users who are not logged in and only read? Do they count as user visits too?

BTW: The post below is not an answer, it lacks a precise definition of what the user visits are.

> [@riking](#):
>
> The /about page has the number of users who were seen in the last week+month.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [9 Febbraio 2018, 12:38am UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092/11 "2018-02-09T00:38:21Z")

</div>

No. It means logged in users. You could be on 50 different devices and you are the same logged in user.

Not logged in users come through as anonymous users.

---

<div class="post-metadata">

### Author: ![tbarn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tbarn/32/120216_2.png) [@tbarn](https://meta.discourse.org/u/tbarn)
#### Post date: [16 Marzo 2018, 9:43pm UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092/12 "2018-03-16T21:43:39Z")

</div>

I think I am a little confused on how “User Visits” varies from “Logged In” pageviews.

My current understanding after reading a few different threads is:

**User visits** are unique logged in users that have been in the forum per the time period (today, yesterday, last 7 days, etc).  
**Logged In Pageviews** are every pageview for those same logged in users.

So if a user was in the forum and viewed 10 different pages, their user visit would be 1 and logged in pageviews would be 10.

Please correct me if I am wrong.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [16 Marzo 2018, 10:03pm UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092/13 "2018-03-16T22:03:05Z")

</div>

Sounds about right to me!

---

<div class="post-metadata">

### Author: ![Grayden\_Shand](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grayden_shand/32/166586_2.png) [@Grayden\_Shand](https://meta.discourse.org/u/Grayden_Shand)
#### Post date: [6 Settembre 2019, 8:12pm UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092/14 "2019-09-06T20:12:09Z")

</div>

@codinghorror Sto utilizzando il plugin [data explorer](https://meta.discourse.org/t/32566?silent=true) per creare una tabella con le statistiche giornaliere. Per user\_visits, è possibile che un utente abbia più di una visita in un giorno? O tutte le visite di un giorno vengono raggruppate nella stessa riga? Sto vedendo un massimo di 1 visita giornaliera e mi chiedo se ci sia un errore nella mia query o se esista effettivamente un limite in tal senso.

Grazie per tutto quello che fai 🙂

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [6 Settembre 2019, 8:58pm UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092/15 "2019-09-06T20:58:03Z")

</div>

> [@Grayden\_Shand](#):
>
> Per user\_visits, è possibile che un utente abbia più di una visita in un giorno? Oppure tutte le visite di un giorno vengono raggruppate nella stessa riga?

Un utente può avere solo una voce al giorno nella tabella `user_visits`. La tabella ha un indice univoco su `user_id,visited_at`. Il campo `posts_read` delle visite del giorno verrà aggiornato mentre l’utente legge altri post.

---

<div class="post-metadata">

### Author: ![JimPas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimpas/32/148179_2.png) [@JimPas](https://meta.discourse.org/u/JimPas)
#### Post date: [23 Settembre 2019, 6:39am UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092/16 "2019-09-23T06:39:32Z")

</div>

Dove posso trovare l’ **ora** in cui Discourse inizia a contare il giorno (il nostro) per le visite degli utenti, o più precisamente, dove posso trovare l’orario in cui viene eseguita la routine di visita degli utenti? C’è un utente che sta cercando di scoprirlo da un paio di mesi, senza successo. 🙂 Sembra che abbia saltato due giorni nel trimestre scorso.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [23 Settembre 2019, 8:39am UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092/17 "2019-09-23T08:39:47Z")

</div>

Di solito è 00:00 UTC, che è l’orario del server.

---

<div class="post-metadata">

### Author: ![mangcat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mangcat/32/257246_2.png) [@mangcat](https://meta.discourse.org/u/mangcat)
#### Post date: [2 Marzo 2023, 6:44pm UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092/18 "2023-03-02T18:44:09Z")

</div>

Ciao,

Dopo aver letto questa discussione, siamo ancora un po’ confusi su cosa significhi “visite utente”? Si tratta di utenti unici per l’intervallo di tempo selezionato?

Ad esempio,

 ![Screen Shot 2023-03-02 at 1.42.35 PM](https://global.discourse-cdn.com/meta/original/4X/3/a/2/3a23e173f0ffd32c84257ce9127f44b488740601.png)

Qui dice che abbiamo avuto 286 visite utente a febbraio, ma abbiamo solo 97 utenti nel nostro forum.

Puoi per favore chiarire?

Grazie,  
Cat

---

<div class="post-metadata">

### Author: ![SaraDev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saradev/32/335139_2.png) [@SaraDev](https://meta.discourse.org/u/SaraDev)
#### Post date: [6 Marzo 2023, 10:41pm UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092/19 "2023-03-06T22:41:07Z")

</div>

Ciao Cat,

Per rispondere alla tua domanda qui:

Il [Report Visite Utenti](https://meta.discourse.org/t/admin-dashboard-report-reference-guide/240233#user-visits-42) mostra il numero totale di Visite Utenti nel forum per il periodo selezionato (oggi, ieri, ultimi 7 giorni, mese, ecc.).

Nello specifico, una Visita Utente viene conteggiata ogni volta che un utente unico registrato visita il sito, fino a una volta al giorno.

Ad esempio, se un utente visitasse un sito ogni giorno durante una settimana, Discourse lo conterebbe come 7 visite utente. Questo è il motivo per cui è possibile avere più visite utente in un mese rispetto al numero totale di utenti del tuo sito.

Se sei interessato, puoi anche visualizzare il Codice Ruby per questo report qui: [discourse/app/models/concerns/reports/visits.rb](https://github.com/discourse/discourse/blob/4c085873e5c4174e876304d8300462fb96a7fd6e/app/models/concerns/reports/visits.rb)

Spero che questo aiuti! 🙂

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [29 Aprile 2023, 3:29pm UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092/20 "2023-04-29T15:29:40Z")

</div>


