> ## Documentation Index
> Fetch the complete documentation index at: https://docs.datalyr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RevenueCat

> Receive mobile subscription and purchase events from RevenueCat.

RevenueCat sends subscription, trial, and one-time purchase activity through a workspace-specific webhook.

## Connect RevenueCat

1. Open **Sources → RevenueCat**.
2. Enter the RevenueCat App ID.
3. Choose `production` or `sandbox`; production is the default.
4. Copy the Datalyr webhook URL into **RevenueCat → Project Settings → Integrations**.
5. Add the webhook secret when signature verification is configured.

## Identity

Use the same stable App User ID in RevenueCat and your Datalyr mobile SDK identification when possible. Anonymous or changed IDs can cause a purchase to appear without the expected customer journey.

## Verify

Send a RevenueCat test event or complete a sandbox purchase. Confirm the environment, product, value, currency, and App User ID before testing a production purchase.
