Revenue
Connect your payment provider
Revenue needs two things: MetricRaven has to receive your payments, and each payment has to carry the visitor ID of the visit that led to it. Pick your provider and checkout to see which guides to follow.
3. Follow these guides
- 1Connect Stripe
Connect Stripe
Create a read-only restricted key and paste it in Settings → Integrations. MetricRaven imports past payments, refunds and subscriptions.
- 2Open the guide
Link payments to visits
Add the visitor ID to the Checkout Session's metadata when your server creates it.
How it fits together
- Connect imports or receives payments and refunds, so revenue and refunds appear even before any payment is attributed.
- Link payments to visits passes the visitor ID (or a user ID you identified) through checkout, so each payment is credited to its channel, campaign and page.
- You can connect several providers to one website; their revenue adds up.
Payments that can't be matched to a visit still count in Revenue, shown without a source. See Troubleshooting if revenue has no source.