How it works with RevenueCat
A user arrives from an affiliate link or enters an affiliate short code, and your app remembers who referred them. When that user buys, RevenueCat confirms the purchase as it does today, and Insert Affiliate credits the sale to that affiliate and calculates the commission.
Nothing changes in how you sell. Your products, paywalls and entitlements stay in RevenueCat.
Supported platforms and SDKs
RevenueCat setup is documented for six Insert Affiliate SDKs:
- iOS (Swift)
- Android
- React Native
- Flutter
- Unity
- JavaScript and Capacitor
RevenueCat offer codes and discounts for referred users
You can attach an offer to an affiliate so that the people they refer see a discount or a free trial without typing a promo code. This works with RevenueCat Targeting and Offerings: you build the promotional offering in RevenueCat, and referred users are shown it in place of your standard one. Your app keeps displaying the current offering.
Short codes and links
Affiliates can share a link, a short code, or both. A short code is a short string of letters and numbers that the user enters in your app, which suits video platforms where links cannot be clicked. For links, Insert Links are built in, and Branch and AppsFlyer also work alongside RevenueCat.
RevenueCat web purchases
Web sales are supported too. Both RevenueCat Web Billing and RevenueCat Stripe Billing can be tracked, including hosted Web Purchase Links, by connecting the Stripe account that RevenueCat uses. The Stripe integration page explains the Stripe side.
What you get once it is connected
- Each attributed transaction in your dashboard, against the affiliate who referred it.
- Commission rates per affiliate, with the choice of whether renewals earn commission.
- Payouts to affiliates through Stripe, one at a time or with automatic daily payouts, which are opt-in.
- Refunds reflected in what each affiliate is owed.
- In-app referrals: a Refer a friend screen that gives each user a code and link, with the option to reward referrers with free premium time automatically.
For how the two products differ, see RevenueCat vs Insert Affiliate.


