Skip to main content

Report Custom Event Step (deprecated, not recommended)

AndroidiOSWindows
If you are using Unreal Engine, see Unreal Engine SDK's ReportCustomEventStep.

Report the data of custom events 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 = "{}");

Parameter Instructions

ParametersTypeExplanation
eventNameStringEvent Name
stepuintStep ID
Counting starts from 0
stepNameStringStep Name
resultboolStep Result
true: success
false: failure
errorCodeintError Code
When result=true, errorCode=0
When result=false, errorCode is a custom error code
extraJsonstringAdditional Parameters
JSON format

Code Sample

string eventName = "eventName";
uint step = 0;
string stepName = "stepName";
bool result = true;
int errorCode = 0;
string extraJson = "{}";
INTLAPI.ReportCustomEventStep(eventName, step, stepName, result, errorCode, extraJson);