Deprecated: Setup and Connection
caution
This article contains deprecated instructions. Provider setup is described in individual articles in the Mobile Push Providers section. App integration is done via Altcraft mSDK.
Adding push app subscriptions
Push notification subscriptions are assigned to users via an API request from the app: Add a push subscription to the database.
tip
Subscriptions to Yandex.AppMetrica can be added automatically for users of apps with the metrics service connected. For more details, see Integration with Yandex.AppMetrica.
Event tracking in app push
Push notifications for apps include ack and open links. GET requests to these links create push delivered and push opened events. They will appear in the user history and channel reports.
{
"hub_link": {
"ack": "http://your.domain.com/api/v1.1/pushes/crypto_post_events?/2ab9162159...",
"open": "http://your.domain.com/api/v1.1/pushes/crypto_post_events?/555fbe0b9..."
}
}
Event registration in app push
You can add custom events via an API call: Add events from app push.