Menu
Amazon Mobile Analytics
User Guide

Querying Lifetime User Count

This KPI returns the count of all users and devices that have ever used your app. The URL for this KPI is:

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

Example Response

Here is an example of the JSON returned in the response. The value in the rows attribute contains the KPI value.

Copy
{ "_links" : { "self" : { "href" : "/2014-06-05/apps/<YOUR APP ID>/kpis/new-users/lifetime-count", "name" : "lifetime-count" }, "example" : [{ "href" : "/2014-06-05/apps/<YOUR APP ID>/kpis/new-users/lifetime-count", "name" : "lifetime-count-all-platforms", "title" : "Lifetime Count All Platforms" } ], "up" : [{ "href" : "/2014-06-05/apps/<YOUR APP ID>/kpis/new-users", "name" : "new-users" } ] }, "columns" : { "NewUsers" : { "colIndex" : 0, "type" : "Quantitative", "dataType" : "Double", "unit" : null, "name" : "NewUsers", "displayName" : "New Users" } }, "rows" : [[132456.0]], "scope" : { "appId" : "<YOUR APP ID>", "kpiName" : "new-users", "aggregate" : "lifetime-count" } }

On this page: