/o/analytics/metric

Retrieve metric data for specified period

Returns metric related data as an array. Each array item has following properties:

_id: Group/segment. For example if you are fetching data for devices this will be the device name.

u: Total (unique) users

t: Total sessions

n: New users

Available metrics to query:

  • app_versions
  • carriers
  • countries
  • density
  • devices
  • langs
  • os
  • os_versions
  • resolutions
Query Params
string

API_KEY of user, with permission to access this app

string

ID of the app for which to query

string

Metric name available from o?method apis

string
Defaults to month

For which time period to provide data, possible values (month, 60days, 30days, 7days, yesterday, hour or [startMiliseconds, endMiliseconds] as [1417730400000,1420149600000])

string

(optional) name of callback function for JSONP output

Response

Language
Response
Choose an example:
application/json