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.
Add Meta Referrer plugin to your app
Install NuGet package
Add the following package reference to your project file:
<PackageReference Include="Adjust.Maui.Sdk.MetaReferrer" Version="5.5.0" />Add as a project reference
If you prefer to add the Meta Referrer plugin as a project reference instead of using the NuGet package, you can add the path to the plugin project:
<ProjectReference Include="..\maui_sdk\plugins\AdjustMetaReferrer\AdjustMetaReferrer.csproj" />Configure the plugin
-
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 adjustConfig = new AdjustConfig("{YourAppToken}", AdjustEnvironment.Sandbox);//...adjustConfig.FbAppId = "{FB_APP_ID_STRING}";//...Adjust.InitSdk(adjustConfig);Use the plugin
Once added to your project and configured, the Meta Referrer plugin integrates automatically with the Adjust SDK. No additional initialization is required.