# Daily Active Users, Monthly Active Users - Statistics Need

**URL:** https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957
**Category:** Feature
**Created:** [January 14, 2014, 6:40pm UTC](https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957 "2014-01-14T18:40:56Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![BCHK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bchk/32/3268_2.png) [@BCHK](https://meta.discourse.org/u/BCHK)
#### Post date: [January 14, 2014, 6:40pm UTC](https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957/1 "2014-01-14T18:40:56Z")

</div>

Two key metrics for measuring activity on web sites are daily active users (DAUs) and Monthly Active Users (MAUs). It would be really nice to have these statistics calculated in the admin interface so that we can easily track how well our forums are working.

> **[Active users](https://en.wikipedia.org/wiki/Daily_active_users)**
>
> Active users is a software performance metric that is commonly used to measure the level of engagement for a particular software product or object, by quantifying the number of active interactions from users or visitors within a relevant range of time (daily, weekly and monthly).
> The metric has many uses in software management such as in social networking services, online games, or mobile apps, in web analytics such as in web apps, in commerce such as in online banking and in academia, such as...

> **[Active users](https://en.wikipedia.org/wiki/Monthly_Active_Users)**
>
> Active users is a software performance metric that is commonly used to measure the level of engagement for a particular software product or object, by quantifying the number of active interactions from users or visitors within a relevant range of time (daily, weekly and monthly).
> The metric has many uses in software management such as in social networking services, online games, or mobile apps, in web analytics such as in web apps, in commerce such as in online banking and in academia, such as...

---

<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: [January 14, 2014, 6:43pm UTC](https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957/2 "2014-01-14T18:43:42Z")

</div>

That is what Google Analytics is for, so hook that up, it is free, fully supported, and you will have those numbers.

Additionally we do track user sessions per day right on the admin dashboard. Search for “User Visits”, it is at the bottom left.

---

<div class="post-metadata">

### Author: ![BCHK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bchk/32/3268_2.png) [@BCHK](https://meta.discourse.org/u/BCHK)
#### Post date: [January 14, 2014, 6:50pm UTC](https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957/3 "2014-01-14T18:50:13Z")

</div>

Is it possible to have Google Analytics identify between registered users and lurkers who are just reading the message boards?

---

<div class="post-metadata">

### Author: ![jeans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jeans/32/104910_2.png) [@jeans](https://meta.discourse.org/u/jeans)
#### Post date: [January 14, 2014, 7:39pm UTC](https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957/4 "2014-01-14T19:39:21Z")

</div>

Yes, this can be done with Custom Variables, see section “Session-level Custom Variables” at

> **[Google Analytics  |  Google for Developers](https://developers.google.com/analytics/legacy/universal-analytics)**

---

<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: [January 14, 2014, 9:50pm UTC](https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957/5 "2014-01-14T21:50:24Z")

</div>

I just went in and double-checked all our Google Analytics for www, meta, try under [discourse.org](http://discourse.org) and they all look solid and working. I see no red flags or warning spots.

Provided you are cool with Analytics and how it works, you should be able to do anything the GA platform enables.

---

<div class="post-metadata">

### Author: ![jeans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jeans/32/104910_2.png) [@jeans](https://meta.discourse.org/u/jeans)
#### Post date: [January 14, 2014, 11:03pm UTC](https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957/6 "2014-01-14T23:03:49Z")

</div>

There are quite a few typical forum features you can delegate to GA, especially since there’s an API for realtime analytics:

- users online
- Number of users in a certain topic
- most popular right now  
Etc.  
We will look into this soon, maybe give it a try with a plugin

---

<div class="post-metadata">

### Author: ![BCHK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bchk/32/3268_2.png) [@BCHK](https://meta.discourse.org/u/BCHK)
#### Post date: [January 15, 2014, 7:02pm UTC](https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957/7 "2014-01-15T19:02:09Z")

</div>

It would be great if someone could provide instructions on how to do this - in a language/format for non-engineers.

I’ve got google analytics running and have dropped in the GA tracking code at the bottom of all the site web pages - but it seems like its a whole new level to start messing with custom variables and javascript - more than I have time to learn.

---

<div class="post-metadata">

### Author: ![jeans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jeans/32/104910_2.png) [@jeans](https://meta.discourse.org/u/jeans)
#### Post date: [January 16, 2014, 11:46am UTC](https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957/8 "2014-01-16T11:46:05Z")

</div>

well it _is_ technical.  
do you want to use GA data within discourse or just see in GA the shares of anonymous vs logged in users?

---

<div class="post-metadata">

### Author: ![BCHK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bchk/32/3268_2.png) [@BCHK](https://meta.discourse.org/u/BCHK)
#### Post date: [January 17, 2014, 7:11pm UTC](https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957/9 "2014-01-17T19:11:02Z")

</div>

I just want to see the data in GA of anonymous vs. logged in users. No need to pull any data into discourse or use it in discourse in any way.

---

<div class="post-metadata">

### Author: ![ingenthr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ingenthr/32/115151_2.png) [@ingenthr](https://meta.discourse.org/u/ingenthr)
#### Post date: [October 31, 2014, 9:38pm UTC](https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957/10 "2014-10-31T21:38:35Z")

</div>

This topic is a bit old, but probably still relevant. I wanted to check though.

Is integration of GA the best recommendation to getting an idea of DAU/MAU? Also, were you able to tease out the difference between anonymous and logged in @BCHK and perhaps have some info to share on the approach?

Thanks in advance.

---

<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: [October 31, 2014, 10:07pm UTC](https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957/11 "2014-10-31T22:07:59Z")

</div>

I would definitely set up Google Analytics in the site settings as a start!

---

<div class="post-metadata">

### Author: ![jeans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jeans/32/104910_2.png) [@jeans](https://meta.discourse.org/u/jeans)
#### Post date: [October 31, 2014, 10:38pm UTC](https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957/12 "2014-10-31T22:38:48Z")

</div>

Set up GA, then visit

> **[Google Analytics  |  Google for Developers](https://developers.google.com/analytics/legacy/universal-analytics)**

Then set up custom variables like in this example:

```
_gaq.push(['_setCustomVar',
      1, // This custom var is set to slot #1. Required parameter.
      'User Type', // The name of the custom variable. Required parameter.
      'Member', // Sets the value of "User Type" to "Member" or "Visitor" depending on status. Required parameter.
       2 // Sets the scope to session-level. Optional parameter.
   ]);

```

---

<div class="post-metadata">

### Author: ![BCHK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bchk/32/3268_2.png) [@BCHK](https://meta.discourse.org/u/BCHK)
#### Post date: [November 4, 2014, 1:08am UTC](https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957/13 "2014-11-04T01:08:55Z")

</div>

> [@ingenthr](#):
>
> Also, were you able to tease out the difference between anonymous and logged in @BCHK and perhaps have some info to share on the approach?

No - I haven’t had time to dig into this. I’m not a SW engineer so I’m also assuming it requires more expertise than I have.

---

<div class="post-metadata">

### Author: ![skadavan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/skadavan/32/115736_2.png) [@skadavan](https://meta.discourse.org/u/skadavan)
#### Post date: [March 5, 2015, 4:36am UTC](https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957/14 "2015-03-05T04:36:48Z")

</div>

You can do this by setting up a custom dimension and send a unique id for every user in this dimension. Ensure not to send email/twitter handle etc as this ID, since they violate the privacy terms of Google Analytics. Ideally this ID is a unique internal userID from your server. Once you do this, you can query the report using this dimension and date. This will give one row for each user’s daily visit. Count of these rows compared to the time period, say 6 months will give you the DAU/MAU etc.

I have made a detailed write up after finding no complete article on it: [http://www.notingon.com/dau-mau-measurements-in-google-analytics/](http://www.notingon.com/dau-mau-measurements-in-google-analytics/)

---

<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: [March 5, 2015, 5:33am UTC](https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957/15 "2015-03-05T05:33:17Z")

</div>

> [@skadavan](#):
>
> Ideally this ID is a unique internal userID from your server

```
Discourse.User.currentProp('id')

```

Also note that there’s “Active Users” for last 7/30 days on [/about](https://meta.discourse.org/about).

---

<div class="post-metadata">

### Author: ![BCHK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bchk/32/3268_2.png) [@BCHK](https://meta.discourse.org/u/BCHK)
#### Post date: [June 19, 2015, 5:52pm UTC](https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957/16 "2015-06-19T17:52:38Z")

</div>

> [@riking](#):
>
> Also note that there’s “Active Users” for last 7/30 days on /about.

What is the definition of “Active Users” as Discourse uses it to day in the /about page?

Is it people who have just logged in? Is it people who have logged in and made at least one Post? Or is it something else?

I think I saw this somewhere in a past post - but can’t find it now. Any help greatly appreciated.

---

<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: [June 19, 2015, 5:55pm UTC](https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957/17 "2015-06-19T17:55:18Z")

</div>

I think it’s if at least one visit is recorded - the visits used for trust level and on the /users directory.

---

<div class="post-metadata">

### Author: ![alefattorini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alefattorini/32/119928_2.png) [@alefattorini](https://meta.discourse.org/u/alefattorini)
#### Post date: [June 22, 2015, 7:21am UTC](https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957/18 "2015-06-22T07:21:39Z")

</div>

> [@BCHK](#):
>
> Is it people who have just logged in? Is it people who have logged in and made at least one Post? Or is it something else?

I guess the former.

> [@How many active users last month?](https://meta.discourse.org/t/how-many-active-users-last-month/27591/3):
>
> Sort of, active means they logged in, not that they posted.

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [May 16, 2016, 10:26am UTC](https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957/20 "2016-05-16T10:26:11Z")

</div>

Though additional tools like Google Analytics are still recommended, we have better stats coverage now with our visual statistics:

> [@Visualised traffic statistics](https://meta.discourse.org/t/visualised-traffic-statistics/44298):
>
> We now have fancy visual graphs to help community managers better track activity trends in their Discourse forum. This feature was quietly released by @sam some weeks ago; now we’d like some feedback. You can see the graph for any traffic stat in your dashboard by clicking on it, like these ones: Example stats from Meta Identify peaks at a glance: Set custom date ranges: Filter data for specific groups:

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [May 16, 2016, 10:26am UTC](https://meta.discourse.org/t/daily-active-users-monthly-active-users-statistics-need/11957/21 "2016-05-16T10:26:21Z")

</div>


