Documentation > Measuring Attribution

AppsFlyer

AppsFlyer Tracking

CleverTap helps you to track your app installs via AppsFlyer. This integration requires changes to both your Android and iOS app for a successful integration:

AppsFlyer Dashboard

On your AppsFlyer dashboard, select “Integrated Partners” and search for CleverTap. Enter your Account Details such as CleverTap Account ID, Account passcode and Account Token (available in the CleverTap Settings Dashboard). Check Enable and Save.
AppsFlyer Dashboard
All AppsFlyer parameters will now be sent to CleverTap.

Android App

In your Android app, open the file where you have added your AppsFlyer integration. Add the following Code below it:

String attributionID = cleverTapInstance.getCleverTapAttributionIdentifier();
appsFlyerLib.setCustomerUserId(attributionID);

If you haven’t done the AppsFlyer integration already, follow these step-by-step guidelines

iOS App

In your iOS app code, add the following code:

[CleverTap autoIntegrate];
[[AppsFlyerTracker sharedTracker] setCustomerUserID:[[CleverTap sharedInstance] profileGetCleverTapAttributionIdentifier]];

Where to view this Data in your CleverTap dashboard:

Post integration, CleverTap will now pull in data from AppsFlyer in your CleverTap dashboard. You can view it under event UTM Visited filtered by event property UTM_source, UTM_medium or UTM_campaign.