Skip to main content

Report Funnel Event (ReportFunnel)

AndroidiOSWindows
If you are using the Unity engine, please refer to Unity SDK's ReportFunnel.

Client funnel events include Update Funnel, Auth Funnel, Policy Funnel, and Payment Funnel. Data reported from funnel events is used to calculate funnel analysis conversion rates.The interface is called to report data after the corresponding code of each funnel event is executed.

Update Funnel (UpdateFunnel):
Image: Update Funnel

Authentication Funnel (AuthFunnel):
Image: Auth Funnel

Compliance Funnel (PolicyFunnel):
Image: Compliance Funnel

Payment Funnel (PaymentFunnel):
Image: Payment Funnel

Function Definition

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

Input Parameters

ParameterTypeDescriptionRemark
step_nameFINTLFunnelStepPlayer Network SDK preset points, refer to the table for detailed enumeration values.Mandatory
error_codeintError code, default is 0, 0 means success, other error codes indicate failure.OptionalRequired

Player Network SDK Preset Points (FINTLFunnelStep)

Naming rules: k[Primary Event Name][Secondary Event Name]

Primary event name Secondary event name Pre-embedded point location Description
StartAppLaunchkStartAppLaunchLaunch Game
Agreement ShowUserAgreement kAgreementShowUserAgreement Show User Agreement
FinishUserAgreementkAgreementFinishUserAgreementComplete User Agreement Reading
UpdateCheckForUpdateskUpdateCheckForUpdatesCheck for Updates
DownloadUpdateskUpdateDownloadUpdatesDownload Updates
UnzipFilekUpdateUnzipFilesUnzip Update Files
CompleteUpdateskUpdateCompleteUpdatesComplete Updates
AuthConfirmLoginChannelkAuthConfirmLoginChannelConfirm login channel
ChannelAuthSuccesskAuthChannelAuthSuccessChannel Authentication Successful
LoginAuthSuccesskAuthLoginAuthSuccessLogin Authentication Successful
PolicyQueryCompliancekPolicyQueryComplianceQuery compliance status
SelectRegionAndAgekPolicySelectRegionAndAgeSelect Region and Age
AgreePrivacyPolicykPolicyAgreePrivacyPolicyAgree to Privacy Policy
PrivacyAuthSuccesskPolicyPrivacyAuthSuccesCompliance Certification Passed
NavigateShowServerListkNavigateShowServerListShow server list
SubmitAreakNavigateSubmitAreaSubmit Region
ConfirmAreakNavigateConfirmAreaConfirm Region
ConnectSvrSuccesskNavigateConnectSvrSuccessConnect to Server Successfully
EnterGameShowEnterGamekEnterGameShowEnterGameShow Enter Game
ClickIntoGamekEnterGameClickIntoGameClick to Enter Game
LobbyEnterLobbySuccesskLobbyEnterLobbySuccessEnter Game Lobby
PayAuthenticationkPayAuthenticationPayment authentication
PullUpTheListOfGoodskPayPullUpTheListOfGoodsPull Up Goods List
PullUpPriceListkPayPullUpPriceListPull Up Price List
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);