Skip to main content
Version: SDK 6.0.x

Integrate with ironSource

If you use ironSource, you can automatically track Advertisement revenue from Impressions with justtrack SDK.

Before you begin

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

justtrack SDKironSource AdapterironSource SDK
6.0.0+1.x8.x

Integrate with ironSource

First, add the adapter dependency to your package manager:

pod 'JustTrackSDKIronSourceAdapter', '~> 1.0.0'

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

import JustTrackSDK
import JustTrackSDKIronSourceAdapter

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

// Integrate the ironSource adapter, providing a user ID or nil
sdk.integrate(with: JusttrackIronSourceAdapter(customUserId: "your user ID or nil"))

// Or, integrate the ironSource adapter without a user ID
sdk.integrate(with: JusttrackIronSourceAdapter())