Report Funnel Event (ReportFunnel)
AndroidiOSWindows
If you are using Unreal Engine, please refer to Unreal Engine SDK's ReportFunnel Unreal Engine SDK's ReportFunnel.
If you are using Unreal Engine, please refer to Unreal Engine SDK's ReportFunnel Unreal Engine 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):
Authentication Funnel (AuthFunnel):
Compliance Funnel (PolicyFunnel):

Payment Funnel (PaymentFunnel):

Function Definition
public static void ReportFunnel(FINTLFunnelStep kstep_name, int error_code = 0)
Input Parameters
| Parameters | Type | Explanation | Remark |
|---|---|---|---|
| kstep_name | FINTLFunnelStep | Player Network SDK preset points, refer to the table for detailed enumeration values. | Mandatory |
| error_code | int | Error code, default is 0, 0 means success, other error codes indicate failure. | Optional |
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 |
| Start | AppLaunch | kStartAppLaunch | Launch Game |
| Agreement | ShowUserAgreement | kAgreementShowUserAgreement | Show User Agreement |
| FinishUserAgreement | kAgreementFinishUserAgreement | Complete User Agreement Reading | |
| Update | CheckForUpdates | kUpdateCheckForUpdates | Check for Updates |
| DownloadUpdates | kUpdateDownloadUpdates | Download Updates | |
| UnzipFile | kUpdateUnzipFiles | Unzip Update Files | |
| CompleteUpdates | kUpdateCompleteUpdates | Complete Updates | |
| Auth | ConfirmLoginChannel | kAuthConfirmLoginChannel | Confirm login channel |
| ChannelAuthSuccess | kAuthChannelAuthSuccess | Channel Authentication Successful | |
| LoginAuthSuccess | kAuthLoginAuthSuccess | Login Authentication Successful | |
| Policy | QueryCompliance | kPolicyQueryCompliance | Query compliance status |
| SelectRegionAndAge | kPolicySelectRegionAndAge | Select Region and Age | |
| AgreePrivacyPolicy | kPolicyAgreePrivacyPolicy | Agree to Privacy Policy | |
| PrivacyAuthSuccess | kPolicyPrivacyAuthSucces | Compliance Certification Passed | |
| Navigate | ShowServerList | kNavigateShowServerList | Show server list |
| SubmitArea | kNavigateSubmitArea | Submit Region | |
| ConfirmArea | kNavigateConfirmArea | Confirm Region | |
| ConnectSvrSuccess | kNavigateConnectSvrSuccess | Connect to Server Successfully | |
| EnterGame | ShowEnterGame | kEnterGameShowEnterGame | Show Enter Game |
| ClickIntoGame | kEnterGameClickIntoGame | Click to Enter Game | |
| Lobby | EnterLobbySuccess | kLobbyEnterLobbySuccess | Enter Game Lobby |
| Pay | Authentication | kPayAuthentication | Payment authentication |
| PullUpTheListOfGoods | kPayPullUpTheListOfGoods | Pull Up Goods List | |
| PullUpPriceList | kPayPullUpPriceList | Pull Up Price List | |
| StartOrder | kPayStartOrder | Start Order | |
| SuccessfulOrder | kPaySuccessfulOrder | Order Successful | |
| StartPayment | kPayStartPayment | Start Payment | |
| SuccessfulPayment | kPaySuccessfulPayment | Payment Successful | |
| StartDelivery | kPayStartDelivery | Start Delivery | |
| SuccessfulDelivery | kPaySuccessfulDelivery | Delivery Successful | |
| AuthRegister | RegisterSuccess | kAuthRegisterSuccess | Registration Successful |
| Undefine | kUNDEFINE | Undefined Preset Point |
Code sample
int error_code = 0;
INTLAPI.ReportFunnel(FINTLFunnelStep.kStartAppLaunch, error_code);