Menu
Amazon Mobile Analytics
User Guide

Querying Lifetime User Count

Note

After April 30, 2018, Amazon Mobile Analytics features will be provided only by Amazon Pinpoint. If you're new to Mobile Analytics, use Amazon Pinpoint instead. If you're currently using Mobile Analytics, see Migrating from Amazon Mobile Analytics to Amazon Pinpoint.

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

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.

{ "_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: