Adapty Developer Hub

Welcome to the AdaptyTeam developer hub. You'll find comprehensive guides and documentation to help you start working with Adapty as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    Discussions

Importing Historical Data to Adapty

Learn how to import historical data to Adapty via CSV file

After you install Adapty SDK and release the app, you can find your users and subscribers in the Profiles section. But what if you have legacy infrastructure and want to migrate to Adapty? Or just want to see your existing data in Adapty?

You can export your data to a CSV file and then import it to Adapty. Let's see how to do that.

Data format

Export data to a CSV file with a format in this Google doc file. Fields without description are self-explained (we hope they are).

Field nameDescription
user_idId of your user
subscription_expiration_dateThe date of subscription expiration, i.g. next charging date, datetime with timezone (2020-12-31T23:59:59-06:00)
created_atDatetime of profile creation (2019-12-31T23:59:59-06:00)
birthdaydate (2000-12-31)
email
facebook_user_id
genderf|m
phone_number
first_name
last_name
last_seendatetime with timezone (2020-12-31T23:59:59-06:00)
idfaiOS Identifier for advertiser
idfv
advertising_idIt's similar to idfa, but for Android
amplitude_user_id
amplitude_device_id
mixpanel_user_id
appmetrica_profile_id
appmetrica_device_id
appsflyer_id
adjust_device_id
facebook_anonymous_id
branch_id
attribution_sourceappsflyer|adjust|branch|apple_search_ads
attribution_statusorganic|non_organic|unknown
attribution_channel
attribution_campaign
attribution_ad_group
attribution_ad_set
attribution_creative
apple_receipt_encoded
google_product_id
google_purchase_token
google_is_subscription1|0

The required field are user_id and apple_receipt_encoded or google_product_id+google_purchase_token+google_is_subscription, without them Adapty won't be able to fetch transactions.

Import data to Adapty

Right now we don't have an automatic tool for that. Please contact us using the website (we use Intercom in the bottom right corner) or just email us at [email protected].

Updated 7 days ago


Importing Historical Data to Adapty


Learn how to import historical data to Adapty via CSV file

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.