Help Center
|
Preinstalled apps
You can use the Adjust SDK to check if your app came preinstalled on a user's device. To do this, you need to set a default tracker:
- Create a new tracker in your Adjust dashboard. This will be used as your default tracker to track whether your app was preinstalled.
- Open your app delegate file. Call the
setDefaultTracker
method on yourADJConfig
instance. The dashboard will display your tracker in a URL like this:https://app.adjust.com/abc123
. Your tracker token is the six to eight digit code at the end.
- Build and run your app. If you have logging enabled, you should see a message in your log like this:
Default tracker: 'abc123'
.