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 SDK | ironSource Adapter | ironSource SDK |
---|---|---|
6.0.0+ | 2.x | 8.11+ |
6.0.0+ | 1.x | 8.0 -> 8.10 |
Integrate with ironSource
First, add the adapter dependency to your package manager:
- Kotlin
- Groovy
dependencies {
implementation("io.justtrack:adapter-ironsource:1.0.0")
}
dependencies {
implementation "io.justtrack:adapter-ironsource:1.0.0"
}
Then, initialize the adapter, and integrate it with the justtrack SDK:
import io.justtrack.integrations.ironsource.IronSourceIntegrationAdapter
// Integrate the adapter while you build the SDK
val sdk = JustTrackSdkBuilder(this, API_TOKEN)
.addIntegrationAdapters(IronSourceIntegrationAdapter("your user id or null"))
.build()
// Or after...
sdk.integrateWith(IronSourceIntegrationAdapter("your user id or null"))