Privacy
What this site records when you read it.
- Written byDaniel Bae
- Contactdanielbae@ucla.edu
- ProjectsGitHub
The short version
Everything the site records stays on a server I run. The pages set no cookie, run no analytics script and load nothing from another origin: no font, script or picture from anywhere else, and no advertising. Readers have no accounts, so there is nothing to sign up for and nothing to sign in to. Page views are counted from the edge server’s access log, without a script or a cookie, and the count keeps no address.
Cookies
The blog sets no cookies. Its colors follow your device’s light or dark setting.
Every request
Cloudflare sits in front of the server and passes each request on to it. The edge server, which answers for this site, writes one line per request to its access log: the time, the address you asked for (including anything after a question mark, such as the words of a search), your IP address, the country Cloudflare places it in, and the headers your browser sent, which include its user-agent string, the page that linked here and the languages it prefers. Cookies and passwords in a request are never written down.
The log starts a new file each time the current one reaches 32 MB; the old files are deleted after 30 days, and no more than four are kept. A second copy of each line goes to the server’s container log, which keeps at most three files of 10 MB.
Page views
A separate program, the counter, reads that log and keeps a page view for each line that looks like a person opening a page: not a picture, a font or another file, not a redirect or an error, not a prefetch, and not a program that says it is one, such as a crawler, a link preview, a feed reader or an uptime check.
For each page view it keeps the time, the page’s path without anything after a question mark, the name of the site that linked to it (not the page), the country, a device type (phone, tablet or desktop) and a browser family (Chrome, Safari, Firefox and so on). It does not keep your IP address or your user-agent string. To tell visitors apart it keeps a hash of the date, your address and your user-agent string, made with a secret key that never leaves the server: the same browser counts as one visitor for one day and as a stranger the next, and the hash cannot be turned back into an address. These records have no set expiry.
Who sees it
Only I can open the private analytics page. Cloudflare sees traffic in transit as it passes requests to my server.
Questions
Write to danielbae@ucla.edu. The site, the edge server’s configuration and the counter are small programs, and this page describes what they do, not what they might.