Attribution Integration

Learn how to pass attribution data to the dashboard using Adapty React Native SDK. Adapty supports AppsFlyer, Adjust, Branch, Facebook Ads, and Apple Search Ads

Adapty allows easy integration with the popular attribution services: AppsFlyer, Adjust, Branch, Apple Search Ads, and Facebook Ads. Adapty will send subscription events to these services so you can accurately measure the performance of ad campaigns. You can also filter charts data using attribution data.


Make sure to turn off sending subscription events from devices and your server to avoid duplication. If you set up direct integration with Facebook, turn off events forwarding from AppsFlyer, Adjust, or Branch.


Make sure you've set up attribution integration in Adapty Dashboard, otherwise we won't be able to send subscription events.


Attribution data is set for every profile one time, we won't override the data once it's been saved.

To set attribution data for the profile, use adapty.updateAttribution() method:

import { adapty } from 'react-native-adapty';

// AppsFlyer
appsFlyer.onInstallConversionData((installData) => {
  try {
    // It's important to include the network user ID
    const networkUserId = appsFlyer.getAppsFlyerUID();
    adapty.updateAttribution(networkUserId, installData , 'AppsFlyer');
  } catch (error: AdaptyError) {}

// Adjust
adjustConfig.setAttributionCallbackListener((attribution) => {
  adapty.updateAttribution('', attribution, 'Adjust');

// Branch
branch.subscribe(({ params }) => {
    const networkUserId = branchCustomerUserId;
  adapty.updateAttribution(networkUserId, params, 'Branch');

Request parameters:

  • Attribution (required): a dictionary containing attribution (conversion) data.
  • Source (required): a source of attribution. The allowed values are:
    • "Branch"
    • "Adjust"
    • "AppsFlyer"
    • "AppleSearchAds"

Did this page help you?