Exporting data to a file

You can export the following data from AppMetrica:

  • Clicks and impressions in tracking campaigns.
  • Installs, including both organic traffic and those originating from media sources.
  • App events.
  • Sent postbacks.
  • Crashes and errors.
  • App launches via deeplinks.
  • Push tokens.

Data can be exported in CSV or JSON format.

Exports are initiated via a request to the Logs API, so these operations are subject to general quotas.

How to export data

  1. In the AppMetrica interface, click Data exportSave to file.

  2. Select the tab corresponding to the data you want to export.

  3. Set the export period. By default, data is exported for the last 7 days. The dates are based on the app's time zone.

  4. Select the date type:

    • Time on device: Shows the timestamp when the event occurred for the user.
    • Time of receipt: Shows the timestamp when the server received information about the event. It may differ from "Time on device", for example, if the user didn't have an internet connection at the time.

    You don't need to select a date type when exporting postbacks: the system always uses the timestamp from when the device sent the postback.

  5. You can also set a maximum limit on the number of rows to export. By default, the service exports all rows included in the sample. You can use this parameter to prevent exceeding the quota as you approach it.

  6. Select the fields to export. At least one field must be selected. For more information, see field descriptions.

    To arrange the fields in the file in your desired order, drag their names on the right side of the field.

  7. To export data that meets specific conditions, use filters. To do this, add a filter, select a field, and enter a value. For more information, see field descriptions.

    You don't have to include fields matching your filter in the export list.

    To export them, set at least one filter. For example, to export organic installs, specify: publisher_id = 0.

  8. Choose a data export format: CSV or JSON.

  9. Click Download file. A new tab opens, showing the message: "Generating file. Do not close the tab. You will be prompted to save the file". Wait for the export process to finish, then save the file.

Completeness of exported data

Data is exported via a request to the Logs API. You can get a string with the request parameters by clicking Show request URL.

The value of the skip_unavailable_shards parameter in the request URL depends on the Allow inaccurate results setting, returning true if the option is enabled.

With this option turned on, you receive data in online mode even if some servers are partially unavailable. Although these samples may be incomplete, the data loss rate won't exceed 1%. If this option is disabled, you won't be able to export data in the event of technical issues or if the server is temporarily unavailable. As soon as the problem is resolved and the Logs API functionality is restored, you can retrieve complete data for the desired period.

"Allow inaccurate results" option status

Logs API availability

What data is exported

Enabled

Available

Data is exported in full

Unavailable

Data is exported from available servers, with the data loss rate not exceeding 1%

Disabled

Available

Data is exported in full

Unavailable

No data is exported until the Logs API availability is restored

If you didn't find the answer you were looking for, you can use the feedback form to submit your question. Please describe the problem in as much detail as possible. Attach a screenshot if possible.

Contact support Suggest an improvement for documentation