Change Log
v1: Initial Version
Endpoint: /api/v1/conversion
Overview
This is the first version of the Conversion API (CAPI). In this version, conversion tracking is performed by obtaining the referralId when the user is redirected and sending it as a parameter when calling the API at the time of conversion.
Implementation Steps:
The user is redirected to a URL like the following:
https://www.0xqube.xyz/?referralId=abcdef123456The
referralIdis included as a query parameter.The
referralIdmust be stored when the user is redirected.When the user performs a conversion (e.g., a purchase or registration), call the CAPI (
/api/v1/conversion) and include thereferralIdin the request parameters.
Example Request:
POST /api/v1/conversion
Content-Type: application/json
{
"referralId": "abcdef123456",
"conversionId": "ghijk789"
}Last updated
Was this helpful?