Menu
Amazon Mobile Analytics
User Guide

Querying Active User Counts

These KPIs return the number of unique users/devices that have launched your app in a particular day or month as well as the number of first-time users of your app in that time period.

The URL for the Daily Active Users (DAU) KPI is:

Copy
https://mobileanalytics.us-east-1.amazonaws.com/2014-06-05/apps/<YOUR APP ID>/kpis/dau/count

The URL for the Monthly Active Users (MAU) KPI is:

Copy
https://mobileanalytics.us-east-1.amazonaws.com/2014-06-05/apps/<YOUR APP ID>/kpis/mau/count

The URL for the New Users KPI is:

Copy
https://mobileanalytics.us-east-1.amazonaws.com/2014-06-05/apps/<YOUR APP ID>/kpis/new-users/count

Example Response

Here is an example of the JSON returned in the response for the daily active users query. The value in the rows attribute contains the KPI values by day.

Copy
{ "_links" : { "self" : { "href" : "/2014-06-05/apps/<YOUR APP ID>/kpis/dau/count?start=2014-11-20&end=2014-12-01", "name" : "count" }, "example" : [{ "href" : "/2014-06-05/apps/<YOUR APP ID>/kpis/dau/count?start=7-days-ago&end=today", "name" : "last-7-days-all-platforms", "title" : "Last 7 Days All Platforms" }, { "href" : "/2014-06-05/apps/<YOUR APP ID>/kpis/dau/count?start=30-days-ago&end=today", "name" : "last-30-days-all-platforms", "title" : "Last 30 Days All Platforms" }, { "href" : "/2014-06-05/apps/<YOUR APP ID>/kpis/dau/count?start=60-days-ago&end=today", "name" : "last-60-days-all-platforms", "title" : "Last 60 Days All Platforms" } ], "up" : [{ "href" : "/2014-06-05/apps/<YOUR APP ID>/kpis/dau", "name" : "dau" } ] }, "columns" : { "day" : { "colIndex" : 0, "type" : "Qualitative", "dataType" : "ISODateTime", "unit" : null, "name" : "day", "displayName" : "Date" }, "DAU" : { "colIndex" : 1, "type" : "Quantitative", "dataType" : "Double", "unit" : null, "name" : "DAU", "displayName" : "Daily Active Users" } }, "rows" : [["2014-11-20", 342.0], ["2014-11-21", 344.0], ["2014-11-22", 355.0], ["2014-11-23", 311.0], ["2014-11-24", 301.0], ["2014-11-25", 423.0], ["2014-11-26", 198.0], ["2014-11-27", 234.0], ["2014-11-28", 432.0], ["2014-11-29", 389.0], ["2014-11-30", 405.0], ["2014-12-01", 416.0]], "scope" : { "appId" : "<YOUR APP ID>", "kpiName" : "dau", "aggregate" : "count" } }

On this page: