# odo docs

> Set odo up on your site, connect your sales, and work with it from code or an AI assistant: the script, events, attribution, MCP and the API.

odo counts every sale from the platforms you sell on, measures the website behind them with a small script of its own, and traces each sale back to the visit that made it.

## Start in three steps

1. [Add the script](https://odo.gg/docs/add-the-script) to every page of your site.
2. [Connect your sales](https://odo.gg/docs/connect-your-sales): Stripe, Shopify, Patreon and 170+ more.
3. [Check it’s working](https://odo.gg/docs/check-its-working): a visit, an event and a sale, end to end.

## For AI assistants

odo runs an MCP server, so Claude, ChatGPT and other assistants can read your numbers when you ask, a coding assistant can tell odo what it changed on your site, and one you allow can run experiments for you. [Connect one](https://odo.gg/docs/mcp), then try [a prompt to start with](https://odo.gg/docs/prompts), or read the [tool reference](https://odo.gg/docs/mcp-tools). Or ask inside odo: [Ask odo](https://odo.gg/docs/ask-odo) is a chat with Claude in the dashboard, with the same tools.

An assistant reading these docs can start at [/llms.txt](https://odo.gg/llms.txt): every page, as markdown.

## Get started

- [Add the script](https://odo.gg/docs/add-the-script.md): Paste odo’s script into every page: the tag and its options, leaving out your own visits, cookieless mode, the early snippet, and ad blockers.
- [Connect your sales](https://odo.gg/docs/connect-your-sales.md): Add the platforms you earn on, from Stripe and Shopify to Patreon and ad networks: keys, sign-ins and webhooks, and what makes a source Verified.
- [Check it’s working](https://odo.gg/docs/check-its-working.md): See the first visit arrive, send a test event, and make a sale that traces back to its visit: a few minutes to check the whole setup end to end.

## Tracking

- [Pageviews and single-page apps](https://odo.gg/docs/pageviews.md): What odo counts as a visit and a pageview, how it follows single-page apps, time on page and scroll depth, who counts as online, and what never counts.
- [Custom events](https://odo.gg/docs/events.md): Send events from your pages with odo() or a data attribute, with properties and revenue, and the events odo sends itself: outbound links, downloads, ad clicks.
- [Goals and funnels](https://odo.gg/docs/goals-and-funnels.md): Turn pages and events into the steps that matter: goals with wildcards, funnels of up to eight steps, and what converting means across odo.
- [Trace each sale to its visit](https://odo.gg/docs/sales-to-visits.md): How odo credits each sale to the visit that brought it: Stripe metadata, checkout links tagged for you, Shopify, Paddle and more, and first or last touch.
- [Campaigns, UTM tags and channels](https://odo.gg/docs/campaigns.md): How odo names where each visit came from: UTM tags, ref links, ad click ids, referrers, the seven channels, and in-app browsers like TikTok and Instagram.
- [Links for posts](https://odo.gg/docs/links-for-posts.md): A tagged link for each post, posts you add by their link with what each one did, and the posts odo finds by itself from their wave of visitors.
- [Clicks, forms, errors and page speed](https://odo.gg/docs/interactions.md): What the script notes about what people do on a page, what it never reads, and the attributes that name buttons, sections and forms or keep a part private.
- [Heatmaps](https://odo.gg/docs/heatmaps.md): Where visitors click, how far down they scroll and which parts of a page they see, per screen size, drawn over your own page from the dashboard.

## Improve

- [Experiments](https://odo.gg/docs/experiments.md): Test 2–5 versions of a page: odo changes the page for you, or your code does. odo reads each test every 15 minutes, calls it carefully and can ship the winner.
- [Site updates](https://odo.gg/docs/site-updates.md): Mark what changed on your site and when, by hand, from a deploy script or from a coding assistant, and see what visitors, conversion and revenue did next.
- [odo’s analysis with Claude](https://odo.gg/docs/analysis.md): odo reads its own numbers with Claude: a verdict on each post you add, a weekly review, read-outs of experiments, and what Claude is and isn’t sent.
- [Ask odo](https://odo.gg/docs/ask-odo.md): Chat with Claude inside odo about your numbers: where to find it, what it reads, the changes you approve, who has it, its limits and privacy.

## AI assistants and API

- [Connect an AI assistant](https://odo.gg/docs/mcp.md): Connect Claude, ChatGPT, Claude Code or any MCP client to odo: signing in or a key, what assistants can and can’t do, the prompts, and how access works.
- [Prompts to try](https://odo.gg/docs/prompts.md): Ready-to-copy prompts for Claude, ChatGPT and other assistants connected to odo: what’s working, what’s leaking, heatmaps, posts, tests, changes and earnings.
- [MCP tool reference](https://odo.gg/docs/mcp-tools.md): Every tool odo’s MCP server offers assistants, with what it answers and the inputs it takes, read from the server’s own definitions.
- [REST API](https://odo.gg/docs/api.md): Read a project’s numbers, send it events, payments and site updates, and run experiments from your server: keys, permissions, endpoints, errors and limits.

## Your account

- [Notifications](https://odo.gg/docs/notifications.md): A quiet receipt of each sale in Slack, Discord, Telegram, email, a signed webhook or the phone app, alerts when sales or visits go quiet, and weekly summaries.
- [Sharing and public pages](https://odo.gg/docs/sharing.md): Share your live number with a public link or your own page at odo.gg/you, choose what it shows, put it on a stream, and invite people by email.
- [Projects, team and roles](https://odo.gg/docs/team.md): Keep each business in a project of its own, add them up in Global, and invite people as viewers, managers or admins, each seeing only what their role allows.
- [Studio mode and stream overlay](https://odo.gg/docs/studio.md): Film the dashboard with scripted numbers on cue, and put your live counter on a stream with the overlay link, sale alerts and a chime.
- [The phone app and widgets](https://odo.gg/docs/phone-app.md): odo for iPhone and Android: the live counter, a cha-ching on the lock screen for every sale, insights, and home and lock screen widgets.

## Privacy and plans

- [Privacy and your data](https://odo.gg/docs/privacy.md): What odo stores about your visitors and buyers, and what it never does: the one first-party id, cookieless mode, IP addresses, typed text, and who sees what.
- [Plans and billing](https://odo.gg/docs/plans.md): odo’s plans, priced by your sites’ traffic: Starter and Growth at every size, the free trial, what happens at the limit, and changing or ending a plan.
