Report custom funnel event (ReportFunnelCustomEvent)
AndroidiOSWindows
If you are using the Unity engine, please refer to ReportFunnelCustomEvent in the Unity SDK.
If you are using the Unity engine, please refer to ReportFunnelCustomEvent in the Unity SDK.
Business-side custom funnel events, report corresponding data to calculate funnel analysis conversion rate.The interface is called to report data after the corresponding code of each funnel event is executed.
Function Definition
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static void ReportFunnelCustomEvent(const FString l1_event_name, const FString l2_event_name, int error_code = 0);
Parameter Instructions
| Parameter | Type | Description | Notes |
|---|---|---|---|
| l1_event_name | FString | Primary event name (event category) | Required |
| l2_event_name | FString | Secondary event name (specific location of the burying point) | Required |
| error_code | int | Error code, default is 0, 0 for success, other error codes for failure | Optional |
Code Sample
FString l1_event_name = "l1_event_name";
FString l2_event_name = "l2_event_name";
int error_code = 0;
UINTLSDKAPI::ReportFunnelCustomEvent(l1_event_name, l2_event_name, error_code);