Set it up
1
Create a programme with rewards
Create a programme that rewards referrers with
credits (e.g. AI credits, free months) or cash
commissions. The
free / paid tier you pass in the snippet decides
which credit amount each user earns.2
Get a publishable key
In Settings → Developers, create a publishable key (
pk_…). It’s browser-safe, and the
Developers page shows a ready-made embed snippet.3
Paste the snippet in your app
Drop the script into your authenticated app, filling in the signed-in user’s id, email and
tier:
4
Users see their dashboard
Each user is enrolled automatically on first view and gets their own dashboard — nothing else
to build. Theme and accent-color options let it match your brand; see the
developer reference for every attribute.
What your users see
- Their referral link, ready to copy and share.
- Performance over a selectable window (7–90 days, default 30): clicks, signups, purchases and conversion rate, with a day-by-day trend.
- Their rewards: credits earned, delivered and pending, or cash pending and paid out — lifetime totals.
The embed composes with the referral widget: the widget is a
lightweight share card for enrolling users and spreading their link, while the dashboard embed
is the full analytics view. Use either on its own, or the widget on high-traffic pages and the
dashboard on a dedicated “Refer & Earn” page.
Referrers vs affiliates
TrackRev distinguishes two kinds of partner:- Affiliates join through your public partner join page and earn cash commissions — that’s the only mode a join-page partner has.
- Referrers are your own users, enrolled through the widget or dashboard embed, earning credits.
- Their future conversions earn cash at the affiliate commission you set instead of credits — everything they’ve already earned in credits is kept.
- They get an embedded portal view: cash balance, recent commissions, payout-method setup and payout history.
- Payouts run through your normal payout flow, and your program’s minimum payout threshold applies.
- The switch is reversible — they can go back to earning credits at any time.
Only render the snippet to the signed-in user it belongs to — TrackRev trusts the user identity
your page provides, under your API key, and in affiliate mode that includes the payout email
the user sets. Details in the developer reference.

