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 AdapterAppLovin SDK
6.0.0+2.x13.x
6.0.0+1.x12.x

Integrate with AppLovin

First, add the adapter dependency to your package manager:

dependencies {
implementation("io.justtrack:adapter-applovin:1.0.0")
}

Then, initialize the adapter, and integrate it with the justtrack SDK:

import io.justtrack.integrations.applovin.AppLovinMaxIntegrationAdapter

// Integrate the adapter while you build the SDK
val sdk = JustTrackSdkBuilder(this, API_TOKEN)
.addIntegrationAdapters(AppLovinMaxIntegrationAdapter("your applovin user id or null"))
.build()

// Or after...
sdk.integrateWith(AppLovinMaxIntegrationAdapter("your applovin user id or null"))