Skip to main content

ReportPayStep [Player Network SDK Only]

[Player Network SDK Only] Report the data of the Pay event to calculate the conversion rate for funnel analysis.

The Pay funnel contains the following steps:
0: successful login authentication > 1: pull up the list of goods > 2: successful order > 3: successful payment > 4: successful delivery

Image: Analytics Login Event

Supported Platform

Supports Android, iOS, Windows platform.

Function Definition

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

Input Parameters

ParameterTypeDescription
stepuintStep ID
Counting from 0
stepNamestringStep name
resultboolStep result
true: success
false:fail
errorCodeintError code
result=true, errorCode=0
result=false, errorCode is custom error code
extraJsonstringThe extended field
JSON string

Code Sample

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