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
Dependencies.xmlfile:<androidPackage spec="com.adjust.sdk:adjust-android-meta-referrer:5.4.5"></androidPackage>Alternatively, add the following dependency to your
build.gradlefile in Android Studio:dependencies {implementation 'com.adjust.sdk:adjust-android-meta-referrer:5.4.5'} -
Find your Meta app ID in your App Dashboard. See Meta’s App Dashboard documentation for more information.
-
Assign your App ID to the
FbAppIdproperty on yourAdjustConfiginstance.AdjustConfig config = new AdjustConfig("{YourAppToken}", AdjustEnvironment.Sandbox);//...config.FbAppId = "{FB_APP_ID_STRING}";//...Adjust.InitSdk(config);