Skip to main content

ReportCustomEventStep(obsolete, not recommended for use)

AndroidiOSWindows
If you were looking for the method for use with Unity, see ReportCustomEventStep for Unity SDK.

Reports the data of a custom event 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);

Input parameters

ParameterTypeDescription
EventNameFStringEvent name
Stepint32Step ID
Counting from 0
StepNameFStringStep name
ResultboolStep result
true: success
false: fail
ErrorCodeint32Error code
result=true, errorCode=0
result=false, errorCode is custom error code
ParamsJsonTMap<FString, FString>The extended field
JSON string

Code sample

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