Яндекс.AppMetrica
Get app analytics, events, and send push notifications via Yandex AppMetrica
Access Yandex AppMetrica API to retrieve app statistics, event data, and send push notifications. Track app performance metrics, analyze user events, and engage users with targeted push campaigns.
Get analytics statistics from Yandex AppMetrica for a mobile application. Returns time-series data for metrics such as installs, sessions, users, revenue, and more.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
appId | string | Yes | No description |
metric | string | No | No description |
dateFrom | string | No | No description |
dateTo | string | No | No description |
groupBy | string | No | No description |
| Parameter | Type | Description |
|---|
appId | string | Application ID |
appName | string | Application name |
metric | string | The metric being reported |
data | array | Time-series metric data |
↳ date | string | Date of the data point |
↳ value | number | Metric value |
summary | number | Total or average value for the period |
Get custom events from Yandex AppMetrica for a mobile application. Returns event names, counts, unique users, and last occurrence dates.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
appId | string | Yes | No description |
eventName | string | No | No description |
dateFrom | string | No | No description |
dateTo | string | No | No description |
limit | number | No | No description |
| Parameter | Type | Description |
|---|
appId | string | Application ID |
events | array | List of custom events |
↳ name | string | Event name |
↳ count | number | Total event count |
↳ uniqueUsers | number | Number of unique users who triggered the event |
↳ lastOccurrence | string | Date of last occurrence |
total | number | Total number of events |
Send a push notification campaign via Yandex AppMetrica. Specify title, body, optional custom data payload, and target segment.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
appId | string | Yes | No description |
title | string | Yes | No description |
body | string | Yes | No description |
data | string | No | No description |
segment | string | No | No description |
| Parameter | Type | Description |
|---|
success | boolean | Whether the push campaign was sent successfully |
campaignId | string | Push campaign ID |
sent | number | Number of push notifications sent |