Now with MCP · your agent can query commission, affiliates, and payouts. Read-only. Connect a client
← Blog

Affiliate Programs for Mobile Apps: Why Tracking Breaks

Why affiliate tracking breaks inside iOS and Android apps, what the stores allow, and three architectures that pay mobile affiliates correctly.

SSled13 min read
·Share on X

Almost every affiliate stack you can buy in 2026 assumes the same primitive: a browser cookie set on your domain, read at checkout by code you control. That primitive exists because the web gives it to you for free. An app store does not. When the same customer clicks an affiliate link, installs your app, and buys a subscription through Apple or Google, the cookie never follows them, the checkout is not yours, and the payment provider never learns who sent them.

This is not a tooling gap you can fix by switching vendors. It is a structural difference between two payment rails, and it produces a predictable failure: mobile affiliate programs either pay commissions from spreadsheets weeks late, or quietly refuse to launch. This post explains exactly where the chain breaks, what the stores actually allow in 2026, and three architectures that do work, including one that runs on a signed server report instead of a cookie.

The moment an affiliate link meets an app store

TL;DR

  • The carrier in every browser affiliate program is a cookie on your own domain. In-app there is no document, no cookie jar for your domain, and no checkout code you wrote, so nothing carries the referral.
  • Apple removed apps and in-app purchases from its affiliate program on October 1, 2018, and Google never ran one for Play. There is no store-level affiliate rail, so every mobile program is run by the app developer.
  • Commissions should be calculated on your store proceeds, not the sticker price. Apple and Google take their fee first, so a 30% commission on gross can approach half of what you actually receive.
  • Two architectures work today: sell on the web and let the app inherit the account, or have your own backend report each store transaction to a signed webhook with the referral code it captured at install time.
  • The honest limit: no mobile SDK ships in Sled, and a store receipt is not a payment provider event, so someone has to build the bridge between the store and your affiliate ledger.

Why mobile is the one channel web affiliate tools cannot see

The affiliate industry grew up on the open web, where the advertiser owns the domain, the cookie, and the checkout. Mobile inverts all three. The customer's purchase happens inside a process Apple or Google controls, against a payment method Apple or Google bills, and the only thing that comes back to you is a transaction record after the fact.

The stores also removed the easy version of this problem a long time ago. Apple pulled iOS and Mac apps, plus in-app content, out of the iTunes Affiliate Program on October 1, 2018, after cutting the app rate from 7% to 2.5% the year before. Google never operated an affiliate program for the Play Store at all. So there is no "join the store's affiliate network" shortcut: if you want affiliates promoting your app, you are building the program, the tracking, and the payout logic yourself.

The question is narrower than "how do I track installs", which paid acquisition tools already answer. It is this: how does a referral code that arrived with a click survive an install, a purchase, a store fee, a currency conversion, and possibly a refund three weeks later, and land in a ledger that pays a specific person?

Take the browser case apart first, because the mobile case is defined by what is missing from it.

A visitor lands on your site with ?ref=abc1234 in the URL. A small script writes that code into a ta_ref cookie on your domain, for the window you configured (cookieDays, 90 days by default). Clicks are also logged server-side so you can see traffic even when no purchase follows. When the visitor checks out, your checkout code reads the cookie and attaches it to the session: metadata.referral on a Stripe session, custom data on a Paddle transaction, order metadata on a Polar order. The provider then sends a signed webhook once money settles, and that event becomes a conversion row with an affiliate code, an order id, and an amount.

Every step is web infrastructure: a document, a cookie, an HTTP request you authored, a webhook to an endpoint you registered. Now run the same customer through the App Store. They tap a link, install, open the app, and hit a paywall. The purchase is a StoreKit transaction: no cookie, because there is no document; no checkout code of yours in the path; no Stripe, Polar, or Paddle event, because Apple is the merchant of record. No affiliate tool can fire on a signal that never arrives.

So "we support mobile" usually means one of two narrower things: the app sends users to a web checkout in a browser, or the vendor ships a mobile SDK that reports store receipts to its own backend. Check which one you are buying before promising affiliates commission on in-app purchases. The browser path in more detail, including the storage caps that already break it on Safari, is in cookie windows and attribution models explained.

The three ways a mobile install can carry a referral

If the cookie is gone, the referral code needs a different vehicle. In practice there are five, and each one has a specific decay profile.

