Receive attribution data in your app

When Adapty matches an install to a campaign, it returns attribution data to your app in the onInstallationDetailsSuccess callback. Use this data to personalize the user experience based on the channel or campaign that drove the install.

The attribution data is returned as a nested attribution object inside the payload field. It contains the following fields:

FieldDescription
channelAcquisition channel (e.g. facebook, tiktok, google, organic)
campaign_idCampaign identifier
campaign_nameCampaign name
adset_idAd set / ad group identifier
adset_nameAd set / ad group name
ad_idAd / creative identifier
ad_nameAd / creative name

All fields are optional. For organic installs or when attribution could not be determined, the payload field does not include the attribution object.

To read attribution data in your app: