CleverTap helps you to track your app installs via Tune. This integration requires changes to both the Tune Dashboard and your Android/iOS app for successful integration.

Step 1: Add CleverTap Credentials to Tune Dashboard

Go to the Tune dashboard and click on Manage Partners.

Search and enable CleverTap as an integrated partner. Click on the CleverTap Logo. Enter your credentials including your CleverTap Account ID and Token.

Enable View-through Attribution in Attribution Setting.

Enable Install Postback which allows tune to report data to CleverTap API. This is under Postbacks (Postbacks Templates) > Templates > Generic.

Step 2: Integration

Android App

In your Android app, add the following code in your Application Class within the onCreate() method.

Follow our Android Quickstart Guide to understand how to instantiate a CleverTap instance.

String attributionId = cleverTapInstance.getCleverTapAttributionIdentifier();
Tune.init(this, "your_advertiser_ID", "your_conversion_key"); 
Tune.getInstance().setUserId(attributionId);

If you haven’t done the Tune integration for Android apps, follow this guide.

iOS App

In your AppDelegate.m file, add the following code.

[Tune initializeWithTuneAdvertiserId:@"your_advertiser_ID" tuneConversionKey:@"your_conversion_key"];
[Tune  setUserID:[[CleverTap sharedInstance] profileGetCleverTapAttributionIdentifier]];

If you haven’t done the Tune integration for iOS app, follow this guide.

Step 3: View Data in the CleverTap Dashboard

After you integrate, CleverTap will now pull in data from Tune in your CleverTap dashboard. You can view it under event UTM Visited filtered by event property, UTM_source, UTM_medium or UTM_campaign.