Referral carrier What it survives Where it breaks
URL parameter on a web page Page load, same session, cookie write Anything in-app; nothing to write to
Play Install Referrer The install click, on Android, when the link goes through Play iOS has no equivalent field; browser re-downloads often lose it
Deferred deep link with fingerprinting Install plus first open, across stores Probabilistic, degrades with privacy features, needs a vendor
Promo code typed into the app Everything, forever Requires user effort; codes leak to coupon sites
Account email match Renewals, reinstalls, cross-device Only works after signup; ambiguous for shared or Apple private-relay emails

The pattern worth internalizing: the further right you go, the less automatic the attribution and the more reliable the record. A typed promo code or an account-level link is boring, but it is deterministic, and deterministic beats clever when money is involved. Serious mobile programs frequently run two carriers at once, a deferred deep link for convenience and a code in the app as the fallback that always works.

One more detail that decides whether the whole thing funnels into your ledger: the referral must end up attached to something that persists. In the browser case, the cookie is the persistence. In the mobile case, the natural persistence is the account: bind the referral code to the user record at signup, and every later store transaction can be attributed by looking up the account.

Where the money breaks: store fees and currency

Attribution gets the credit, but the arithmetic gets the argument. Affiliates are usually quoted a percentage of revenue, and on mobile the number that reaches you is not the number on the price tag.

Apple's commission on digital goods is 30%, reduced to 15% for developers in the App Store Small Business Program (up to $1 million in proceeds the prior year) and 15% for qualifying subscriptions. Google Play's standard service fee is 30%, with a 15% tier on the first $1 million of annual revenue through its programs, and some newer fee structures add a separate billing fee on top. The exact percentages vary by region, program, and year, which is precisely why your commission definition has to be written against proceeds rather than gross.

Sale Store fee Your proceeds Affiliate at 20-30% You keep
$9.99 monthly subscription, 15% fee $1.50 $8.49 $1.70 at 20% $6.79
$49 one-time purchase, 30% fee $14.70 $34.30 $8.57 at 25% $25.72
$299 annual plan, 15% fee $44.85 $254.15 $50.83 at 20% $203.32
$19 monthly, 30% fee, VIP 30% $5.70 $13.30 $3.99 at 30% $9.31

Currency is the second half of the problem. Store transactions arrive priced in the customer's local currency, while an affiliate ledger stores integer minor units against one program currency. Sled's conversion record is amountCents with no per-row currency column, so a mobile integration must normalize at the boundary: convert to the program currency using the store's rate for that settlement, store the integer, and keep the original receipt reference next to it. Do the conversion late, in the ledger, and you will spend a quarter reconciling rounding differences instead of recruiting affiliates.

Three architectures that pay mobile affiliates

There are exactly three shapes that work, and they differ in who reports the sale.

Architecture Who reports the sale Works with Sled today Effort Best for
A. Web checkout, app login Stripe, Polar, or Paddle webhook Yes, no extra code Low Subscription apps that can bill outside the store
B. Deferred deep link plus server report Your own backend, via a signed webhook Yes, outbound webhook is shipped Medium Apps that must bill through the stores
C. Store report reconciliation You, monthly, by CSV Yes, as payouts recorded by hand Low to medium Teams paying a handful of affiliates early

Architecture A: sell on the web, let the app inherit the account

The cheapest correct answer. Put the checkout on your site where the cookie lives, using Stripe, Polar, or Paddle, and let the app authenticate against that account. The affiliate is attributed at checkout by the normal browser path, nothing new is built, and renewals inherit through the subscription id. The Stripe specifics, including which id a refund references, are in the Stripe affiliate program guide.

This is also the architecture most app developers reject, because store billing converts better on mobile and, in some regions, is the only compliant path for digital goods. It still deserves first consideration: a mobile program that launches on web checkout this week beats one that launches in-app next quarter.

For apps that must bill through the stores, the referral has to be captured at install and then reported by your own backend, transaction by transaction. Sled accepts exactly that shape through the generic webhook at /<your-slug>/api/webhook/generic, authenticated with an x-webhook-secret header or a Bearer token, not a store signature.

A minimal order report looks like this:

{
  "event": "order",
  "orderId": "2000000123456789",
  "amount": 4999,
  "email": "buyer@example.com",
  "subscriptionId": "sub_1Pexample",
  "metadata": { "referral": "abc1234" }
}

Four rules make this survivable. First, orderId must be the store's transaction identifier, the one a refund or a chargeback will reference later, not an internal invoice number you invented. Second, amounts are integer minor units, so convert before you send, not after. Third, send subscriptionId for anything recurring, because that is what carries the affiliate into later renewals; a zero-amount trial report carrying a referral and a subscription id seeds that inheritance even when nothing is charged yet. Fourth, refunds are a separate report (event: "refund" with the same order id), and they must use the same identity as the original order or the ledger will pay commission on a refunded sale.

