You can register a delegate callback to notify you of tracker attribution changes. The Adjust SDK cannot provide this information synchronously. This is due to the different sources considered for attribution.
Follow the steps in this article to implement the optional delegate protocol in your app.
- If you are not using web views, add the
AdjustDelegatedeclaration to your
- If you are not using web views, add the delegate callback function to your app delegate implementation.
- Set the delegate with your Adjust config instance.
The SDK will call the delegate function after receiving its final attribution data. Within the delegate function, you will have access to the
All properties are returned as a JSON object. Any values that are not populated will be sent back as
costCurrency) are only available when the
needsCost property on the config object is set to