# Privacy and your data

> What mettr keeps about your visitors and what it never does, whether you need a cookie banner, how to keep personal data out of events, and how to export or delete your data.

Source: https://mettr.app/docs/privacy-and-data

mettr is built to measure a site without following anyone. This page is the practical side, for you as a site's owner; the legal side is in the [privacy policy](/privacy) and the [data processing agreement](/dpa).

## What is kept, and what is not

For each event mettr keeps the page and referrer, the browser, OS and device, the country, region and city, the network, the event's name and props, and the user id if your server sends one.

It never keeps:

- **IP addresses.** An address is used while the request is handled, to find the place and to make the visitor's hash, then dropped. It is never written to the database, a log or a queue.
- **Cookies.** The script stores nothing on the visitor's device and reads nothing from it.
- **Profiles across days or sites.** A visitor is a hash of the site, the address and the user agent with a salt of the day, and each day's salt is deleted after 8 days. The same person is a new visitor the next day and on each site, and a hash cannot be turned back into an address.
- **Secrets in addresses.** Tokens, signatures, password reset links and email addresses are taken out of page addresses and referrers before they are kept.

## Do you need a cookie banner?

mettr sets no cookies and stores nothing on the device, so in most countries it needs no consent under the ePrivacy rules. You remain the controller of your visitors' data: mention mettr in your own privacy notice, as a processor that measures visits without cookies.

## Keep personal data out of events

What you send is yours to choose. Send what you want to count and group by, and nothing that names a person:

- **user_id**: your own internal id (`"4821"`), never an email address or a name.
- **props**: the plan, the format, the step; never an email, a phone number, a token or free text a person typed.
- **url**: mettr strips known secrets, but keep personal data out of your addresses anyway (`/users/4821`, not `/users/jane@example.com`).

## Your staff

List your user ids and addresses under the site's **General** settings, **Staff**, and they are left out of every number. Your own browser can opt out with `localStorage.mettr_ignore = "true"`.

## Export

Every panel's **…** menu exports its data as CSV or JSON. The [MCP server](/docs/mcp) and the [widget API](/docs/widget-api) read the same numbers. Layouts export as JSON.

## Delete

- **A site**: its settings, **Danger zone**. Its events, keys and connections are deleted at once.
- **A team**: its page, **Delete team**. Its sites and their traffic go with it, and its plan is cancelled.
- **Your account**: **Settings**, **Profile**. The teams you own, and their sites and traffic, are deleted with it.

Backups roll over within 30 days. Your plan's [history](/docs/plans-and-limits#history) decides how far back the dashboard shows; once a team has been on Free for 90 days, its traffic older than 30 days is deleted.

## Security

Secret keys are kept only as hashes and shown once. Keys and secrets for other services are encrypted at rest. Webhooks are checked by signature before anything in them is read. Every read of your data goes through a site your team owns. More on the [security](/security) page; to report a problem, write to [support@mettr.app](mailto:support@mettr.app).
