Skip to main content
PATCH
Update your program’s referral tracking configuration. All fields are optional.
Enabling postback URLs requires the Growth plan or higher. Attempting to enable postbacks on the Launch plan will return a 403 PLAN_UPGRADE_REQUIRED error.

Body Parameters

string
Default referral query parameter name. Must be between 1 and 50 characters.
array
List of accepted referral parameter names. Each must be between 1 and 50 characters.
boolean
Enable referral tracking by email address.
boolean
Enable referral tracking by affiliate name.
boolean
Enable postback URLs. Requires Growth plan or higher.
boolean
Append the resolved click ID as affonso_id to the landing-page URL after the pixel records a click.
boolean
Enable query-parameter decoration from tracking_template. A template must contain at least one row before it can be enabled.
array | null
Ordered query-parameter rows to add to the landing-page URL. Set to null to clear the stored template. A template supports up to 20 rows and parameter keys must be unique and contain only letters, numbers, _, ., ~, or -.

Tracking Template Macros

Use these macros in template values. If a value is unavailable, its macro is left unchanged in the resolved URL.

Response

Returns the updated tracking settings object. Same structure as the Get Tracking Settings response.