Integrate with ironSource
Version:
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 | 3.x |
| 6.0.0+ | 1.x | 2.x |
Integrate with ironSource
First, add the adapter dependency to your package manager:
npm install justtrack-adapter-ironsource --save
Then, initialize the adapter, and integrate it with the justtrack SDK:
import { registerAdapter as registerIronSourceAdapter } from 'justtrack-adapter-ironsource';
registerIronsourceAdapter('ironSource user id or null');
// Initialize ironSource
LevelPlay.init(req, initListener);
// Initialize older version of ironSource
await IronSource.init('token', []);