How to Successfully Set Up Adjust for iOS and Android Apps (2026)
A wrong SDK start, a missing Info.plist key or a mislabeled event can quietly break your attribution without any error on screen. This guide shows how to set up Adjust for iOS and Android: the account and app token, SDK installation and initialization, ATT, events, SKAdNetwork, deep links, ad networks and testing.One change matters before you copy any tutorial. Adjust now ships SDK v5, which renamed several core calls from SDK v4, including the start method. This guide follows the v5 documentation as checked in October 2026, and it tells you where older code no longer applies. If you are new to the topic, read
what mobile attribution is first.
What Adjust Does and What It Costs
Adjust is a Mobile Measurement Partner (MMP). It attributes installs, in-app events and revenue to the campaign, network or creative that produced them, and it sends results back to your ad networks. For a vendor comparison, see
AppsFlyer vs Adjust.
Adjust Pricing
Adjust’s
pricing page shows plan structure but not dollar prices. It lists three plans based on annual conversions: Base, for up to 18,000 annual conversions, which is free for the first year with up to 1,500 monthly conversions; Core, for up to 250,000 annual conversions; and Enterprise, for over 2,500,000. Core and Enterprise need a sales conversation. Older articles describe MAU-based pricing, which does not match the current page, so ask for a written quote that lists overages and add-ons before you commit.
Before You Set Up Adjust
It is easier to set up Adjust when the basics are ready first:
- An Adjust account with permission to add apps.
- Access to your app’s source code for each platform.
- App Store Connect and Google Play Console access.
- The ad networks you plan to run.
Step 1: Create Your Account and Add Your App
Create your Adjust account, then add your app and enter its name and store details. Adjust gives each app an app token, a short identifier you pass to the SDK so your data lands in the right place. Copy the token from the app’s settings in the dashboard. Plan your testing from the start, because the SDK has separate sandbox and production environments.
Step 2: iOS SDK Setup
Install the SDK
Adjust’s
iOS SDK page lists iOS 12 or later as the minimum. With Swift Package Manager, add the repository below in Xcode and add the
AdjustSdk product to your target:
https://github.com/adjust/ios_sdk
With CocoaPods, the docs show version 5.8.0 as of this writing:
pod 'Adjust', '~> 5.8.0'
Adjust also asks you to add the AdSupport, AdServices, StoreKit and AppTrackingTransparency frameworks as optional. If your app targets the Kids category, do not add AdSupport or AppTrackingTransparency.
Add the ATT Usage Description
If you show the ATT prompt, add Apple’s usage description key to Info.plist with a clear reason for the user:
<key>NSUserTrackingUsageDescription</key>
<string>We use this to measure which ads brought you to the app.</string>
Initialize the SDK
In v5 the start call is
Adjust.initSdk, not the v4
appDidLaunch. Adjust’s page shows an AppDelegate example. If you use SwiftUI, connect an AppDelegate with
@UIApplicationDelegateAdaptor and initialize there.
import AdjustSdk
func application(_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
let yourAppToken = "YOUR_APP_TOKEN"
#if DEBUG
let environment = ADJEnvironmentSandbox
#else
let environment = ADJEnvironmentProduction
#endif
let adjustConfig = ADJConfig(appToken: yourAppToken, environment: environment)
#if DEBUG
adjustConfig?.logLevel = ADJLogLevel.verbose
#else
adjustConfig?.logLevel = ADJLogLevel.suppress
#endif
Adjust.initSdk(adjustConfig)
return true
}
The build flags matter. Sandbox is for testing, and Adjust says to switch to production for release builds. Shipping with the sandbox environment is one of the most common reasons real users never appear in reports.
Handle ATT
Adjust wraps Apple’s prompt with
Adjust.requestAppTrackingAuthorization, which is the v5 name for the older call. The callback returns a status code: 0 not determined, 1 restricted, 2 denied and 3 authorized. If you want users to finish onboarding before the SDK sends data, Adjust documents
attConsentWaitingInterval, which can delay sending for up to 360 seconds.
adjustConfig?.attConsentWaitingInterval = 30
Adjust.requestAppTrackingAuthorization { status in
// 0 not determined, 1 restricted, 2 denied, 3 authorized
}
Show the prompt when its value to the user is clear, and remember that SKAdNetwork does not depend on the prompt. Apple states that apps can use its attribution APIs regardless of tracking authorization.
SKAdNetwork on iOS
This is where older Adjust tutorials mislead people. The Adjust SDK communicates with SKAdNetwork by default and registers for attribution at initialization, so you do not paste a list of ad network IDs into your app. The
SKAdNetworkItems list is for apps that display ads. What an advertised app can add is the postback copy endpoint, so Adjust receives a copy of the winning postback. Adjust documents these Info.plist keys:
<key>NSAdvertisingAttributionReportEndpoint</key>
<string>https://adjust-skadnetwork.com</string>
<key>AttributionCopyEndpoint</key>
<string>https://adjust-skadnetwork.com</string>
The second key is the raw name of
AdAttributionKit - Postback Copy URL. Adjust’s
SKAdNetwork page also explains that conversion values (0 to 63) are normally updated by Adjust’s servers when you manage them in the dashboard, and that you can set one yourself:
Adjust.updateSkanConversionValue(1,
coarseValue: SKAdNetwork.CoarseConversionValue.low.rawValue,
lockWindow: false)
The old
updateConversionValue wrapper was removed in v5, so code copied from older posts will not compile. To turn SKAdNetwork handling off, call
disableSkanAttribution() on the config before initialization. For the wider picture, see the
SKAdNetwork setup guide.
Step 3: Android SDK Setup
Add the Dependencies
Adjust’s
Android SDK page lists these dependencies. The SDK v5 migration guide notes that apps targeting an API level below 21 must be updated first.
dependencies {
implementation 'com.adjust.sdk:adjust-android:5.8.0'
implementation 'com.android.installreferrer:installreferrer:2.2'
implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1'
}
Manifest Permissions
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Adjust notes that the AD_ID permission is added by default. For COPPA compliant apps or apps not distributed through Google Play, remove it with
tools:node="remove" on the
com.google.android.gms.permission.AD_ID entry.
Initialize the SDK
Initialize in a custom
Application subclass, and register that class in your manifest through the
android:name attribute. As on iOS, v5 renamed the start call from
Adjust.onCreate to
Adjust.initSdk.
class MyApplication : Application() {
override fun onCreate() {
super.onCreate()
val appToken = "YOUR_APP_TOKEN"
val environment = if (BuildConfig.DEBUG) {
AdjustConfig.ENVIRONMENT_SANDBOX
} else {
AdjustConfig.ENVIRONMENT_PRODUCTION
}
val config = AdjustConfig(this, appToken, environment)
config.setLogLevel(if (BuildConfig.DEBUG) LogLevel.VERBOSE else LogLevel.WARN)
Adjust.initSdk(config)
}
}
Step 4: Track In-App Events
Create each event in the Adjust dashboard first. Each one gets an event token that you pass to the SDK. Then send events from your code with the revenue, currency and a deduplication ID where relevant.
iOS
guard let purchase = ADJEvent(eventToken: "YOUR_EVENT_TOKEN") else { return }
purchase.setRevenue(29.99, currency: "USD")
purchase.setDeduplicationId("order_12345")
purchase.addCallbackParameter("plan_type", value: "premium")
Adjust.trackEvent(purchase)
Android
val purchase = AdjustEvent("YOUR_EVENT_TOKEN")
purchase.setRevenue(29.99, "USD")
purchase.setDeduplicationId("order_12345")
purchase.addCallbackParameter("plan_type", "premium")
Adjust.trackEvent(purchase)
Two v5 details are worth knowing. First, deduplication now uses
setDeduplicationId, and it is no longer tied to the old order ID or transaction ID calls. By default the SDK remembers the last 10 deduplication IDs, and you can raise that with
setEventDeduplicationIdsMaxSize. Second,
setRevenue takes a number and an ISO 4217 currency code, so pass 29.99 and “USD” instead of a formatted string. See Adjust’s
Android events page for the full list of event options.
Step 5: Set Up Deep Links
Adjust supports direct deep links for existing users and deferred deep links for new installs. Both start with the link domain Adjust gives you for your links, which you add to your app as an Associated Domain on iOS and as an App Links entry on Android.
iOS
In v5 the deep link flow uses an
ADJDeeplink object. Adjust’s documentation shows
processAndResolve in its AppDelegate, SceneDelegate and SwiftUI examples, and calls the older
processDeeplink a legacy method.
.onOpenURL { incomingLink in
guard let deeplink = ADJDeeplink(deeplink: incomingLink) else { return }
Adjust.processAndResolve(deeplink) { resolvedLink in
// use resolvedLink to route the user
}
}
For deferred deep links, implement the Adjust delegate method below. Its return value tells the SDK what to do next: return
false if your app still needs to finish onboarding or login before handling the link, and
true if the SDK should open the link right away.
func adjustDeferredDeeplinkReceived(_ deeplink: URL?) -> Bool {
// store the link and route after onboarding
return false
}
Android
Register an intent filter with
autoVerify for the link domain Adjust gave you:
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" android:host="YOUR_LINK_DOMAIN" />
</intent-filter>
In your activity, wrap the incoming link in an
AdjustDeeplink and pass it to Adjust. In v5 the method to use is
processAndResolveDeeplink, which supersedes the legacy
processDeeplink.
val incomingLink = intent?.data
val deeplink = AdjustDeeplink(incomingLink)
Adjust also suggests clearing the intent data after handling it, with
intent.data = null, so the same link is not processed twice.
Step 6: Connect Your Ad Networks
For each network you run, enable its integration in the Adjust dashboard and follow that network’s instructions for credentials and postbacks. Menu names change over time, so look for the partner or integration section rather than relying on a fixed path. For every network:
- Enable the integration and enter the IDs or credentials it asks for.
- Check the attribution windows instead of leaving defaults you never reviewed, and align them with how the network counts conversions.
- Turn on the postbacks you need, such as in-app events used for optimization.
For Meta on iOS, make sure the events you send match your Aggregated Event Measurement priorities. For Google Ads, confirm the conversion import works after you map events.
Step 7: Validate Your Setup
Do not assume it works. Adjust’s
testing documentation names three tools: the testing console in the dashboard, Adjust’s Device API and your IDE logs. It walks through confirming install recording, event recording and subscription recording.Use this checklist to finish the setup properly:
- An install is recorded on a fresh install, in the sandbox environment first.
- Each event appears with the right token, revenue and currency.
- A repeated purchase with the same deduplication ID is counted once.
- Deep links open the right screen, including after a fresh install.
- SKAdNetwork postbacks start arriving once Apple’s delays have passed.
- The release build uses the production environment.
The free
mobile app attribution debugger checks a payload against documented rules, the
mobile attribution audit covers a wider checklist, and the
iOS attribution fix guide helps if iOS numbers still look wrong.
Common Mistakes When You Set Up Adjust
- Using SDK v4 code on v5.
appDidLaunch, Adjust.onCreate, updateConversionValue and appWillOpenUrl were all replaced, so old snippets fail or silently do nothing. - Shipping the sandbox environment. Use build flags so release builds always use production.
- Pasting ad network IDs into an advertised app. The ID list belongs to apps that display ads. For your own app, use the postback copy endpoint keys instead.
- Skipping the deduplication ID on purchases. Without it, retried purchase events can double count revenue.
- Passing revenue as formatted text. Send a number and a currency code.
- Leaving verbose logging on in production. Suppress logs in release builds.
- Not delaying data until ATT is answered. If you want the IDFA for users who allow tracking, use the consent waiting interval.
Flutter, React Native and Other Frameworks
Adjust’s framework plugins wrap the native SDKs, and the v5 plugins changed their own APIs too. Adjust publishes separate migration guides for Flutter, React Native and Unity. I left framework code out on purpose, because it differs between plugin versions, so follow the migration guide for your framework.
FAQ
How do I get my Adjust app token?
Open your app in the Adjust dashboard and copy the app token from the app’s settings. You pass it to the SDK in the config object together with the environment, sandbox for testing and production for release builds.
Is Adjust free to use?
Adjust’s pricing page lists a Base plan that is free for the first year with up to 1,500 monthly conversions, within a limit of 18,000 annual conversions. Core and Enterprise plans need a quote from sales. Check the pricing page for current terms.
How long does it take for Adjust data to appear?
Install and event data from the SDK can appear quickly, which is why the testing console is useful. SKAdNetwork data is slower, because Apple sends postbacks after each conversion window closes. Adjust documents delays of 24 to 48 hours for the first postback and longer for later ones, so allow several days.
What is the difference between Adjust and AppsFlyer?
Both are mobile measurement partners that attribute installs and events to campaigns. They differ in pricing structure, dashboards, integrations and features, and the best fit depends on your volume and ad networks. Compare current plans and test both against your own needs.
How do I track in-app purchases in Adjust?
Create a purchase event in the dashboard to get its event token, then create an event object in your app with that token, call setRevenue with a number and a currency code, set a deduplication ID and call trackEvent.
Do I need to add SKAdNetwork IDs to Info.plist?
Not for an app that only advertises itself. The Adjust SDK communicates with SKAdNetwork by default. The ID list is for apps that display ads. Adjust documents optional postback copy endpoint keys for advertised apps, with the value https://adjust-skadnetwork.com.
What changed in Adjust SDK v5?
The start call is now initSdk on both platforms, deduplication uses setDeduplicationId, SKAdNetwork conversion values use updateSkanConversionValue, deep links use ADJDeeplink and AdjustDeeplink objects, and several config methods were renamed. Follow Adjust’s v4 to v5 migration guide when upgrading.If you want help getting your Adjust setup right, send your platform and a short description to
contact@alfahadhridoy.com and I will reply by email.