Skip to main content

Report Payment Event Steps (ReportPayStep) [Player Network SDK only]

[Player Network SDK only] Reports Pay event data to calculate funnel analysis conversion rates.

The Pay funnel model includes steps:
0: Login verification successful > 1: Fetch goods list > 2: Order successful > 3: Payment successful > 4: Delivery successful

Image: Login event

Supported Platforms

Supports Android, iOS, Windows platform.

Function definition

void ReportPayStep(uint step, string stepName, bool result, int errorCode = 0, string extraJson = "{}");

Input Parameters

ParametersTypeDescription
stepuintStep ID
Counting starts from 0
stepNamestringStep Name
resultboolStep Result
true: success
false: failure
errorCodeintError Code
When result=true, errorCode=0
When result=false, errorCode is a custom error code
extraJsonstringAdditional Parameters
JSON format

Code Example

UnionAdapterAPI.GetReportService().ReportPayStep(0, "stepName", true);