PRISM LABS

Data custody · Journal

How this website counts visits without cookies

Unless you choose otherwise, this site's own counter uses no cookies and stores no IP addresses. Here is what it sends, and what Accept all adds.

Unless you choose otherwise, this website counts visits and clicks with a counter of our own, without cookies and without storing IP addresses. It took a small amount of code, and we think more sites should do it. The banner offers one choice that adds more, and the network that delivers the site runs one measurement of its own. Both are described below.

What we wanted to know

Which pages people read and how far, which buttons they press, roughly where they came from, and whether the page worked. We did not want to know who anyone is.

How it works

When a page loads, the site sends one small message to our own server: the page address, any campaign tag on the link you followed, and the address of the page you came from, of which the server keeps only the site's name. As you read, it also sends how far down the page you scrolled, how long the page was in view, how fast it loaded and any script error. When you press a link or a button, it sends the label of what you pressed. From your connection the server works out the country, region and city, and the kind of device, and keeps those. Anything typed into a form is never included.

To count visitors without recognising anyone, the server makes a visitor code. It mixes your IP address and browser type with a random value, and runs the result through a one-way hash. The random value is replaced every day and deleted after two days. So the code cannot be turned back into an IP address, and yesterday's code cannot be matched to today's. In this basic count the IP address itself is not stored.

Three more rules:

  • If your browser sends a Global Privacy Control or Do Not Track signal, we treat it as a refusal of everything extra: no banner, no visitor cookie, no stored IP address and no recording. Only the basic count above is kept.
  • Known bots are left out.
  • Events are deleted after 400 days.

What Accept all adds

The banner has two buttons. Either one stores your choice in a cookie for 13 months, so the banner does not ask again. Reject all adds nothing else to the basic count. If you choose Accept all, we also set a visitor cookie so we recognise a return visit, keep your IP address for 90 days, and record how you move through our pages for 30 days, with anything you type left out. If you later send us a message or ask for a pilot through a form on this site, the visitor cookie is attached to it, so we can see which pages you read before. You can change the choice at any time with Privacy choices at the bottom of every page.

What the delivery network adds

The site reaches you through Cloudflare, which delivers the pages and protects them. Cloudflare adds a small script of its own to each page, and your browser loads it from Cloudflare whatever you choose in the banner. It is there for aggregate traffic and performance measurement. Cloudflare states that this service does not collect or use visitors' personal data, and Cloudflare may set a security cookie to tell people from bots. It is not part of our counter.

What we gave up

The numbers are less precise than a commercial tracker's. A person who visits on three days counts three times in a weekly total. People in one office with identical browsers can merge into one visitor. Ad blockers may hide some visits. For deciding which pages need work, none of that matters.

Why bother

Because it is the same argument we make about AI. You can get most of the value from data without handing it to someone else, if you are willing to build a little yourself. The general idea is set out in what is data custody in AI and local-first AI explained, and the details of this site's practice are in the privacy notice.

Keep reading