Skip to main content

ReportCustomEventStep [Player Network SDK Only]

[Player Network SDK Only] Reports the data of a custom event to calculate the conversion rate for funnel analysis.

Supported Platform

Supports Android, iOS, Windows platform.

Function Definition

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

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
paramsJsonstringThe extended field
JSON string

Code Sample

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