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+1.x12.x - 13.x

Integrate with AppLovin

First, add the adapter dependency to your package manager:

pod 'JustTrackSDKAppLovinAdapter', '~> 1.0.0'

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

import JustTrackSDK
import JustTrackSDKAppLovinAdapter

// Build the SDK
let sdk = try JustTrackSdkBuilder(apiToken: apiToken)
.set(trackingId: trackingId, trackingProvider: trackingProvider)
.build()

// Integrate the AppLovin adapter, providing an AppLovin user ID or nil
sdk.integrate(with: JusttrackAppLovinAdapter(customUserId: "your AppLovin User ID or nil"))

// Or, integrate the AppLovin adapter without an AppLovin user ID
sdk.integrate(with: JusttrackAppLovinAdapter())