RevenueCat
Overview
Enabling the RevenueCat integration allows Statsig to pull billing, subscription, and revenue metrics into your Statsig projects. This provides easy mechanisms to optimize purchases and revenue by using Statsig's feature gates or experimentation tools without any additional logging.
Statsig integrates with RevenueCat through a Webhook and receives data as mentioned in the RevenueCat documentation
Configuring Incoming Metrics
-
Copy your Statsig Server Secret Key from the API Keys tab in the Statsig console.
-
Navigate to your app in the RevenueCat dashboard and choose Statsig from the Integrations menu.
-
Enter your Statsig Server Secret and click Save.
-
On the Statsig Integrations page, enable the RevenueCat integration.
If you're running an experiment with the user as your unit type, you must set the RevenueCat appUserID
to match the userID
that you log with the Statsig SDK, for example, when you expose the the user to a Statsig feature gate or experiment. Check out how to set the appUserID
on RevenueCat here.
By default, Statsig will not ingest Sandbox events from RevenueCat to reduce noise from test events. However, you can explicitly enable ingestion of Sandbox events into Statsig using the Statsig Integrations page while debugging.