Two failure paths deserve testing before launch. Duplicate deliveries are normal for any retrying sender, and Sled deduplicates on the tenant plus order id pair, so a retry is safe while a re-sent order with a different id creates a second commission. And self-referral: the ledger compares the buyer email against the affiliate's email, so the email field must be the real one, which on iOS means handling private relay addresses, since @privaterelay.appleid.com hides the underlying address entirely.

If you use a subscription infrastructure vendor between the store and your backend, you are not off the hook: there is no native bridge from those services into Sled today. You either call the generic webhook from your own job that consumes their events, or you reconcile by hand.

Architecture C: pay from store payout reports

Every store eventually hands you a report: a settlement file, a revenue summary, a CSV from the subscription vendor. You can skip tracking entirely and pay affiliates from that, monthly, by matching transactions to accounts.

It is honest, it is auditable, and it is slow. Affiliates hate it because their dashboard shows nothing until you reconcile, and you hate it because it scales linearly with affiliate count. Sled's conversions CSV export and manual payouts make this workable for a program with a handful of partners, and it is the right starting point if you have no engineering time. Treat it as a bridge, not a destination: the first affiliate who asks "why is my dashboard empty" is the signal to build Architecture B.

What to put in your mobile affiliate terms

Terms are where mobile programs quietly become unfair, because the default web template assumes a provider webhook that does not exist in your stack. Adjust these clauses before you recruit anyone.

State the commission base in one sentence: a percentage of net proceeds after store fees, in the program currency, converted at settlement. Say who bears the exchange rate and rounding. Say when a commission becomes payable, and that store-level refunds, chargebacks, and subscription returns claw it back, including cases where the refund arrives before your report does. And say plainly that a purchase with no captured referral code earns no commission, because promised attribution you cannot substantiate is the fastest way to lose an affiliate.

Sled's affiliate program terms template covers the web case and the payout floor; add a mobile addendum covering store fees, the attribution carrier you actually use, and the reporting cadence. If you pay in more than one currency, the international payouts guide covers the mechanics and the fees.

What is still missing before this is turnkey

Being precise about the gap is more useful than a roadmap tease. Four things are missing on the mobile side, and all four are real work.

There is no mobile SDK in Sled, so capturing a referral inside the app is your code: a deferred deep link vendor, a promo code field, or an account-level link built from the affiliate code. There is no store webhook ingestion, so App Store and Play notifications have to be translated into the generic webhook shape by something you run. The conversion ledger stores one integer amount with no per-row currency, which is fine for a single-currency program and requires normalization for a global one. And install-level identity is fundamentally weaker on mobile: the privacy trend that produced aggregated ad attribution postbacks applies to everything app-adjacent, so a mobile program lives with more "unknown source" purchases than a web program ever sees.

The practical consequence is a design rule. If a purchase cannot be tied to a specific affiliate with confidence, record it as unattributed rather than guessing between two candidates. An affiliate who is paid 80% of the truth on time will keep promoting. An affiliate who watches you invent attribution will not.

FAQ

Can I run an affiliate program for in-app purchases at all? Yes, but through your own reporting. Apple and Google will not tell your affiliate tool who referred a purchase, so your backend has to capture the referral at install, attach it to the account, and report each store transaction to a signed endpoint. Platforms do that; store events plus the generic webhook do it now.

Why did Apple remove apps from its affiliate program? Apple removed iOS and Mac apps and in-app content from the iTunes Affiliate Program on October 1, 2018, citing the new App Store's own discovery features. It had already cut the app commission from 7% to 2.5% in 2017. Google never operated a Play Store affiliate program, so no store-level rail exists on either platform.

Should the commission be a percentage of the price or of my proceeds? Of proceeds, always. A 20% commission on a $9.99 subscription after a 15% store fee costs you $1.70, while 20% of gross would cost $2.00 and quietly exceed your margin on low-price plans. Write the definition into the terms, then apply it identically in the ledger so nobody has to renegotiate after the first payout.

Does a mobile affiliate program need a cookie window? Not the cookie, but the equivalent: a stated window between the click or install and the purchase that still counts. Deferred deep links usually resolve at first open, so the window is measured from install, and attaching the code to the account makes it permanent for renewals. Document the window, because it is the number affiliates will ask about first.


If you are deciding how mobile sales should pay out over time, read recurring vs one-time commissions next, then start a program at usesled.com/signup.

Try Sled

Recurring commission on every renewal.

Polar-native affiliate tracking, with Stripe and Paddle handled the same way. 10-day trial, no card required, cancel anytime. Then $19/mo or $99/yr.

Keep reading

All posts →