How to connect RevenueCat for Apple Ads ROAS

Installs tell you what Apple Ads cost. Revenue tells you whether it was worth it. Connect RevenueCat and each purchase, renewal and refund reaches Appsium with the campaign and keyword that brought the customer. It takes a few minutes and no code beyond one line most apps already have.

November 27, 20266 min readBy the Appsium team

You'll work in two windows: Appsium makes a webhook address and a secret value, RevenueCat sends every purchase to it, and Apple's attribution tells Appsium which ad brought the buyer. Here is each step, and what to check when numbers don't show up.

~3 minfrom opening Appsium to the test event
2 valuesa webhook URL and an authorization value to paste
Per keywordrevenue and ROAS for every campaign and keyword

Before you start

  • RevenueCat in your app. Purchases go through RevenueCat's SDK, and you can open the project in the RevenueCat dashboard with permission to add integrations.
  • Apple Ads connected in Appsium for the same app. If it isn't yet, follow How to connect Apple Ads to Appsium first. ROAS needs both the spend and the revenue.
  • Apple Ads attribution in the app. The app calls Purchases.shared.attribution.enableAdServicesAttributionTokenCollection() (iOS 14.3 and later). Many apps already do. Without it purchases still arrive, but not which campaign or keyword they came from.
Not using RevenueCat?You still get revenue and ROAS. Appsium estimates them from App Store Connect, and the Overview labels them as estimated. Connecting RevenueCat later switches to real numbers from its first purchase on.

Step 1: Create the webhook in Appsium

Open your app in Appsium and go to Apple Ads › Overview. In the Revenue card, click Connect RevenueCat, then Create webhook URL. You can also start from Settings › Apps and connections › RevenueCat, which lists every app with Apple Ads connected.

Appsium’s Revenue from RevenueCat window with the webhook URL and the authorization header value, each with a Copy button, and a note that the authorization value is shown only once
The authorization value is shown only once. Keep the window open until you've pasted it in RevenueCat.

Step 2: Add the webhook in RevenueCat

  1. Open IntegrationsIn the RevenueCat dashboard, pick the project, then Integrations in the left menu. It's its own menu item, not under Project settings.
  2. Add a webhookClick Webhooks, then Add new configuration, and name it Appsium.
  3. Paste the two valuesCopy the Webhook URL from Appsium into the URL field and the Authorization header value into the authorization header field, exactly as shown. You don't need to add "Bearer" in front.
  4. Pick what to sendChoose the app, the Production environment and all event types, then save. Sandbox purchases are ignored either way.

Step 3: Turn on Apple Ads attribution

On the same Integrations page, search for Apple Search Ads and turn it on. Either the Basic or the Advanced setup works. RevenueCat then asks Apple for each new customer's attribution and keeps it on the customer, so later renewals count for the same keyword.

Allow a few daysApple can take up to 7 days to return attribution. Purchases show up in Appsium right away, and the campaign and keyword fill in once RevenueCat has them.

Step 4: Send a test event

Open the Appsium webhook in RevenueCat and click Send test event. The Appsium window checks every few seconds and turns green when the event arrives. A test event moves no money, so revenue keeps the estimate until the first real purchase.

Appsium's RevenueCat window marked Connected in green, showing the last event time, 38 purchases received and 21 customers from Apple Ads
Once connected, the window shows the last event, the purchases received and how many customers came from Apple Ads.

What you'll see in Appsium

  • Overview: revenue and ROAS for the date range, marked RevenueCat, with how many paying customers came from Apple Ads. Set a target ROAS and anything below it shows in red.
  • Campaigns and Keywords: revenue and ROAS on every row, against the spend of the same days.
  • Rules: conditions on ROAS and revenue, such as lowering bids where a keyword brings back less than it costs.
  • Weekly email on Pro: revenue and ROAS for the week next to spend and installs.

Revenue is net proceeds in USD: the price minus RevenueCat's estimated tax and store commission. Refunds are subtracted on the day they happen.

If something doesn't show up

Appsium still says "Waiting for RevenueCat"Check that the webhook URL and the authorization value were pasted in full, with no spaces, and that the webhook is saved for the right app. If the authorization value was lost or mistyped, click Make a new webhook URL in Appsium and paste both new values in RevenueCat.
Purchases arrive, but none come from Apple AdsTurn on the Apple Search Ads integration in RevenueCat and make sure the app calls enableAdServicesAttributionTokenCollection(). Attribution can take up to 7 days, and Apple doesn't share it for installs from ad groups that target age or gender.
ROAS isn't shownRevenue is in USD. If your Apple Ads account bills in another currency, Appsium shows revenue but leaves ROAS out rather than compare two currencies.
Revenue looks lower than in RevenueCatAppsium counts only customers Apple Ads brought, as net proceeds. RevenueCat's charts include every customer, and can show revenue before tax and commission.

How to disconnect

In Appsium, open the RevenueCat window and click Disconnect RevenueCat: the purchases Appsium received are deleted and revenue goes back to the App Store Connect estimate. Then delete the Appsium webhook under Integrations › Webhooks in RevenueCat.

Frequently asked questions

Do I need RevenueCat to see ROAS in Appsium?

No. Without it, Appsium estimates revenue from App Store Connect: in each country, the proceeds from App Store search times the share of search downloads that came from ads, spread over campaigns and keywords by installs. RevenueCat replaces the estimate with real purchases tied to the exact campaign and keyword.

Which RevenueCat events does Appsium use?

Initial purchases, renewals, non-renewing purchases and product changes count as revenue, and refunds are subtracted. Trials, cancellations without a refund, sandbox purchases and test events move no money, so they don't change revenue.

Is the revenue gross or net?

Net: proceeds in USD after the tax and store commission RevenueCat estimates for each transaction. It's the money you keep, which is what ROAS should compare with spend.

Will my past purchases show up?

RevenueCat sends purchases from the moment the webhook is added. Days before the first purchase it sends keep the App Store Connect estimate, so your history still has a ROAS.

Why do some purchases show no campaign or keyword?

Attribution comes from Apple through RevenueCat's Apple Search Ads integration. It needs the integration turned on and the app collecting the AdServices token, it can take up to 7 days to arrive, and Apple doesn't share it for some installs, such as those from ad groups that target age or gender.

Is it safe?

The webhook only receives purchase events; it can't read or change anything in RevenueCat. Each request has to carry the authorization value Appsium gave you, which Appsium stores only as a hash. You can disconnect in Appsium or delete the webhook in RevenueCat at any time.

See how your App Store page scores. Free.

Paste your App Store link and get an ASO Score with the fixes that matter most. Then let Appsium research keywords, write metadata in every language and design your screenshots.