Skip to main content
After configure, the SDK reports the first open and the attribution arrives a few seconds later. It is stored, so on every later launch it is available right away.

Wait for it

attribution() never throws. Call it wherever you decide what a new user sees first, for example to open onboarding on the campaign’s topic.

Or get a callback

TrueOrigin.currentAttribution (Swift) and TrueOrigin.currentAttribution() (React Native) return the stored state without waiting, or nothing before the first report.

Status

New statuses may be added. In Swift, keep an @unknown default case.

What a match carries

Useful keys in payload: