Report Revenue
Revenue reporting.
Supported Channels:
- Adjust
- Firebase
- AppsFlyer
Function Definition
public static void ReportRevenue(string eventName, Dictionary<string, string> paramsDic, string currency, string revenueValue, string specificChannel = "", string extraJson = "{}");
Parameter Details
| Parameters | Type | Explanation | Remarks |
|---|---|---|---|
| eventName | string | Event name Adjust channel requires filling in event token to track events. | Mandatory |
| paramsDic | Dictionary<string, string> | The key-value parameters to be reported Adjust channel does not require, can pass an empty dictionary. | Required |
| currency | String | Currency code for the revenue | Required |
| revenueValue | String | Revenue value expressed in complete currency units (149.99 = $149.99) Minimum acceptable value is 0.001. | Required |
| specificChannel | String | Specify channel 1. No specified channel, fill in an empty string.If the string is empty, the default reporting channel is the one that has been initialized, which is the reporting channel configured by ANALYTICS_REPORT_CHANNEL in INTLConfig.ini.For more information, see Access Guide.2. Specify reporting to a channel, input channel name, e.g., "Facebook". 3. Specify reporting to multiple channels, separate by comma ",", e.g., "Facebook,Firebase". | Optional |
| extraJson | String | Extended parameters Additional judgment conditions for Player Network SDK client, this parameter will not report to the specified channel. | Optional |
Sample Code
Dictionary<string, string> paramsDic = new Dictionary<string, string>();
INTLAPI.ReportRevenue("h48sp8", params, "CNY", "88.88");