# 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://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 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 is one for [Laravel](/docs/laravel), one for [plain PHP](/docs/php), and the [Events API](/docs/events-api) for any other language.
- **Connections** bring in what other services know: [revenue](/docs/revenue) from Stripe, Paddle or your own billing, [Search Console](/docs/search-console) from Google, and [deploys](/docs/deploys) from GitHub, GitLab, Bitbucket or any CI.
- **History** from before mettr goes in through the [Import API](/docs/import-api).

## 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), 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.
