Introduction
Refport is a link shortener with built-in referral tracking. Create branded short links, track conversions, and run partner programs with automated payouts.
Refport lets you build a complete referral program on top of your product — branded short links, conversion tracking, and partner payouts — without managing the infrastructure yourself.
How it works
When a user clicks a Refport short link, a unique click ID is stored in a cookie (refp_id) on their browser. As they move through your funnel, you report back to Refport:
- Click — captured automatically when the user visits your site through a Refport link
- Lead — reported when the user signs up or creates an account
- Sale — reported when the user makes a purchase
Refport connects these events to the originating partner link, calculates commissions, and handles payouts via Stripe Connect.
Key features
- Branded short links — Custom domains, QR codes, geo and device targeting
- Conversion tracking — Attribute leads and sales to specific referral links
- Referral programs — Invite partners, set commission rules, automate payouts
- Embeddable portal — Let partners view their stats inside your own app
- Stripe & Shopify integrations — Ingest sales events from your payment processors
SDKs
Refport provides four official packages:
| Package | Install | Use for |
|---|---|---|
refport-js | npm i refport-js | Browser click ID capture |
refport | npm i refport | Server-side tracking & embed tokens |
@refport/react | npm i @refport/react | React components & hooks |
@refport/better-auth | npm i @refport/better-auth | Better Auth sign-up tracking |