RevenueCat
The webhook is what closes the loop from ad click to revenue — no purchase-side code required.
Connect the webhook
- In MakeRVN: Dashboard → Integrations → RevenueCat → Connect. Copy the webhook URL and Authorization value (unique to your app).
- In RevenueCat: Project → Integrations → Webhooks. Paste both, and save.
From then on, every trial, purchase and renewal is delivered to MakeRVN, attributed to the right campaign, forwarded to Meta CAPI / TikTok Events API, and metered for billing.
What each event becomes
- Initial purchase / non-renewing purchase → a Purchase conversion.
- Initial purchase with a trial period → a Trial started conversion (sent to networks as StartTrial).
- Renewal → a renewal conversion (revenue counted, not billed as a new conversion).
- Cancellation / expiration / refund → status updates; a refund subtracts from attributed revenue.
The makervn_cid attribute
If you added the first-launch snippet, each device carries a makervn_cid subscriber attribute — our click id. The webhook reads it to attribute the purchase deterministically. Without it, we match by the device signal set at install time.
Testing in sandbox
Verify the whole pipeline with RevenueCat sandbox purchases (TestFlight / a sandbox tester) before going live. Sandbox events are recorded and tagged “Sandbox” in Recent activity but never billed and never counted in production KPIs. To also see them reach the ad networks, paste a Test event code (Meta Events Manager → Test Events, or TikTok Events Manager) into the integration in Integrations.