User attribution
Note
This method is available in Adtrace SDK V2.3+
Like we described in the Attribution Listener, this callback is triggered whenever the attribution information changes.
You can call the AdTrace.getAttribution method to get the user's current attribution. This will return all the information found in the AdTraceAttribution object.
- Java
- Javascript
AdTraceAttribution attribution = AdTrace.getAttribution();
let attribution = AdTrace.getAttribution();
Note
Current attribution information is only available after our backend tracks the app install and triggers the attribution callback. It is not possible to access a user's attribution value before the SDK has been initialized and the attribution callback has been triggered.