Skip to main content

Report Custom Event Step (deprecated, not recommended)

AndroidiOSWindows
If you are using the Unity engine, please refer to ReportCustomEventStep in the Unity SDK.

Report the data of custom events to calculate the conversion rate for funnel analysis.

Function Definition

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static bool ReportCustomEventStep(const FString EventName, int32 Step, const FString StepName, bool Result,
int32 ErrorCode, const TMap<FString, FString> ParamsMap);

Parameter Instructions

ParameterTypeDescription
EventNameFStringEvent Name
Stepint32Step ID
Counting starts from 0
StepNameFStringStep Name
ResultboolStep Result
true: success
false: failure
ErrorCodeint32Error Code
When result=true, errorCode=0
When result=false, errorCode is a custom error code
ParamsJsonTMap<FString, FString>Additional Parameters
JSON format

Code Sample

TMap<FString, FString> map;
UINTLSDKAPI::ReportCustomEventStep("eventName", 0, "stepName", true, 0, map);