How it works without Apex
Apple lets iOS apps check which App Store search ad drove an install using Apple's built-in AdServices tool (AAAttribution.attributionToken). You can skip paying for an extra mobile tracker like AppsFlyer or Adjust, but doing it yourself means writing and maintaining code to fetch Apple ad spend, rotate security keys, and match installs to paid subscriptions.
How Apex does it for you
Apex's Capacitor plugin (@apex-inc/capacitor-plugin) automatically checks which Apple Search Ad brought each user in the first time they open your app, with no tracking pop-up required. Paste your Apple Ads key once (about 2 minutes) and Apex matches your ad spend directly to real App Store or Stripe subscription revenue (note: Capacitor iOS apps today; a pure Swift SDK isn't out yet).
How to set this up in 4 steps
Initialize
@apex-inc/capacitor-pluginon first app openInstall
@apex-inc/capacitor-pluginin your Capacitor iOS app and call Apex.initialize() on startup (note: a pure native Swift/SwiftUI SDK isn't available yet). On first open, Apex automatically asks Apple's AdServices framework whether the install came from an Apple Ads tap with zero ATT prompt.Connect Apple Ads with a Read-Only API key (2 minutes)
Copy the public key Apex generates, paste it into Apple Ads (Account Settings → API using an API Account Read Only user), and paste back the client ID, team ID, and key ID so Apex syncs campaign names, keywords, and daily spend.
Record in-app trials and subscription revenue on the user profile
Identify users when they create an account and track
trial_startedandpurchase_completed(StoreKit / server receipt verification or Stripe web checkout) so revenue joins back to the originating Apple Ads campaign and keyword.Compare campaign CPI and net subscription ROAS side by side
Inspect installs, spend, CPI, trial rate, and net post-Apple-commission revenue per campaign on the Attribution page, and pause keywords that produce cheap installs but zero paid renewals.
What you already have (Apple Ads console vs standalone MMPs)
Inside Apple Ads (formerly Apple Search Ads), you already see taps, installs, and Cost Per Install (CPI) for free. What Apple Ads doesn't show is which campaign or keyword actually produced paid annual subscriptions after a 7-day trial.
To close that loop, iOS teams either build their own AdServices token-resolution backend and Apple Ads API polling pipeline, or add a standalone Mobile Measurement Partner (AppsFlyer, Adjust, or Branch). While providers like AppsFlyer do offer free starter or usage-based plans for basic installs, tying ad spend to downstream subscription cohorts, product events, experimentation, and lifecycle messaging typically means paying across multiple tools or upgrading into paid MMP add-ons.
How Apple AdServices and the 2-minute Read-Only API key work
Automatic on-device Apple AdServices attribution currently ships through Apex's Capacitor plugin (@apex-inc/capacitor-plugin). A standalone native Swift / SwiftUI SDK is not available yet, so pure-Swift iOS apps cannot use this plugin workflow today (see Which mobile SDK should I use? for current backend Server Events API options).

One Capacitor plugin initialization call resolves Apple's AdServices attribution token automatically on first open, with zero ATT prompt required.
Automatic AdServices resolution on first open: As documented in the Apex Apple Ads guide, the
@apex-inc/capacitor-pluginSDK asks Apple's AdServices framework whether the install came from an Apple Ads tap. It requires no ATT prompt, still works if the user chooses "Ask App Not to Track", and never sends Apple Ads install data onward to Meta or Google.2-minute Read-Only Apple Ads API connection: Open Set up Apex → Attribution → Pick your ad platforms → Apple Ads. Copy the public key Apex generates, paste it into Apple Ads (Account Settings → API) under an API Account Read Only user, and paste back your
clientId,teamId, andkeyId. Apex immediately pulls campaign names, keywords, and daily spend while keeping the private key encrypted on its servers.Join trials and paid subscriptions to the campaign: Call
identifywhen the runner signs in and recordtrial_startedandpurchase_completed(from StoreKit receipt verification or Stripe web checkout) so net revenue appears next to Apple Ads spend.
import { Apex } from "@apex-inc/capacitor-plugin";
// On first open, resolves Apple AdServices automatically (no ATT prompt)
await Apex.initialize({
workspaceKey: "YOUR_APEX_WORKSPACE_KEY",
});
// When the user creates an account or signs in
await Apex.identify({
userId: user.email,
traits: { plan: "trial" },
});
Pass net proceeds after Apple's commission (15% under the App Store Small Business Program or 30% standard) so your campaign ROAS reflects actual bank deposits rather than pre-commission retail price.
Worked monthly Apple Ads example (illustrative assumptions)
All figures below are illustrative assumptions for a fictional iOS running app (Cadence Running, $48/yr annual plan, $40.80 net after Apple's 15% Small Business commission). Note that a 10% to 12% install-to-paid-annual rate is an optimistic upper-quartile assumption for high-intent exact-match keywords; typical fitness apps often convert 2% to 6% of installs to paid annual plans, so plug in your own trial-to-paid rate when modeling payback:
| Apple Ads campaign | Spend | Installs (CPI) | Paid annual subs | Net revenue | Net ROAS |
|---|---|---|---|---|---|
| US · Interval Running · Exact | $2,100 | 700 ($3.00) | 84 (12.0%) | $3,427.20 | 1.63x |
| US · Pace & Marathon · Broad | $1,500 | 500 ($3.00) | 36 (7.2%) | $1,468.80 | 0.98x |
| Total monthly (illustrative) | $3,600 | 1,200 ($3.00) | 120 (10%) | $4,896.00 | 1.36x |

Both campaigns look identical at $3.00 CPI in the Apple Ads console, yet Interval Running Exact returns 1.63x net subscription revenue per ad dollar while Broad Pace returns 0.98x (before app infrastructure, support, and team overhead).
Live Apex pricing vs standalone MMP tooling
The table below reads directly from Apex's published rate card for 21,720 in-app events and 1,200 Apple Ads attributed installs per month. Because both sit inside Apex's free monthly allowances (shown live below), Apex software cost in this scenario is $0 / month; above the free monthly allowance, attributed installs bill per attribution at the live rate card rate shown below.
Live Apex pricing · Pay-as-you-go
Estimated Apex cost for 1,200 monthly Apple Ads installs ($3,600/mo spend)
$0 / month
Fully inside Apex's free monthly allowances (resets every calendar month).
| Apex meter / schedule | Scenario volume | Free allowance / basis | Rate | Apex cost |
|---|---|---|---|---|
Events 1,200 installs x 18 in-app events + 120 paid subscription receipts | 21,720 / mo | 1M / month | $5 per 100K (per unit) | $0 |
Attribution 1,200 Apple Ads AdServices-attributed iOS installs | 1,200 / mo | 1.5K / month | $0.05 per unit | $0 |
Apple Ads Read-Only API sync, AdServices attribution, and unlimited team seats carry no extra Apex fee beyond the metered allowances above. Individual event history stays queryable for 13 months without a card, 3 years with a card on file, and 7 years once you've paid an invoice. See the live pricing page.
Third-party and campaign costs (not paid to Apex)
| Expense | Typical range | Notes |
|---|---|---|
| Apple Ads media spend | $3,600 / mo illustrative | Paid directly to Apple Ads; Apex reads spend with a Read-Only API key. |
| App Store commission | 15% (Small Business) or 30% standard | Deducted by Apple on in-app subscriptions; evaluate net ROAS after Apple's cut. |
Limitations, iOS versions, and App Store privacy answers
Capacitor iOS today (pure Swift / SwiftUI not yet supported): Automatic AdServices token resolution is available in
@apex-inc/capacitor-plugin. Teams shipping pure native Swift / SwiftUI apps cannot install an Apex native Swift SDK yet.Apple AdServices covers Apple Ads on iOS 14.3+ only: It is not a drop-in replacement for every cross-network MMP workflow. Installs from Meta, Google, or TikTok app campaigns on iOS rely on Apple's SKAdNetwork (SKAN) and AdAttributionKit frameworks (or web-to-app Apex Links), where campaign-level postbacks carry stricter crowd-anonymity thresholds than AdServices.
Net revenue ROAS is not full profit: Subtracting Apple's 15% or 30% commission shows net proceeds per ad dollar, not net profit after server hosting, customer support, refunds, and engineering overhead.
Apple Ads LAT / redownload nuance: Apple Ads redownloads or devices running older iOS versions can return limited token payloads; Apex records whatever fields Apple returns cleanly without fabricating keyword IDs.
App Store privacy nutrition labels: Review our App Store privacy answers guide before submitting your build so your App Privacy declarations match what your app collects.

