Pre-install tracking lets you track campaigns on Android mobile devices that have your app added to them while being manufactured.
Here you'll learn about the different ways you can set up pre-install tracking for your app with Adjust.
SDK version 4.12
To set up the Install Referrer API in the Adjust SDK, follow the steps in our Github developer guide.
Adjust has developed a small ruby command line that allows you to quickly generate duplicate APKs with custom, pre-assigned tracker tokens. These can be written directly into the Adjust SDK. Once configured, the SDK then reports the first app opens with the corresponding preset tracker token, which is used to attribute your users.
Note: Adjust does not recommend using this method. As of March 2020, Google deprecated the install_referrer intent and this method became invalid.
Support the Adjust Broadcast Receiver
Configure the Adjust SDK’s broadcast receiver to receive the install_referrer intent. The intent passes key information to Adjust for categorizing your attribution data. If your pre-install configures their intent correctly, it should fire at app install.
Set up your pre-install campaign tracker URLs
Include the two required parameters: your utm_source (either adjust_preinstall or adjust_store) and the Adjust tracker token in your URLs
Copy your Adjust tracker token and share it/them with your pre-install partner
In the above example, abc123 is the tracker token (tokens are six or seven characters long).
Once you've shared your tracker tokens with your pre-install partner and they've implemented the install_referrer, we can receive install information and begin attributing your data.