# Privacy policy

> **Draft, 9 November 2026.** Bracketed items are still to be filled in.

nanolytics is operated by [legal entity, registered address] ("we"). Email [privacy@nanolytics.dev](mailto:privacy@nanolytics.dev) about anything here.

## Two roles

- **Controller** for your nanolytics account, and for visits to nanolytics.dev.
- **Processor** for the analytics our customers collect on their own sites and apps. The customer is the controller, and the [data processing agreement](/legal/dpa) governs that data. If you visited a customer's site, ask that site first. We help them answer.

## Visits to nanolytics.dev

This site runs nanolytics' own tag, with consent withdrawn, so nothing that identifies your browser is stored.

| Data | How | Kept |
|---|---|---|
| Page address | The query is kept only for campaign tags (`utm_*`, `ref`, `source`, `gclid`, `gbraid`, `wbraid`, `msclkid`). The fragment is dropped. | Forever |
| Referrer | The page you came from. | Forever |
| Window width | Stored as one of 8 width bands. | Forever |
| Time on page | Sent when you leave the page or switch tabs. | Forever |
| Browser | Your user agent, stored as sent and read as browser, OS and device. | Forever |
| Place | Country, region and city, which Cloudflare derives from your IP address. | Forever |
| Visitor | A hash of your IP address and user agent with a salt that changes each day. The salt is deleted after 2 days, so visits on different days can't be linked. | Forever |

- **Not stored:** cookies, screen size, language, clicks, keystrokes or recordings.
- **IP address:** used for place and the visitor hash, and not stored with the visit. Our hosting providers' request logs may hold it for a short time.
- **Browser storage:** a consent flag, and hits until the server confirms them (at most 72 hours). No identifier.
- **Not counted:** block the tag (`t.js`) with a content blocker. The site works the same without it.
- **Legal basis:** our legitimate interest in knowing how the site is used (GDPR Art. 6(1)(f)).

## Your account

| Data | Why | Kept |
|---|---|---|
| Email, name and sign-in details | Signing in, through WorkOS. We keep your email, WorkOS user ID and role. | While the account exists |
| Organization name and members | Who may see which sites. | While the organization exists |
| Sites | Domain, time zone, allowed hosts and settings. | While the organization exists |
| API keys | Kept only as a SHA-256 hash and a prefix. | Until revoked |
| Agent connect requests | Client name, domain, approximate country and city. The IP address is never kept. | A day after they expire |
| Queries | What was asked of the data, to keep answers fast and correct. | 30 days |

- **Legal basis:** the contract with you (GDPR Art. 6(1)(b)).
- **Inactive organizations:** if an organization has no events and no sign-in for 24 months, we may delete it, after notifying it 30 days ahead.

## Where it is stored

- Analytics data and recordings are stored in Cloudflare R2's EU jurisdiction.
- They are processed on Railway in the Netherlands (europe-west4).
- Account data is in Postgres on PlanetScale, in the Netherlands (europe-west4).
- Requests pass through Cloudflare's network, nearest to the visitor.
- WorkOS holds sign-in data in the United States, under the EU Standard Contractual Clauses.

The full list is on [subprocessors](/legal/subprocessors).

## Your rights

- You can ask for access, correction, deletion, restriction, portability, or object to processing.
- Email [privacy@nanolytics.dev](mailto:privacy@nanolytics.dev). We answer within a month.
- For visit data, include your visitor ID or user ID if you have one.
- You can also complain to your data protection authority.

We don't sell personal data, use it for advertising, or track you across sites.

## Changes

We post changes here, with the date, and notify account owners before a material change takes effect.
