Create an API key
In your dashboard, open Developers → API keys
(referralful.com/dashboard/developers)
and create one. The secret is shown once. See Authentication for how to
send it.
Add the tracking snippet
Drop this into the Find your exact snippet in Dashboard → Settings → Tracking snippet.
<head> of every page on your site. It records referral clicks and
exposes the referral id as window.AffID.referral:Attribute the sale
Tell Referralful which affiliate to credit when a customer pays.
- Stripe
- Any other billing (no Stripe)
Pass the captured referral as Conversions and recurring commissions track automatically from Stripe.
client_reference_id on the Checkout Session:Add affiliates
Let people join through your signup page, or create them via the API:The response includes the affiliate’s
links (their tracking tokens) to share.