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, embedded partner portals, and partner payouts without managing the infrastructure yourself.
What Refport helps you ship
Most referral tools send partners away to a separate portal. Refport is designed for product-led referral programs where the partner experience lives inside your own app.
- Capture referral clicks with branded short links.
- Attribute sign-ups and paid events to the right partner.
- Connect Stripe or Shopify instead of maintaining payment webhooks yourself.
- Embed a partner dashboard directly in your product.
- Calculate commissions and manage payouts through Stripe Connect.
Recommended integration path
Add browser tracking so Refport can store the refp_id click ID when referred visitors arrive on your site.
Send lead events from auth and sale events from Stripe, Shopify, or your server.
Give partners a referral dashboard inside your app with <RefportEmbed> or a custom React UI.
Invite partners, verify commissions, and let partners self-serve links, earnings, and payout setup.
Get started
Getting started
Follow the recommended path from click tracking to portal launch
Embedded Portal
Add the partner dashboard to your own app
Integrations
Connect Stripe, Shopify, and Better Auth
Framework guides
Use Next.js, TanStack Start, Express, or a React SPA
SDKs
| Package | Install | Use for |
|---|---|---|
refport-js | npm i refport-js | Browser click ID capture |
refport | npm i refport | Server-side tracking and embed tokens |
@refport/react | npm i @refport/react | Tracking, portal hooks, and iframe embed |
@refport/better-auth | npm i @refport/better-auth | Better Auth sign-up tracking |