English

Integrating SKAdNetwork

SKAdNetwork is Apple's own attribution framework for app install and reinstall attribution. Apple gathers attribution information and notifies the relevant ad network. The network sends a postback with this information to Adjust. You can then access this data from the Adjust Data Canvas.

If you are using SDK v4.23.0 or above and your app targets iOS 14 or later, the SDK will communicate with SKAdNetwork. The Adjust SDK will register for SKAdNetwork attribution when initialized. If events are set up to receive conversion values, the Adjust backend will send the data to the SDK. The SDK will then set the conversion value in your app.

Disable SKAdNetwork

You can disable communication with SKAdNetwork. To do this, call deactivateSKAdNetworkHandling on your config instance:

Objective-C
Swift
[adjustConfig.deactivateSKAdNetworkHandling];

Update SKAdNetwork conversion value

A conversion value is a numeric value you can assign to in-app events triggered by users. See our guide to SKAdNetwork for more information on conversion values.

You can update the conversion value for your user. To do this, pass the updated integer value to the updateConversionValue wrapper method.

Objective-C
Swift
[Adjust updateConversionValue:value];

Set up direct install postbacks

With iOS 15 and later, you can receive a copy of all winning SKAdNetwork postbacks. This enables you to use SKAdNetwork information in your analytics.

Note:
The direct install postback only contains SKAdNetwork information. Information such as campaign data is not included in these postbacks.

To set up direct install postbacks, you need to add the Adjust callback URL to your Info.plist file:

  1. Select Info.plist in the Project navigator in Xcode.
  2. Select the Add button (+) beside a key in the property list editor and press Return.
  3. Enter NSAdvertisingAttributionReportEndpoint as the key name.
  4. Set the Type to String in the pop up menu.
  5. Enter the URL https://adjust-skadnetwork.com.

Check out Apple's guide on Configuring an Advertised App for more information.