Blog / Getting users for your app
How to run an affiliate program for a mobile app
An affiliate program for mobile apps pays partners for results you can track, usually purchases that are not refunded. First choose a result your data can connect to a partner. Store campaign reports show groups of users, so they cannot confirm every sale. Apple's offer codes and Google's Install Referrer give you more to work with. Write down who earns a commission, how long you wait before paying and what happens after a refund.
By the USposted team. Published . 8 min read.
What can connect a sale to a partner?
- Campaign link
- Group totals with minimums
- Custom offer code
- Redemptions for each code
- Separate offer
- Offer name in each purchase
- Refund signal
- REFUND notification
- UTM tags
- Grouped store reports
- Install Referrer
- Partner ID at first launch
- Your account data
- Connects later purchases
- Refund signal
- Voided Purchases API
Apple and Google can help you measure where users come from, but a store report is not a commission record. Before you invite anyone, choose the sale you will pay for and check that you can connect it to the right partner.
This guide is for creators, site owners and other partners who earn money over time. If current users will invite friends, use a mobile app referral program. For a fixed price per post, see influencer deals for apps.
Choose a result you can check
For many paid apps, a good rule is one commission for each new customer's first purchase. Pay only after your refund waiting period. An install can be hard to verify, and paying on every renewal means you need to keep the partner connected to the customer.
Before you choose a percentage, answer four questions:
- Does a free trial count, or only the first payment?
- Do upgrades and renewals count?
- Does the commission apply to the full price, the discounted price or the money you receive?
- Which partner is paid if a customer used more than one link or code?
Give each rule an example. "New customer" may mean a new store account, a new app account or someone who never had a subscription. Choose one meaning that your data can check.
What you can track for each partner
The stores give you several signals. Some show totals for a group, while others can help you connect a purchase to a partner.
| Method | What you can see | Use it for payouts? |
|---|---|---|
| Apple campaign link | Grouped downloads and later results | No, only to check trends |
| One custom offer code per partner | Redemptions by code | Only for a set amount per redemption |
| One Apple offer per partner | Offer name in purchase data | Yes, for a small group |
| Google Play UTM tags | Grouped store results | No, only to check trends |
| Google Play Install Referrer | Referrer value for an install | Yes, with your own records |
iPhone: separate reports from payment data
An Apple campaign appears after first-time downloads from at least five users. Each metric also needs a value of at least 5 in the dates you choose. Apple counts a first-time download within 24 hours of using the link. If someone used several campaign links, only the latest gets credit for later sales.[1] A small partner could bring a real sale that the report does not show, so do not use this report to refuse a payment.
With a custom offer code for each partner, Apple's Subscription Offer Redemption Report lists redemptions by code. It has no fields for renewals, proceeds or refunds.[3] This data can support a fixed payment for each redemption, if your rules allow that.
To connect a purchase and its refund to a partner, create a separate offer for them. For purchases with an offer code, StoreKit's offer ID is the offer's reference name. Its page does not say that the ID includes the custom code.[4] Two partners with different codes under the same offer will therefore look the same in this field. Apple allows up to 10 active offers per subscription SKU,[2] so you will need another method for a larger group.
Your app could also ask an optional question, "Who told you about us?", and save the partner's name to the user's account. Use it only to give credit. Apple does not let apps use license keys, QR codes or their own methods to unlock digital features.[5] If the customer has an account in your system, you can attach an appAccountToken to their purchase. Apple returns this UUID in later transaction and renewal data.[6] For a purchase made outside the app, such as through a redemption URL, use Apple's Set App Account Token endpoint to add it.[6] Use a random value with no personal details, and store the partner's name in your database. Check your privacy policy and store privacy answers before you save this data.
Android: save the referrer once
UTM source and campaign values let you compare groups in Play Console. Values with few visits may appear as "Other".[8] For payment records, give each partner an ID and put it in the Google Play link's referrer value. Read it the first time the app runs after installation.
The Play Install Referrer Library returns the referrer URL. Google keeps the information for 90 days and recommends calling the API once after installation.[9] Check that the partner ID is real and active before you save it. When a purchase is confirmed, your server can save its purchase record next to the partner ID.
Neither method will catch every sale. People can change devices, search for the app later or buy before your app saves the partner ID. Decide whether partners can report a missing sale, what proof they need and how long they have. Keep customer data private when you answer.
Keep every refund in the payment record
Use one row for each purchase. Give it one of these statuses:
- Pending: the purchase is confirmed, but the waiting period has not ended.
- Approved: the waiting period ended and you found no reason to cancel it.
- Paid: the commission was included in a payment.
- Reversed: the sale was refunded, charged back or broke your program rules.
Keep the purchase ID, partner, date, currency, amount, commission rate, status and payment ID. When something changes, add the date and reason. Do not delete the first record.
Apple can send your server a REFUND notification for each main type of In-App Purchase. It can also send REFUND_REVERSED if a customer dispute cancels an earlier refund.[7] Handle both, or a partner could lose a commission for a valid sale. Process each notification only once, even if your server receives it more than once.
Google's Voided Purchases API includes refunds, cancellations and chargebacks, but only shows the last 30 days. Check it often and save the results. Also record any refund you make in Play Console. If you refund without the revoke option, the API does not return that order.[10]
Here is a made-up payout. A partner brings 12 new customers, and you keep $8 from each sale before commission. Two sales are refunded, which leaves $80. At 20%, the partner earns $16. If you had paid before the refunds, the total would have been $19.20. The $3.20 difference needs a clear rule.
A waiting period catches some refunds, but not all. For later ones, either take the amount from the partner's next payment or accept the loss. Choose now, because asking for money back can cause disputes and may depend on local law.
Write payout rules people can understand
Replace each blank in this template and test it with one sale and one refund:
What earns money: the first paid purchase of [product] by a new customer. "New customer" means [definition]. Free trials and renewals [do / do not] count.
Amount: [ ]% of [full price / money received after store fees and taxes]. Currency conversion uses [source and date].
Who gets credit: [first / last] valid link or code in [ ] days. If we cannot check it, we will [action].
Waiting period: a commission stays pending for [ ] days after purchase.
Refunds: refunds and chargebacks during this period cancel the commission. For later refunds, we will [subtract from the next payment / accept the loss]. If the store reverses a refund, we will [action].
Payment: once a month if the balance is at least [ ]. Each statement shows approved, paid and reversed sales, with no customer names.
Questions: send missing sales within [ ] days. We will answer within [ ] days.
Ending the deal: either side can end it with [ ] days' notice. Approved commissions will be paid on [date], unless [reason].
Before you use the template, ask a lawyer to check the contract, data and consumer rules for your country and your partners' countries. Ask an accountant what tax details you need to collect. This template is not legal or tax advice.
Limit how partners can promote the app
Google Play holds developers responsible for affiliates that promote their apps. Its examples of violations include deceptive ads, downloads without a clear user choice and unsolicited SMS promotion.[11] It also bans raising install counts by illegitimate means, as well as paid or incentivized reviews and ratings.[12] Apple bans manipulation of charts, search, reviews and referrals to an app.[5]
Tell partners not to:
- pretend to be your company or use fake customers
- send spam, force downloads or promise features the app does not have
- offer money or prizes for reviews, ratings or fake installs
- use their own code for their purchases, unless your rules allow it
- buy search ads for your app's name, unless your rules allow it
For promotion in the United States, FTC staff say a program should explain which product claims are allowed and exactly how to disclose the connection. It should also check posts from time to time and act on problems.[13] For video posts, ask for a clear disclosure in the video and near the links.[13] On TikTok, posts that can earn a commission must use the content disclosure setting.[14]
Apple's own partner program does not handle these payments for you. Its overview and commission page do not list other developers' apps.[15][16]
Test the program with one partner
Before launch, make test purchases where the store allows them, and check that your records show the right partner. Then test a normal sale, a refund before payment, a late refund, a repeated notification and a missing partner ID. For each case, compare the payment record with the written rules.
Start with one partner and a payment limit you can afford. After the first payment, compare the confirmed sales with both your records and the store's. Fix any difference before you add more partners. Keep the old rules for sales made under them, and give new rules a start date. To compare partners with your other sources, use the app marketing funnel.
Questions people ask
Does Apple have an affiliate program for my App Store app?
Apple runs the Apple Services Performance Partner Program. Its overview lists Apple Music, Apple TV and Apple Podcasts memberships, along with movies, TV shows, books and audiobooks. Its commission page lists Apple's own services, and neither page lists other developers' apps or In-App Purchases. Do not tell partners that Apple will pay them for your app's sales. If you run your own program, you must set the rules, connect sales to partners and make the payments. Apple's campaign links and offer codes can give you data, but they do not pay partners.
How much commission should a mobile app pay affiliates?
Start with the money you keep from each sale after store fees, taxes, refunds and the cost of serving the customer. Decide how much you need to keep, and use what is left as the most you can pay. Then check the total for a subscription, because paying for every renewal can cost far more than paying once. Include free trials and discounted periods in your test. The sources for this guide do not give a standard app commission, so use your own margin and state whether the rate applies to the price or to the money you receive.
Can I pay affiliates for each app install?
You can write that rule, but it carries more risk than paying for a purchase that is not refunded. Apple's campaign report uses grouped totals with minimums, so it may hide the results of a small partner. An install may also come from someone who never uses the app. Both stores act against manipulation. Google Play bans raising install counts by illegitimate means. Apple warns against paid or incentivized feedback used to raise chart positions. If you pay for new users, require a useful action in the app, check for fraud and set a limit. Never let partners reward people for reviews.
Do affiliates need to say that they earn a commission?
In the United States, a partner who earns a commission should make that clear when they recommend your app. For videos, FTC staff advise a disclosure in the video and another near the links in the description. They say "paid link" beside the link should be clear enough, while people may not understand "affiliate link" alone. TikTok counts posts that can earn a commission as branded content and requires its disclosure setting. Other countries have their own rules. Give partners exact wording, check their posts, and ask a lawyer about the countries where they promote your app.
Should affiliates earn commission on subscription renewals?
Pay for renewals only if you can connect each one to the partner and still make a profit. A first-payment commission is simpler and has a clear end. If you want to reward partners who bring long-term customers, set a limit, such as the first three payments, and use the money you receive in the calculation. That number is only an example. Decide what happens after an upgrade, a pause, a refund or a new subscription under another account. Put the end date in the rules, so nobody expects payments for as long as the customer stays.
Sources
- App Store Connect Analytics Help: campaign links
- App Store Connect Help: set up subscription offer codes
- App Store Connect Help: Subscription Offer Redemption Report
- Apple Developer: StoreKit offer identifier
- Apple: App Review Guidelines
- Apple Developer: appAccountToken
- Apple Developer: App Store Server notification types
- Google Play Console Help: store listing performance
- Android Developers: Play Install Referrer Library
- Google Play Developer API: voided purchases
- Google Play Console Help: app promotion policy
- Google Play Console Help: user ratings, reviews and installs
- FTC: Endorsement Guides, what people are asking
- TikTok: Branded Content Policy
- Apple Services Performance Partner Program: overview
- Apple Services Performance Partner Program: commissions and payments
Prices and platform rules change. We checked these pages on November 30, 2026.





