One key for the whole business
- In
Dodo, go to Developer → API keys, create a key and paste it into ownlytics (Live or Test). - Pick this website's products. Other websites can use the same connection with different products.
Past sales import straight away, and new payments, renewals and refunds follow.
Links and checkouts
- Payment links (
/buy/pdt_…) are tagged by the script automatically. - Checkout sessions: pass the visitor and session ids as
metadata, and setreturn_urlto a page on your site. See the docs.
Not an afterthought
ownlytics itself is sold through
Dodo Payments, so
Dodo gets the same first-class support as Stripe and
Polar.
What you see
- Revenue and sales by channel, referrer, campaign, page and country.
- Lifetime value by the source that first brought each customer.
- A
Telegram ping for every sale and refund, with the source.
Using Stripe,
Polar or
Creem on another site? See Stripe revenue analytics,
Polar analytics and
Creem analytics.
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"