Skip to main content

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.

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

ParameterTypeDescription
eventNamestringEvent name
stepuintStep ID
Counting from 0
stepNamestringStep name
resultboolStep result
true: success
false: fail
errorCodeintError code
result=true, errorCode=0
result=false, errorCode is custom error code
extraJsonstringThe 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);