Zero transaction fees · Works with Stripe

Affiliate tracking built for subscription SaaS

Connect Stripe to track partner commissions on paid invoices and renewals. Rally adjusts for refunds and takes no percentage of your affiliate revenue.

Free for up to 10 active affiliates.

app.refhero.io/dashboard
OverviewSample data
Three things need you today. Everything else is running.
Referred revenue$9,870↑ 18%vs $8,364 previous 30 days
Top affiliates30 daysMCMaya Chen$2,410LPLeo Park$1,880PNPriya Nair$1,350DWDevTools Weekly$1,120
AffiliatesPending4applicationsReview
CommissionsPending11awaiting approvalApprove 11
PayoutsDue Nov 1$3,105.25to 23Run payout
Sample Overview: $9,870 referred revenue over 30 days, three items needing attention, and top affiliates led by Maya Chen.
Works with your stack
  • Stripe
  • Paddle (Soon)
  • tracker.js
  • Conversion API
The problem

A referral is only the start of a subscription

A signup is not a paid invoice. Renewals and refunds change what a partner earns. Rally keeps commissions aligned with those payments.

Commissions change after checkout

Commissions start with a paid invoice, not a trial. Later paid invoices earn commissions too. Refunds reverse them, with partial refunds prorated.

Revenue-share fees add another cost

Rally charges a flat monthly price based on active affiliates. It takes no percentage of the revenue your partners bring in.

Check commissions before paying

Rally blocks matching-email self-referrals and rejects duplicate conversions. Review commissions, then approve or deny them before creating a payout.

Features

See what each partner has earned

Connect referrals to sales, follow commissions through Stripe events and review what partners have earned before you pay.

Billing sync

Keep commissions aligned with paid invoices

Rally reads Stripe billing events. Paid invoices earn commissions. Refunds and disputes reverse them. Paddle support is coming soon.

Commissions reflect the amount on each paid invoice.

checkout.session.completedCheckout completedTracked
invoice.paidStarter $99 paid+$24.75Approved
customer.subscription.updatedUpgrade to ProNext invoicePending
charge.refundedStarter refunded−$24.75Reversed
Attribution

Connect the referral to the sale

Choose first-click or last-click attribution per campaign. Pass referral metadata into Stripe Checkout or report conversions from your server.

Click?via=mayaSignupOct 2Trial14 daysPaidOct 16
MCMaya Chen · linked promo code MAYA25

Link a promo code to a partner to credit Stripe Checkout sales without a click. A tracked referral link still takes priority over the code.

Pricing model

Keep your affiliate revenue

Flat monthly pricing by number of active affiliates. Rally never takes a percentage of the revenue partners bring in.

Monthly cost on $50,000 affiliate revenueExample5% platform fee$2,500Rally Growth, flat$149
Illustrative example: on $50,000 of affiliate revenue a month, a 5% platform fee is $2,500. Rally Growth is $149 for up to 1,000 active affiliates.

Rally takes no percentage of your affiliate revenue.

Partner portal

Give partners a place to check their earnings

Partners see their links, clicks, conversions, commissions and payout records in the Rally app. Add your campaign logo and brand color.

Custom portal domain (Soon)

Partner portal
Northwind LabsHomeLinksPayouts
Clicks1,284Customers9Commissions$32.25
northwind.com/?via=mayaCopy link
Recent referralsBrightline Co.TrialTandem HQ$32.25PendingFieldnote$49.75Paid
Fraud detection

Review commissions before you pay

When a customer email matches the affiliate email, Rally blocks the self-referral. Review other suspicious activity before approving payouts.

  • Self-referral blockedCustomer email matches the affiliate emailBlocked
  • Duplicate conversion rejectedSame external_id in this programRejected
  • Coupon mapping checkedCode must belong to this programValidated

Approve or deny commissions before recording payment.

Setup

Setup in about 15 minutes

Add tracker.js, connect Stripe and pass referral metadata into checkout. Check tracker detection in Settings > Tracking after a referral click.

  1. Add tracker.js to your siteDone
  2. Connect StripeDone
  3. Pass referral metadata into checkoutNext

