Note:
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 Name | Parameter Meaning | Parameter Type | Mandatory |
---|---|---|---|
conversionValue | A 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. | int | Yes |
callback | Used to process the completed callback. Send NULL if no processing needed. | SKANUpdateCompletionHandler | No |
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 Name | Parameter Meaning | Parameter Type | Mandatory |
---|---|---|---|
fineValue | A 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. | int | Yes |
coarseValue | SKAdNetworkCoarseConversionValue. 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 | sting | Yes |
callback | Used to process the completed callback. Send NULL if no processing needed. | SKANUpdateCompletionHandler | No |
Call example 3:
public static void updateConversionValueCoarseValueLockWindow(int fineValue, String coarseValue, bool lockWindow, SKANUpdateCompletionHandler callback)
Parameters:
Parameter Name | Parameter Meaning | Parameter Type | Mandatory |
---|---|---|---|
fineValue | A 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. | Int | Yes |
coarseValue | SKAdNetworkCoarseConversionValue. 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 | String | Yes |
lockWindow | Whether to send callbacks within the conversion window. YES: send callbacks before the conversion window ends. NO: (default) | BOOL | Yes |
callback | Used to catch and handle the callbacks. Set this value to nil if you don't provide a handler. | SKANUpdateCompletionHandler | NoSet Installation Callback |
It is required to define the SolarEngine SDK as the receiver of SKAdNetwork callbacks.