Report login event steps (ReportLoginStep) (Deprecated, not recommended)
The data of the login event is reported for calculating funnel analysis conversion rates.
The login funnel model includes the steps:
0: Start Game > 1: Initialize > 2: Check for Updates > 3: Download Updates > 4: Unzip Files > 5: Login Channel > 6: Click Enter Game > 7: Enter Lobby

Function Definition
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static bool ReportLoginStep(int32 step, const FString StepName, bool Result,
int32 ErrorCode, const TMap<FString, FString> ParamsMap);
Parameter Details
| Parameters | Type | Explanation |
|---|---|---|
| Step | int32 | Step ID starts counting from 0 |
| StepName | FString | Step Name |
| Result | bool | Step Result true: Success false: Failure |
| ErrorCode | int | Error Code When result=true, errorCode=0 When result=false, errorCode is a custom error code |
| ParamsMap | TMap<FString, FString> | Additional Parameters JSON Format |
Sample Code
TMap<FString, FString> map;
UINTLSDKAPI::ReportLoginStep(0, "start game", true, 0, map); //0, Start Game
UINTLSDKAPI::ReportLoginStep(1, "initialize", true, 0, map); //1, Initialize
UINTLSDKAPI::ReportLoginStep(2, "check for updates", true, 0, map); //2, Check for Updates
UINTLSDKAPI::ReportLoginStep(3, "download updates", true, 0, map); //3, Download Updates
UINTLSDKAPI::ReportLoginStep(4, "unzip files", true, 0, map); //4, Unzip Files
UINTLSDKAPI::ReportLoginStep(5, "login channel", true, 0, map); //5, Login Channel
UINTLSDKAPI::ReportLoginStep(6, "click into game", true, 0, map); //6, Click Into Game
UINTLSDKAPI::ReportLoginStep(7, "enter game hall", true, 0, map); //7, Enter Game Hall