Features How it works Pricing Docs Live demo Get Refreal — $149 →
Self-hosted · PHP & SQLite · Source included

Stop rentingyour 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.

$149once — no subscription, no revenue share

Runs on any PHP 8+ host.

$0 per month, ever 0% of what your affiliates sell Unlimited affiliates & conversions Runs on shared hosting
Features

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

Configurable cookie lifetime and attribution window — global or per affiliate.

Polar.sh, Stripe & generic

Webhooks for Polar and Stripe, plus a generic one for anything else you sell through.

Self-serve signup

Let affiliates apply themselves, with an approval queue if you want one.

Affiliate portal

Referral link, live stats, payout profile and history.

Payout ledger

Approve, mark paid, export a CSV for PayPal, Wise or a bank run.

Transactional email

PHP mail or SMTP built in — no third-party service.

Your program name

Your own program name and minimum payout threshold, right in the portal.

PHP & SQLite

No Redis, no queue, no Node process to babysit.

The product

What you and your affiliates actually see.

The real admin panel and the real affiliate portal. What you install is what's below.

Refreal admin overview with clicks, conversions, revenue and recent conversions (light mode) Refreal admin overview with clicks, conversions, revenue and recent conversions (dark mode)
Admin → Overview — every click, conversion, and payout in one ledger.
Refreal affiliate portal with referral link, stats and payout details (light mode) Refreal affiliate portal with referral link, stats and payout details (dark mode)
Affiliate Portal — their referral link, live stats, and a minimum-payout note so they stop asking when they'll get paid.
Why self-hosted

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.

How it works

Set up before your coffee's cold.

01

Upload and open it once

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

02

Add the tracker

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

03

Point your checkout at it

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

04

Bring on affiliates

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

Pricing

One tier. Everything above, included.

Refreal — licenseqty 1
$149one-time
  • Full source, self-hosted
  • Polar, Stripe & generic checkout
  • Unlimited affiliates & conversions
  • Lifetime updates
Get Refreal

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

Want to see it first? Try the live demo →

FAQ

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 try it before buying?

Yes — the live demo is a sandbox storefront wired to test-mode Polar and Stripe checkouts, so you can try a referral end to end without spending anything.

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.

Own your affiliate program.

Pay once, run it on a server you already have, and keep everything it earns you.