- Home
- Integrations
- Yandex Metrica for apps (AppMetrica)
Yandex Metrica for apps: send events to AppMetrica without code
Yandex Metrica for apps, now called AppMetrica, receives events from nana800 through the Yandex Metrica event track block: a payment, a lead or another action that happened on a server rather than inside the app. The event is tied to a user by profile_id or to a device by its AppMetrica ID, and it costs $0.001. This block does not send goals or conversions to a website counter in Yandex Metrica.
Build it in the builder- Block run: $0.001
- Free every month: $3.50
- No card needed
What you can do
- Send an event with a name and JSON parameters to your app in AppMetrica
- Tie the event to a user by profile_id or to a device by appmetrica_device_id
- Bring actions from outside the app into analytics: a payment that hit a webhook, a website lead, a bot message
- Mark the event as part of an active session (foreground) or as a background one, and set the app version
- See the sending result: whether the request was accepted and the error text if AppMetrica rejected it
Blocks in the builder
AppMetrica event
Action · $0.001 per run
Sends one event through the AppMetrica Post API: name, JSON parameters, user or device, session type and app version. The event time is the moment the block runs.
How to set it up
- 1
Find the key and app ID
In AppMetrica, open the settings of your app: they show its numeric ID (application_id) and the Post API key (post_api_key). The key lets anyone upload data to the app, so paste it only into the block field. It is hidden in the run log.
- 2
Decide who the event belongs to
The event is tied to a user by profile_id, the ID your app passes to AppMetrica itself, or to a device by appmetrica_device_id from the AppMetrica SDK. One of these IDs has to reach the scheme from your app or server.
- 3
Add a trigger
Create a scheme and add the trigger the event should follow, for example a webhook that your server or payment service calls with payment data and the user ID.
- 4
Set up the Yandex Metrica event track block
Paste the key and app ID, insert profile_id or the device ID from the trigger, enter the event name, for example order_paid, and the parameters in JSON. Keep the foreground session type or choose background.
- 5
Turn the scheme on and test it
For a test, add the button trigger, enter the ID of your own test profile, turn the scheme on and press the button. If success_sent is true, AppMetrica accepted the request, otherwise the reason is in error_text. Then keep the scheme on. While it is on, it costs $0.0042 per hour.
Frequently asked questions
Build your first scheme for free
Sign-up is free and needs no card. Every month the balance is topped up to $3.50 for free, enough for about 3,500 runs of basic blocks.
Build it in the builder