Stop renting your affiliate program.

Refreal is self-hosted affiliate tracking: one script, your own server, nothing rented. Track clicks, attribute sales through Polar, Stripe, or your own checkout, and keep the whole commission conversation between you and your affiliates — no platform in the middle taking a cut.

$149 once — no subscription, no revenue share
Get Refreal Self-hosted. Source included. Runs on any PHP 8+ host.
$0per month, ever
0%of what your affiliates sell
∞affiliates, conversions, installs

Renting your affiliate program gets expensive exactly when it's working.

Most affiliate platforms take a cut of every sale they help you track. Grow the program and you grow their bill. Refreal breaks that link: pay once, run it on a server you already have, and keep everything it earns you from day one.

Full source. Your own database. Every click, conversion, and affiliate email sitting in one SQLite file you can back up, inspect, or move — no export request, no support ticket, no waiting on someone else's API.

Typical setupHostedRefreal
Monthly fee$49–299/mo$0
Cut of tracked revenue2–5%0%
Affiliate/seat limitstierednone
Where your data livestheir serversyours

Everything you need to run a program. Nothing held back.

No add-ons. No higher tier hiding half of this behind a paywall. It's all here, in the one install.

+Click tracking — one script tag, works cross-domain, under 3KB
+Attribution engine, with a configurable cookie and attribution window
+Polar.sh, Stripe, and a generic webhook for anything else you sell through
+Self-serve affiliate signup, with an approval queue if you want one
+Affiliate portal — referral link, live stats, payout profile, history
+Payout ledger — approve, mark paid, export a CSV for PayPal, Wise, or a bank run
+Transactional email built in — PHP mail or SMTP, no third-party service
+Your own program name and minimum payout threshold, right in the portal
+PHP and SQLite. No Redis, no queue, no Node process to babysit

What you and your affiliates actually see.

Screenshots of the real admin panel and affiliate portal go here.

Admin → Overview screenshot recommended 1200 × 800

Admin → Overview — every click, conversion, and payout in one ledger.

Affiliate Portal screenshot recommended 1200 × 800

Affiliate Portal — their referral link, live stats, and a minimum-payout note so they stop asking when they'll get paid.

Set up before your coffee's cold.

Upload and open it once

Drop the folder on your server and load it once — the database and your secrets set themselves up.

Add the tracker

Paste one script tag into your storefront. It handles clicks, cookies, and tagging your checkout link on its own.

Point your checkout at it

Copy the webhook URL from Settings into Polar, Stripe, or your own checkout.

Bring on affiliates

Add your first one yourself, or flip on self-serve signup and let them apply.

One tier. Everything above, included.

refreal — licenseqty 1
Full source, self-hostedincluded
Polar, Stripe & generic checkoutincluded
Unlimited affiliates & conversionsincluded
Lifetime updatesincluded
Total$149
Get Refreal

One-time payment. Runs on PHP 8+ and SQLite — most shared hosting already qualifies.

Questions

Is there a monthly fee anywhere?

No. $149 once — no license check-ins, no usage caps, no surprise renewal.

Which checkout providers does it support?

Polar.sh and Stripe out of the box, including plain checkout links that open in a new tab. A generic webhook covers anything else your store uses.

Do I need to set up a database?

No — it's a single SQLite file, created automatically the first time you open the install. Back it up like any other file.

Can I fully white-label this for my affiliates?

Not entirely — Refreal's own name still shows in a couple of places (the portal header, email templates). What you can rename is the "sale" label on each conversion in their portal, via Program Name in Settings — so instead of "Polar sale" they see "Acme sale" instead.