Revenue attribution

Revenue attribution, without the guesswork

Pageviews don't pay rent. Revenue attribution ties each sale to the visit that produced it, so you know which work is worth repeating.

All sales are final · License terms · Rather not self-host? Hosted from $9/mo

yourapp.com
9 online
Conversion
0%
+8.4%
Revenue/visitor
$0
+17.6%
Bounce rate
46%
+2.1%
Session time
3m 8s
+9.0%
Online
9
 
Fig. 1The dashboard for a sample site. Click Visitors or Revenue to toggle them, hover the chart and its notes, and click a referrer to filter everything by it.

How a sale gets its source

The tracking script gives each visitor a first-party id on your domain. When that id reaches the payment, ownlytics knows which visit, source and campaign produced the sale. It gets there in one of three ways:

  1. Payment links are tagged automatically (Stripe, Polar, Dodo).
  2. Server-created checkouts pass the visitor and session ids as metadata.
  3. Success pages: when the buyer lands back with the provider's checkout id, the script links it.

Which visit gets the credit

Set per website:

  • Last non-direct (default): the most recent visit with a real source.
  • First touch: the visitor's first visit ever.
  • Last touch: the last visit before buying.

Subscriptions keep their source: renewals inherit the visitor of the first payment, and refunds come off the same source.

Sources you can read

  • Channels from referrer, UTM tags or ad click ids: search, social, AI (ChatGPT, Claude, Perplexity), referral, email, paid, affiliate.
  • In-app browsers that hide the referrer (Instagram, TikTok, Reddit, Telegram and more) are credited to the app.
  • Direct, split into typed or bookmark, shared link and checkout return. A checkout return never takes credit from an earlier visit.

Lifetime value by first source

Customers are grouped by the source of their first attributed payment, with every renewal, upgrade and repeat purchase added since. Some channels send one-off buyers; others send customers who stay.

Privacy and attribution

First-party cookies keep a sale linked to a visit weeks earlier. Cookieless mode stores nothing in the browser and links sales to visits from the same day. Cookieless-until-consent switches when your banner says so. Pick per website. Details in the docs.

Ask your AI agent, too

Every ownlytics install has a built-in MCP server. One command connects Claude Code, Cursor, Codex, Windsurf or VS Code, and your agent answers "which post made me money?" from your own data. The same numbers are in your terminal and behind read-only API keys.

claude mcp add --transport http --scope user ownlytics https://ownlytics.xyz/api/mcp --header "Authorization: Bearer dbk_YOUR_KEY"

How the MCP server works · Docs

Questions

What is revenue attribution?

Crediting each sale to the visit, and so the traffic source, that produced it. It shows which posts, searches and referrers bring paying customers, not just visitors.

Which attribution model does ownlytics use?

Last non-direct by default. First touch and last touch are available per website.

Does attribution work without cookies?

Yes, with a limit: in cookieless mode, sales link to visits from the same day only.

Find out which of your posts pay the bills.

One script, one payment connection, and you'll know by tomorrow.

All sales are final · License terms · Rather not self-host? Hosted from $9/mo