Most analytics tools count visits. Revenue attribution goes one step further: it follows a visitor from the first click to the payment, and gives the money to the source that earned it. A channel that sends 500 visits and no customers looks very different once revenue sits next to traffic.
How revenue attribution works
Attribution always has two steps, whatever tool does it.
- Match the payment to a visitor. The payment arrives from Stripe, Polar or Dodo Payments or the Payments API. Something has to connect it to a browser session: an id passed through the checkout, a user id you sent when the person signed up, or their email address.
- Credit a source. The matched visitor may have come several times, from different places. An attribution model decides which of those visits gets the credit.
In Reveata the strongest signal wins: a visitor id in the checkout metadata, then a session id, then a user id, then an email address, then the customer's earlier payments. A payment that matches nothing still counts toward your revenue, as unattributed, so totals always agree with your payment provider.
Attribution models
| Model | Credit goes to | Good for |
|---|---|---|
| First touch | The visit that first brought the person | Finding where new buyers discover you |
| Last touch | The last visit before paying | Seeing what closes the sale |
| Last non-direct touch | The last visit that was not typed in or bookmarked | Ignoring the "came back directly to pay" step |
Only visits inside the attribution window count. In Reveata the default model is first touch, the default window is 90 days (up to 365), and you can change both per website.
Renewals, refunds and currencies
- A subscription renewal inherits the source of the first payment, so the channel that won the customer keeps getting credit for the revenue that customer brings.
- A refund is subtracted from the same source as the payment it reverses, so channel revenue is net revenue.
- Payments in other currencies are converted at the exchange rate of the payment day.
What revenue attribution cannot tell you
Attribution shows correlation along a real path, not proof that a channel caused the sale. A person who read about you on a podcast and then searched your name will show up as organic search. Visits with no referrer (some app links, messaging apps) arrive as direct; see dark traffic. Treat channel revenue as a strong signal, compare models, and look at trends rather than single days.