# Revenue attribution

Source: https://analytics.5h3ll.site/docs/revenue

See which sources, campaigns and AI assistants bring paying customers.

Revenue attribution joins a payment to the visit that led to it. You then see revenue per source, campaign, landing page and AI assistant.

## How a payment is matched

1. The checkout carries the visitor ID (`ml_visitor_id` in metadata, or the return page).
2. Failing that, a returning customer is matched to their earlier payments.
3. Failing that, the single likely checkout click just before the payment.

Pick a provider: [Stripe](https://analytics.5h3ll.site/docs/stripe), [Dodo Payments](https://analytics.5h3ll.site/docs/dodo), or any other through the [payments API](https://analytics.5h3ll.site/docs/api#payments).

Previous

Consent and privacy controls

Next

Stripe

Something missing or wrong? [Open a support ticket](https://analytics.5h3ll.site/support).
