Retrieve your program’s referral tracking configuration, including which referral parameters are enabled, landing-page URL decoration settings, and whether postback URLs are active.
Response
boolean
Always true for successful responses
object
The tracking settings object.
Show Data Object Properties
string
Default referral query parameter name (e.g. ref)
array
List of accepted referral parameter names
boolean
Whether referral tracking by email is enabled
boolean
Whether referral tracking by name is enabled
boolean
Whether postback URLs are enabled (requires Growth plan or higher)
boolean
Whether the pixel appends the click ID as affonso_id to the landing-page URL.
boolean
Whether the pixel applies the program tracking template to the landing-page URL.
array | null
Ordered query-parameter template rows, or null when no template is stored.
Show Tracking Template Row Properties
string
Query parameter name.
string
Static text, a macro, or a composite value containing macros.
string
literal for static or composite values, or macro for one macro value.
curl -X GET "https://api.affonso.io/v1/program/tracking" \ -H "Authorization: Bearer sk_live_your_api_key"