Skip to main content

ReportFunnel

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

Client funnel events include the UpdateFunnel, AuthFunnel, PolicyFunnel, PaymentFunnel. Data reported by the client is used to calculate the conversion rate of the funnel analysis. The interface will be called after the code corresponding to each funnel event is executed to report data.

UpdateFunnel:
Image: UpdateFunnel

AuthFunnel:
Image: AuthFunnel

PolicyFunnel:
Image: PolicyFunnel

PaymentFunnel:
Image: PaymentFunnel

Function definition

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static void ReportFunnel(FINTLFunnelStep step_name, int error_code = 0);

Input parameters

ParameterTypeDescriptionRemark
step_nameFINTLFunnelStepPlayer Network SDK event Tracking
For detailed enumeration values, refer to the below table.
Required
error_codeinterror code, default value is 0.
0 denotes success, and other error codes denote failure.
Optional

Player Network SDK event tracking (FINTLFunnelStep)

Naming conventions: k[l1_event_name][l2_event_name]

l1_event_namel2_event_namePlayer Network SDK Event TrackingDescription
StratAppLaunchkStartAppLaunchStart game
AgreementShowUserAgreementkAgreementShowUserAgreementShow User Agreement
FinishUserAgreementkAgreementFinishUserAgreementRead User Agreement
UpdateCheckForUpdateskUpdateCheckForUpdatesCheck update
DownloadUpdateskUpdateDownloadUpdatesDownload update
UnzipFilekUpdateUnzipFilesUnzip update files
CompleteUpdateskUpdateCompleteUpdatesComplete update
AuthConfirmLoginChannelkAuthConfirmLoginChannelConfirm login channel
ChannelAuthSuccesskAuthChannelAuthSuccessLogin channel authenticated
LoginAuthSuccesskAuthLoginAuthSuccessLogin authenticated
PolicyQueryCompliancekPolicyQueryComplianceQuery compliance
SelectRegionAndAgekPolicySelectRegionAndAgeSelect region and age
AgreePrivacyPolicykPolicyAgreePrivacyPolicyAgreed to Privacy Policy
PrivacyAuthSucesskPolicyPrivacyAuthSucessPrivacy Policy authenticated
NavigateShowServerListkNavigateShowServerListShow list of servers
SubmitAreakNavigateSubmitAreaSubmit area
ConfirmAreakNavigateConfirmAreaConfirm area
ConnectSvrSuccesskNavigateConnectSvrSuccessServer connected
EnterGameShowEnterGamekEnterGameShowEnterGameShow enter game button
ClickIntoGamekEnterGameClickIntoGameClick enter game button
LobbyEnterLobbySucceskLobbyEnterLobbySuccessEntered game lobby
PayAuthenticationkPayAuthenticationPayment authentication
PullUpTheListOfGoodskPayPullUpTheListOfGoodsPull up list of goods
PullUpPriceListkPayPullUpPriceListPull up list of goods price
StartOrderkPayStartOrderStart order
SuccessfulOrderkPaySuccessfulOrderOrder successful
StartPaymentkPayStartPaymentStart payment
SuccessfulPaymentkPaySuccessfulPaymentPayment successful
StartDeliverykPayStartDeliveryStart delivery
SuccessfulDeliverykPaySuccessfulDeliveryDelivery successful
AuthRegisterRegisterSuccesskAuthRegisterSuccessRegistration successful

Code sample

int error_code = 0;
UINTLSDKAPI::ReportFunnel(FINTLFunnelStep::kStartAppLaunch, error_code);