Skip to main content

Report custom funnel event (ReportFunnelCustomEvent)

AndroidiOSWindows
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

ParameterTypeDescriptionNotes
l1_event_nameFStringPrimary event name (event category)Required
l2_event_nameFStringSecondary event name (specific location of the burying point)Required
error_codeintError code, default is 0, 0 for success, other error codes for failureOptional

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);