Skip to main content

Report Custom Event Step (ReportCustomEventStep) [Player Network SDK Only]

[Only for Player Network SDK] Reports custom event data to calculate conversion rates for funnel analysis.

Supported Platforms

Supports Android, iOS, Windows platform.

Function Definition

void ReportCustomEventStep(
string eventName,
uint step,
string stepName,
bool result,
int errorCode = 0,
string paramsJson = "{}");

Input Parameters

ParametersTypeDescription
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
paramsJsonstringAdditional Parameters
JSON format

Code Example

UnionAdapterAPI.GetReportService().ReportCustomEventStep("eventName", 0, "stepName", true);