Skip to main content
Version: SDK 6.0.x

Integrate with AppLovin

If you use AppLovin, you can automatically track Ad Revenue from Impressions with the justtrack SDK.

Before you begin

Please review the following compatibility matrix to make sure you're using compatible versions:

justtrack SDKAppLovin SDK
6.0.0+12.x - 13.x

Integrate with AppLovin

  1. In the Unity Editor, navigate to the justtrack SDK configuration prefab.
  2. In the Android and/or iOS sections, enable Add AppLovin Adapter. This adds the AppLovin adapter to your project for the respective platforms.
  3. Call the integration method in your code:
using JustTrack;

// Call this after SDK initialization
JustTrackSDK.IntegrateWithAppLovin(
customUserId: "your applovin user id or null", // optional
pOnSuccess: () => {
Debug.Log("AppLovin integration successful");
},
pOnFailure: (error) => {
Debug.LogError($"AppLovin integration failed: {error}");
}
);

// Or without custom user ID
JustTrackSDK.IntegrateWithAppLovin(
customUserId: null,
pOnSuccess: () => {
Debug.Log("AppLovin integration successful");
},
pOnFailure: (error) => {
Debug.LogError($"AppLovin integration failed: {error}");
}
);