The Meta Install Referrer plugin enables the Adjust SDK to read Meta Install Referrer values on a device. The SDK then sends this information to Adjust’s servers as part of the install payload.
To add the plugin to your app:
- Add the following dependency to your
build.gradle
file:
dependencies { implementation 'com.adjust.sdk:adjust-android-meta-referrer:5.2.0'}
-
Find your Meta app ID in your App Dashboard. See Meta’s App Dashboard documentation for more information.
-
Assign your App ID to the
fbAppId
property on yourAdjustConfig
instance.
var adjustConfig = new AdjustConfig( "{YourAppToken}", AdjustConfig.EnvironmentSandbox,);adjustConfig.setFbAppId("FB_APP_ID");Adjust.initSdk(adjustConfig);