Data Connectors
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 (opens in a new tab)

Configuring Incoming Metrics

  1. Copy your Statsig Server Secret Key from the API Keys (opens in a new tab) tab in the Statsig console.

  2. Navigate to your app in the RevenueCat dashboard and choose Statsig from the Integrations menu.

  3. Enter your Statsig Server Secret and click Save.

    img

  4. On the Statsig Integrations (opens in a new tab) 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 (opens in a new tab).

By default, Statsig will not ingest Sandbox events (opens in a new tab) from RevenueCat to reduce noise from test events. However, you can explicitly enable ingestion of Sandbox events into Statsig using the Statsig Integrations (opens in a new tab) page while debugging.