# Privacy and GDPR

> What Okidoki collects, what it never collects, and what it means for cookie banners.

Okidoki is built to count visits without collecting anything that looks like personal data: no cookies, no IP addresses, no visitor IDs. This page explains exactly what is collected, what never is, where it is kept, and what that means for cookie banners.

## What is collected

For each page view, Okidoki keeps this and nothing more:

```text title="Everything Okidoki keeps about one page view"
page      /pricing
from      google.com
campaign  utm tags, if the link had them
country   SE, region AB
device    phone, Safari, iOS
visible   42 s, clicked on: yes
```

| What | Where it comes from | Kept as |
| --- | --- | --- |
| The page address | The browser | The path only, like `/pricing`. Everything after `?` and `#` is dropped, and parts that look like an email address, a customer number or a code become `[id]` |
| Where the visit came from | The browser's referrer | The site name only, like `google.com`, never the full address |
| Campaign tags | `utm_source`, `utm_medium`, `utm_campaign`, `utm_content`, `utm_term`, `utm_id`, `utm_source_platform`, `utm_creative_format`, `utm_marketing_tactic` in the address | Up to 128 characters each. A tag with an email address is dropped. No other query parameters |
| Kind of ad click | A click ID in the address, like `gclid`, `fbclid`, `msclkid` or `ttclid`, and Google's `gad_campaignid` | The click ID's name only, like `gclid`, and the campaign's ID. Never the click ID itself |
| In-app browser | The browser's user agent | The app's name only, like `instagram.com` or `tiktok.com`, when the page was opened inside the app |
| Subdomain | The page address | Like `shop.example.com`, only when the page is not on the site's main address |
| Country and region | Our hosting platform | Two codes, like `SE` and `AB`. Our code never reads the IP address |
| Device | The width of the browser window | Phone, tablet or computer |
| Browser and system | The browser's user agent | The family only, like Safari on iOS. No versions, no full string |
| Time on the page | Measured in the browser | Milliseconds the page was visible, capped at 30 minutes |
| Clicked on | Measured in the browser | Yes or no |
| Clicks you count | Outbound links, downloads, email, phone and form events | The kind of click, the page, and the site name or file path |
| How far the page was read | Measured in the browser | The deepest point reached, as a share of the page. Never how people scrolled |
| Load time | The browser, for the first page of a visit | Milliseconds until the page had loaded |
| Language | The browser's language setting | The main language only, like `sv`. No region, no other languages |
| Site search | The search words in the address, like `?q=` | Lowercase, at most 64 characters. Dropped if it looks like an email, a phone or ID number or an address |
| Problems on the page | The browser | A missing page and the page that linked to it, a JavaScript error message with numbers, emails and addresses removed, or a tag name for rage clicks |

## What is never collected

- **No cookies**, local storage, session storage or anything else written to the visitor's browser. The script also sends without your site's own cookies, so they never reach Okidoki, even when it runs on [your own address](https://docs.okidoki.sh/ad-blockers).
- **No visitor IDs**, not even hashed, salted or rotated ones. Nothing links two page views together.
- **No IP addresses.** Our code never reads them. Country and region come from headers our hosting platform adds.
- **No fingerprinting.** No screen resolution, fonts, plugins or anything else that could tell devices apart.
- **No query strings**, so email addresses and tokens in an address are never stored. The only exceptions are the campaign tags and your own site search words, both cleaned as described above. Of an ad click ID like `gclid`, only its name is kept, to know what kind of click it was; the ID itself, which points to one click, is never stored.
- **No form contents.** Okidoki notes that a form was sent, never what was typed.
- **No recordings** of screens, sessions, mouse movements or typing. Only how far down a page was read, as one number.

## Pages where nothing is stored

Some pages are nobody's business, like an account page or a patient portal. Add them under **Settings → Site → Private pages**, like `/account`, and Okidoki stores nothing at all there: no page views, no time and no events, not even the ones your site sends itself. Each path covers every page below it. See [Private pages](https://docs.okidoki.sh/tracker#private-pages-and-addresses-with-personal-details).

## Where the data is

Data is stored in the EU, in Stockholm, Sweden. The collector runs in our hosting platform's Stockholm region, with Frankfurt as fallback. Okidoki is made in Sweden.

Errors are logged without request data, so nothing about a visitor ends up in logs.

## Cookie banners

Cookie banners exist because most analytics tools store an identifier in the visitor's browser and follow them from page to page and visit to visit. EU rules ask for consent before storing information on a visitor's device or reading it from there.

Okidoki sets no cookies, stores nothing on the device and never identifies a visitor, so there is no cookie or identifier to ask consent for. The install sentence asks your builder not to add a banner for Okidoki.

The EU rules are not only about cookies, though. They also cover reading information from a device, and data protection authorities read that differently from country to country. So we do not promise that a site with Okidoki never needs a banner. Many sites run Okidoki without one; if you are unsure, ask whoever advises you on privacy.

> [!WARNING]
> This is how Okidoki works, not legal advice. If your site uses other tools that set cookies, like ads, chat widgets or embedded videos, you may need a banner for those anyway.

## What it means for your numbers

Strict counting has a price, and it is a small one. Because nobody gets an ID:

- Someone who comes back tomorrow counts as a new visitor.
- Okidoki cannot tell you what one person did across several pages.
- Filters on where a visit came from apply to the page the visit started on.

The numbers are a little coarser than tools that follow people, and the trends are the same. See [How visitors are counted](https://docs.okidoki.sh/counting).

## Okidoki AI and privacy

When you ask a question with [Okidoki AI](https://docs.okidoki.sh/ask), only report totals, your site's address and its time zone are sent to the AI model. Anything that looks like an email address or phone number is masked first, and the question text is not stored.

## For your own privacy policy

Okidoki gives you an optional sentence for your privacy policy that says your site uses it. See [A sentence for your privacy policy](https://docs.okidoki.sh/privacy-policy).

## Legal documents

- [Data processing agreement](https://okidoki.sh/dpa), for when you need one with Okidoki as your processor.
- [Subprocessors](https://okidoki.sh/subprocessors), the services Okidoki uses to run.
- [Privacy policy](https://okidoki.sh/privacy), [terms](https://okidoki.sh/terms) and [cookies](https://okidoki.sh/cookies) for okidoki.sh itself.

