Providers
The System provider has no iOS equivalent, so
GetInstallReferrer() returns null on iOS. The Airbridge provider gives cross-platform attribution.Enable attribution
Go to Edit → Project Settings → Playtolia → Data & Diagnostics. Open the Attribution section. Then select a provider. The changes take effect with the next build. When you select a provider, the SDK shows its settings:- Store as Account Attribute (all providers): read the section below.
- Airbridge App Name / App Token / Sandbox (Airbridge only): your Airbridge credentials.
Reading attribution in Unity
null if attribution is not resolved, or if the provider does not apply to the current platform.
InstallReferrerInfo
AttributionData
Store as account attribute
If Store as Account Attribute is on (the default), the SDK saves the resolved attribution to the account of the player. It uses theinstall_referrer key, at the first sign-in of that player. The SDK writes this value one time for each player. Thus later logins do not overwrite the acquisition source.
Attribution is then available on the server for segmentation and reporting, even if you never read it in the game.
The SDK can save the attribute only after the player authenticates. If attribution resolves before sign-in, the SDK stores it automatically at the next login.
Using Airbridge
To use the Airbridge provider:- Add the Airbridge SDK to your project (Android:
io.airbridge:sdk-android, iOS: theAirbridgepod). - Select Airbridge under Playtolia → Data & Diagnostics. Then enter your App Name and App Token.
- Enable Sandbox only during tests.
Promotions
Review prompts and engagement
Push Notifications
Cross-platform notifications