Documentation
Getting data from AppMetrika
Webhook on an event#
As an example, let's set up getting data about mobile installs from Yandex.AppMetrica. We "come up with" the webhook address based on the template:
https://subdomain.yourdomain/<service>/<name>/<project-id>
In addition, AppMetrika supports macros — it is enough to insert them into the request's GET parameters:
https://subdomain.yourdomain/appmetrica/ios-install/99?={app_version_name}appmetrica_device_id={appmetrica_device_id}&limit_ad_tracking={limit_ad_tracking}&adwords_link_id={adwords_link_id}&google_aid={google_aid}&ios_ifa={ios_ifa}&ios_ifv={ios_ifv}&device_manufacturer={device_manufacturer}&device_model={device_model}&device_type={device_type}&device_locale={device_locale}&os_name={os_name}&os_version={os_version}&operator_name={operator_name}&mcc={mcc}&mnc={mnc}&click_id={click_id}&match_type={match_type}&transaction_id={transaction_id}&click_user_agent={click_user_agent}&click_timestamp={click_timestamp}&install_timestamp={install_timestamp}&click_timezone={click_timezone}&install_timezone={install_timezone}
Now we add it to the tracker parameters in the Yandex.AppMetrica interface:

Export from LogsApi#
Coming...
Data overview#
Rockstat records all incoming data regardless of its structure, so the webhooks sent by appmetrika appear in the database immediately

The platform includes many different tools for getting and visualizing data from ClickHouse; the console shown earlier is the lowest-level of them.