How Nordtally counts
What the numbers mean, how fresh they are, and when they are estimates. Everything here describes what Nordtally does today, not what we plan.
Freshness
An event shows up in the dashboard within about two seconds. The collector writes events to the database every second, or as soon as 10,000 are waiting, whichever comes first. Dashboards aren’t cached, and our tests check that a pageview reaches the database in under two seconds. There is no processing delay and no daily batch: today’s numbers are complete up to the last few seconds.
Late events and restatement
Every event is timed by the collector when it arrives. The script, the Node SDK and the HTTP API can’t send a timestamp, and the HTTP API rejects unknown fields. So an event can never land in a past day, and past numbers are never restated by late data. An event that is retried, say by the Node SDK after a network error, counts at the time it finally arrives.
One exception: if our database is down, the collector keeps what it receives on disk (up to 1 GB) and writes it as soon as the database is back, retrying every 10 seconds. Those events keep the time they arrived, so the minutes of the outage fill in afterwards. If that buffer is ever full, further events are lost, and we count them.
Past numbers change only when you or your retention setting change them:
- an import from Plausible adds the days before your first own data, and deleting the import removes them again;
- the retention job deletes events older than the site’s retention (1 to 25 months);
- deleting a site deletes all of its data.
Exact and estimated numbers
Numbers are exact counts unless they are marked with ≈. A marked number says, on hover and to screen readers, how far it may be off: its 95% margin. Two things make a number an estimate.
Very large ranges are read from a sample
When a date range holds more than 5 million events, the dashboard and the Stats API read a sample of visitors sized to about 5 million events and scale the counts up. Bounce rate, visit duration and exit pages, which group whole visits, switch at 2.5 million events. The dashboard says which numbers come from the sample, and so do CSV file names and API responses. Strict-mode sites are never sampled: there is no visitor id to sample by. The reason is speed: exact queries over tens of millions of events take seconds on our database and would slow every other site down.
Each visitor is in the sample or not, as a whole, with probability f (the sample fraction). For a visitor count estimated as n, the 95% margin is about 1.96 × √((1 − f) / (f × n)): with a 10% sample, ±19% for 1,000 visitors, ±5.9% for 10,000 and ±1.9% for 100,000. Visits and pageviews vary a little more, because some visitors account for many of them; the dashboard works their margin out from the spread in the sample. Ratios such as bounce rate are marked as estimates without a margin.
Very large visitor counts are estimated
Unique visitors are counted with ClickHouse’s uniq function. It is exact up to 65,536 different visitors in one number. Beyond that it keeps a sample of the visitors’ hashes, between 32,768 and 65,536 of them, and scales up, so a count of more than 65,536 visitors is within about ±0.8 to ±1.1%, sampled or not. Pageviews, events and visits are always counted exactly when nothing is sampled. Under a page, event or property filter, visits are counted the same way as visitors.
Unique visitors over several days can be higher than the number of people, by design: in anonymous mode the visitor id changes every day at midnight UTC, so a person who comes back on another day counts again.
The privacy floor
A row in a table is a group of visitors who share something: a page, a source, a country. A group of one is a person, and clicking the row would show that person’s browser, country and source. The privacy floor stops that. Rows with fewer visitors than the floor are not listed; they are combined into one row, such as “Fewer than 3 visitors each (12 rows)”, with their summed visitors, visits and pageviews, so the table still adds up.
- It applies to every table: sources, channels, referrers, UTM values, pages, entry and exit pages, countries, browsers, operating systems, devices and custom properties. Totals, the chart and goals are not affected.
- If your filters match fewer visitors than the floor, no numbers are shown at all, so a filter can’t be used to look up one visitor. Matching nobody looks the same. A previous period below the floor isn’t compared.
- Every table with a floor says so, with the threshold. In the Stats API,
privacy_floorgives the threshold,small_groupsthe combined row, and filters below it return422 below_privacy_floor.
| Who reads it | Default | Choices |
|---|---|---|
| Your workspace’s members, CSV exports and the Stats API | Off | Off, 3, 5 or 10 |
| Shared dashboards (also with a password, and embeds) and email reports | 3 | 3, 5 or 10, and never below the members’ floor |
Owners and admins set both under Site settings → Privacy floor. It is off for your own dashboard by default because these are your numbers: Nordtally stores no visitor identity, and the same page paths are usually in your web server’s logs anyway. Turn it on if your page paths or custom properties can contain names, such as profile or search pages. Shared links and emails can reach anyone, so they always have a floor.
What it counts, and its limits:
- The floor counts distinct visitors. Strict-mode sites have no visitor id, and neither do server-side events sent without the visitor’s address; there each event counts on its own, which is weaker, since one person can make several events.
- On sampled ranges it counts the visitors actually read, so a value seen by one sampled visitor is combined even if its estimate would be larger.
- Imported days count Plausible’s daily visitors, added up.
- It isn’t anonymisation in the legal sense. It stops small groups from being read off a table and stops a filter from looking up one visitor. Someone who already guesses a page path could still compare totals with and without it.