- Use Revenuecat in-app events to run enhanced app campaigns.
- Unlock attribution-based paywall optimization.
To successfully connect RevenueCat, you must:
- Have Owner/Admin access to an Appstack organization.
- Have access to the correct RevenueCat account.
Connect to RevenueCat
Follow the steps to ensure the RevenueCat integration works:SDK configuration
After configuring the Purchases SDK and before the first purchase occurs, call
setAppstackAttributionParams() with the attribution data from the Appstack SDK. This single call sets the $appstackId, campaign attribution attributes ($mediaSource, $campaign, $adGroup, $ad, $keyword), click IDs, and device identifiers — no need to call collectDeviceIdentifiers() separately.The call also syncs attributes to the RevenueCat backend and fetches fresh offerings before returning, so Appstack-based targeting is applied before your paywall loads.Learn more about the RevenueCat x Appstack integration by reading this article.
iOS App Tracking Transparency (iOS 14.5+)If you request App Tracking permission through ATT to access the IDFA, call
setAppstackAttributionParams() again after the customer grants permission, rebuilding params from the latest getAttributionParams() and getAppstackId() values as in the code examples above. The AdSupport framework is required to collect the IDFA on iOS.Copy the credentials
- In Appstack, from the side menu, select Integrations > RevenueCat.
- Copy the webhook URL.
- Copy the authorization header.
Events received
| In-app event name | Definition |
|---|---|
| Initial Purchase | First-time subscription or one-time purchase |
| Renewal | Subscription renewal |
| Cancellation | Subscription cancelled |
| Uncancellation | Subscription cancellation reversed |
| Non-Renewing Purchase | One-time purchase (non-subscription) |
| Subscription Paused | Subscription temporarily paused |
| Expiration | Subscription expired |
| Billing Issue | Payment processing failed |
| Product Change | User changed subscription tier |
| Transfer | Subscription transferred between users |
Integration capabilities
| Includes Revenue | Supports Negative Revenue | Sends Sandbox Events | Includes Customer Attributes | Sends Transfer Events |
|---|---|---|---|---|
| ✅ | ✅ | ❌ | ❌ | ✅ |