Adjust Integration
Adjust is a mobile attribution and analytics platform that helps you understand where your users come from and how they interact with your app.
Setup
- Create an account at Adjust.
- Create a new app in your dashboard.
- Get your App Token from the app settings.
Configuration
Adjust configuration is set in your app.json file under the extra field.
These values are embedded at build time and accessed via Expo's Constants API.
app.json
{
"expo": {
"extra": {
"adjust": {
"appToken": "your_adjust_app_token_here",
"environment": "sandbox"
}
}
}
}Configuration fields:
appToken— Your Adjust app token from the dashboardenvironment—"sandbox"for testing,"production"for live apps
Environment Setting
Always use "sandbox" during development and testing. Switch to "production" only when submitting to the app stores.
Auto-Enabled Features
When Adjust is enabled, the following are automatically configured:
- ATT (App Tracking Transparency) is auto-enabled for iOS
- Android permissions are added:
INTERNETandACCESS_NETWORK_STATE - expo-tracking-transparency plugin is included
ADID Distribution
The Adjust advertising ID (ADID) is automatically shared with other enabled SDKs for cross-platform attribution:
// SDK initializer handles this automatically
const adid = await adjustService.getAdid();
if (adid) {
revenueCatService.setAdjustId(adid);
scateService.setAdid(adid);
}