Skip to main content
TrueOrigin reads your purchases from a RevenueCat webhook. Two parts: the webhook, and one line in your app that ties RevenueCat’s customer to the install.

1. Connect the webhook

  1. In the dashboard, Settings → RevenueCat → Connect RevenueCat. You get a Webhook URL and an Authorization header. The header is shown once.
  2. In RevenueCat, Integrations → Webhooks, add a webhook with that URL, and paste the whole header value, including Bearer , as the Authorization header.
  3. Send all events.
No RevenueCat API key is needed. App Store events count; Android and web purchases arriving on the same webhook are acknowledged and dropped. If you lose the header, Issue new credentials in Settings and update it in RevenueCat. The old header stops working at once.

2. Set the attributes in your app

After configuring both SDKs, and before any paywall:
Repeat the first call on every app start and after each successful RevenueCat logIn or logOut. It returns right away, makes no network request, and always includes trueorigin_install_id, even while the attribution is pending. It does not change the RevenueCat App User ID; keep your own. Once the install is matched, the attributes also carry the campaign: You can use them in RevenueCat for targeting and experiments.

What gets counted

Refunds are recorded too. The same events can go to Meta and TikTok as postbacks.