ReportCustomEventStep(obsolete, not recommended for use)
AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see ReportCustomEventStep for Unreal Engine SDK.
If you were looking for the method for use with Unreal Engine, see ReportCustomEventStep for Unreal Engine SDK.
Reports the data of a custom event to calculate the conversion rate for funnel analysis.
Function definition
public static void ReportCustomEventStep(string eventName, uint step, string stepName, bool result, int errorCode = 0, string extraJson = "{}");
Input parameters
Parameter | Type | Description |
---|---|---|
eventName | string | Event name |
step | uint | Step ID Counting from 0 |
stepName | string | Step name |
result | bool | Step result true: success false: fail |
errorCode | int | Error code result=true, errorCode=0 result=false, errorCode is custom error code |
extraJson | string | The extended field JSON string |
Code sample
string eventName = "eventName";
uint setp = 0;
string stepName = "stepName";
bool result = true;
int errorCode = 0;
string extraJson = "{}";
INTLAPI.ReportCustomEventStep(eventName, step, stepName, result, errorCode, extraJson);