# Paddle revenue analytics

> Connect Paddle Billing with a read-only API key and see MRR, ARR, churn and every movement beside your traffic, with each subscription credited to the source that brought its customer.

Source: https://mettr.app/integrations/paddle

## Connect with a read-only key

In Paddle, make an API key with three read scopes (`subscription.read`, `transaction.read` and `adjustment.read`) and paste it under the site's **Revenue** settings. mettr tries it before keeping it, encrypts it at rest and never shows it again. It never asks for a key that could write.

For changes as they happen, add a notification destination at the address mettr shows, with the events it lists. Each notification is checked by its signature before anything in it is read.

## What you see

- **MRR and ARR**, with the range's change.
- **Subscribers**, **revenue per subscriber** and **churn**.
- **Movements**: new, expansion, contraction, churn and reactivation, by day.
- **MRR by source**: each subscription credited to the source of the visit its customer first came on.
- **Payments and refunds** in the live feed, as they happen.

## History from the first day

On connecting, every subscription's history is rebuilt from its billing cycles' transactions, the recurring price and not a trial's, so your MRR chart starts when your business did. mettr reads again every night and on demand, and notifications add each change in between.

## Which sources bring paying customers

Pass your user's id to Paddle's checkout in `customData`, as `{"user_id": "4821"}`, and send the same id with your events. mettr ties the subscription to that user's first visit and its source. No cookies: your own id, which you already have.

```js
Paddle.Checkout.open({
    items: [{ priceId: 'pri_...', quantity: 1 }],
    customData: { user_id: '4821' },
});
```

## Every currency, one total

Paddle sells in many currencies. mettr keeps each subscription in its own, and converts at the European Central Bank's rate of each day for the site's total. A currency the ECB has no rate for is left out and named, never guessed.

## Priced by events

mettr bills through Paddle too. Its plans count events, whatever your revenue: Paddle comes with Pro at $19 a month. [See pricing](/pricing), or [read the setup guide](/docs/revenue#connect-paddle).
