# Documentation

> How to send your site's traffic, your product's events and your revenue to mettr, and how to read them on the dashboard, in alerts, on a TV or through an AI assistant.

Source: https://status.mettr.app/docs

mettr shows who is on your site right now, what they do in your product, where they came from, what broke and what it earns, live. These pages explain how data gets in and what you can do with it once it is there.

## How data gets in

- **The browser script** sends page views, navigation in single-page apps, outbound clicks, each page's [Web Vitals](/docs/dashboard#web-vitals) and who is on the page right now. One line in your layout. See [Browser script](/docs/browser-script).
- **A server SDK** sends your product's own events (sign-ups, upgrades, exports), errors and sign-ins from your backend, where nothing can block them. There are SDKs for [Laravel](/docs/laravel), [plain PHP](/docs/php), [Node.js](/docs/node), [Next.js](/docs/nextjs), [Python](/docs/python), [Ruby](/docs/ruby) and [Go](/docs/go), and the [Events API](/docs/events-api) for any other language.
- **A platform's plugin** does it with no code: [WordPress](/docs/wordpress), [Statamic](/docs/statamic), [Shopify](/docs/shopify), a [Cloudflare Worker](/docs/cloudflare) in front of any site, or the script pasted into a [site builder](/docs/site-builders).
- **Connections** bring in what other services know: [revenue](/docs/revenue) from Stripe, Paddle, Polar or your own billing, [Search Console](/docs/search-console) from Google, downloads and releases of your [packages](/docs/packages) on Packagist, npm, PyPI and crates.io, stars, releases and issues of your [GitHub repositories](/docs/github), and [deploys](/docs/deploys) from GitHub, GitLab, Bitbucket or any CI.
- **History** from before mettr comes [from another tool](/docs/import) (Google Analytics 4, Plausible, Simple Analytics, Umami, Matomo, GoatCounter) or through the [Import API](/docs/import-api), and leaves as an [export](/docs/export) whenever you like.

## Where to start

New to mettr? The [Quick start](/docs/quick-start) takes you from an account to your first live visitor in a few minutes.

Already sending? Learn the [dashboard](/docs/dashboard), give your events names of your own with [labels](/docs/labels), set up [alerts and reports](/docs/alerts-and-reports), put the dashboard on an [office TV](/docs/tv-mode), or let an AI assistant read your numbers through the [MCP server](/docs/mcp).

## Words used here

- **Site**: one website or product, with its own domains, keys and dashboard. A site belongs to a team.
- **Event**: one thing that happened, with a type: `pageview`, `event` (your product's own, such as `signup`), `error`, `revenue`, and a few the script and SDKs send for you.
- **Visitor**: a person on the site that day, told apart by a daily hash. The same person is a new visitor the next day, and no address or cookie is kept.
- **Online**: visitors seen in the last 90 seconds (the browser script sends a heartbeat every 30), or active in the last 5 minutes on a site with no script. Where the script runs, a client the server alone sees (a scraper fetching files) is not online, and sampled response times never count anywhere but their own panels.
- **Bots and staff**: crawlers, scanners and your own team are flagged as they arrive and left out of every number. Nothing is dropped.