Check that your tracker is seen after a referral click.

For developers

Pass the referral into checkout

Add tracker.js, pass referral metadata to Stripe Checkout, or report conversions from your server.

  1. 01Add one script tagtracker.js loads on your marketing site and app.
  2. 02Clicks are tracked automaticallyReferral links with ?ref= or ?via= set a first-party cookie for the referral window.
  3. 03Pass attribution at checkoutAdd the referral to your Stripe Checkout session, or report it from your server.
  4. 04Calculate commissions from billing eventsPaid invoices earn commissions. After an upgrade or downgrade, commissions reflect the amounts on later paid invoices. Refunds and disputes reverse commissions. You pay partners outside Rally.
Step 1, the whole snippet<script src="https://api.refhero.io/tracker.js" data-program="your-program-id"></script>

The referral cookie is host-only. For separate site and app hosts, forward the ?ref= or ?via= parameter to the app so tracker.js can record the referral there before checkout.

Read the docs
checkout.js
// Pass the referral to Stripe when you create the sessionconst session = await stripe.checkout.sessions.create({  mode: 'subscription',  line_items: [{ price: 'price_pro_monthly', quantity: 1 }],  metadata: req.body.rallyMetadata, // window.Rally.getCheckoutMetadata()  success_url: 'https://yourapp.com/welcome',});// That's it. Rally picks up invoice.paid, upgrades and// refunds from Stripe and adjusts the commission.
Server-side, for any billing setupPOST /api/v1/track/conversion
curl -X POST https://api.refhero.io/api/v1/track/conversion \
  -H "X-API-Key: $RALLY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"program_id": "your-program-id", "external_id": "in_1042",
       "amount": 99, "currency": "USD", "visitor_id": "<from tracker.js>"}'
How it works

From partner signup to recorded payment

Set your terms, share your signup link and review what partners have earned.

  1. 1Set up

    Set your commission

    Choose percentage or flat commissions. Set a recurring commission duration and give individual partners their own rates.

  2. 2Recruit

    Share your signup link

    Share your partner signup link with the ready message from the Invite page. Review applications and approve the partners you want to work with.

  3. 3Review

    Review and record payments

    Approve commissions and create a payout. Pay the partner your usual way, then mark it sent. Rally emails the partner.

Pricing

Flat pricing. No cut of your revenue.

Plans scale with the number of active affiliates, not with what they sell. Zero transaction fees on every plan.

View full pricing
Free$0/mo
  • Up to 10 active affiliates
  • Community support
Start free
GrowthFeatured plan$149/mo
  • Up to 1,000 active affiliates
  • Priority support
  • Custom portal domain (Soon)
Start with Growth
Business$399/mo
  • Unlimited active affiliates
  • Dedicated support
  • Custom integrations
Start with Business

Cookie window: 30 days by default, configurable per campaign.

FAQ

Common questions

Something else? Email support@refhero.io or browse the docs.

Do you really charge no transaction fees?

Yes. You pay a flat monthly price based on how many active affiliates you have. Rally never takes a percentage of affiliate-driven revenue, on any plan.

Which billing providers do you support?

Connect Stripe today. Rally reads billing events and does not change your Stripe data. Other setups can report conversions through the conversion API. Paddle support is coming soon.

What happens to a commission when a customer refunds or churns?

Paid invoices earn commissions. Trials earn none until payment. Upgrades and downgrades affect later paid invoices. Refunds and disputes reverse commissions, with partial refunds prorated.

Can partners promote with a code instead of a link?

Yes. Link a coupon code to a partner in the campaign. When a buyer enters it as a Stripe Checkout promotion code, Rally can credit that partner without a referral click. A tracked referral link still takes priority over the code. Your server can also send the code through the conversion API.

Do I need a credit card to start?

No. The Free plan covers up to 10 active affiliates. Upgrade when your program outgrows it.

Does Rally send partner payments?

No. Create a payout in Rally, pay the partner outside Rally and mark it sent. Rally records the payment and emails the partner.

Start your affiliate program free

Connect Stripe, pass referrals into checkout and share your partner signup link. Free for up to 10 active affiliates.

Start free. No credit card required.