Menu

Set SKAdNetwork and Conversion Values

Note:

  • This feature is available for iOS 14 or later.
  • To use this feature, you need to add the StoreKit.framework to your project.

Update Conversion Values

Conversion values are used to track user actions within the SKAdNetwork. You can map 64 conditions to conversion values ranging from 0 to 63 and send this integer value to the SKAdNetwork during user installation. This information helps you understand how users interact with your app in the initial days after installation.

You can update the conversion value using the "updateConversionValue" method. This method includes Apple's updateConversionValue method to receive the updated conversion values.

Call example 1:

public static void updatePostbackConversionValue(int conversionValue, SKANUpdateCompletionHandler callback)

Parameters:

Parameter NameParameter MeaningParameter TypeMandatory
conversionValueA conversion value ≥0 and ≤63.
You can assign it to a specific install. It will help you understand the value of the user without identifying the user's personal information.
intYes
callbackUsed to process the completed callback. Send NULL if no processing needed.SKANUpdateCompletionHandlerNo

Example:

private void mySkanCallback(int code ,string result)
{
     Debug.Log("SEUunity: mySkanCallback : " + result);
}

SolarEngine.Analytics.updatePostbackConversionValue(1, mySkanCallback);

Call example 2:

public static void updateConversionValueCoarseValue(int fineValue, String coarseValue, SKANUpdateCompletionHandler callback)

Parameters:

Parameter NameParameter MeaningParameter TypeMandatory
fineValueA conversion value ≥0 and ≤63. You can assign it to a specific install. It will help you understand the value of the user without identifying the user's personal information.intYes
coarseValueSKAdNetworkCoarseConversionValue. If the app's install volume is insufficient and does not meet the privacy threshold, the function is enabled. The following options are supported:
SKAdNetworkCoarseConversionValueHigh
SKAdNetworkCoarseConversionValueLow
SKAdNetworkCoarseConversionValueMedium
stingYes
callbackUsed to process the completed callback. Send NULL if no processing needed.SKANUpdateCompletionHandlerNo

Call example 3:

public static void updateConversionValueCoarseValueLockWindow(int fineValue, String coarseValue, bool lockWindow, SKANUpdateCompletionHandler callback)

Parameters:

Parameter NameParameter MeaningParameter TypeMandatory
fineValueA conversion value ≥0 and ≤63. You can assign it to a specific install. It will help you understand the value of the user without identifying the user's personal information.IntYes
coarseValueSKAdNetworkCoarseConversionValue. If the app's install volume is insufficient and does not meet the privacy threshold, the function is enabled. The following options are supported: SKAdNetworkCoarseConversionValueHigh SKAdNetworkCoarseConversionValueLow SKAdNetworkCoarseConversionValueMediumStringYes
lockWindowWhether to send callbacks within the conversion window.
YES: send callbacks before the conversion window ends.
NO: (default)
BOOLYes
callbackUsed to catch and handle the callbacks. Set this value to nil if you don't provide a handler.SKANUpdateCompletionHandlerNoSet Installation Callback


It is required to define the SolarEngine SDK as the receiver of SKAdNetwork callbacks.

  1. In Xcode, navigate to the project navigator and select the Info.plist file.
  2. Click the "+" button in the "Property" list editor and press the Enter key.
  3. Enter "NSAdvertisingAttributionReportEndpoint".
  4. From the popup menu in the "Type" column, select "String".
  5. Enter  https://detailroi.com .


Previous
IOS ATT Authorization
Next
Deep Linking
Last modified: 2024-07-08Powered by