How does analytics count visitors without cookies or stored IP addresses?

PostDeploy counts a visitor once per Project and local day. It hashes the IP address and user agent with that day's salt and the Project id, stores the hash, and stores neither the address nor the user agent. The script sets no cookie. The next day's salt makes the same person a new visitor.

Last updated 26 November 2026. By Paul Badarau.

A reader of a fictional recipe blog opens a post on the train in the morning and the same post on cafe Wi-Fi at lunch. Same phone, same browser, same local day, two networks.

The Analytics script sets no cookies and keeps only in-page memory. That memory holds the current page and a random page token, and it is gone when the tab closes, so it cannot join the morning pages to the lunch pages.

The server joins them when the network stays the same. For each request it builds a hash from the day's salt, the Project id, the IP address and the user agent. It stores the hash with the page path, the referrer host, the source, the campaign, the country, the device and the browser. It does not store the IP address or the user agent. The salt belongs to the Project's local day and changes the next day. Salts older than two UTC days are deleted, so a hash from a day whose salt is gone cannot be turned back into an address.

Pageviews that share a hash are one visitor for that day. A visit inside the day ends after 30 minutes without accepted activity, at the Project's local midnight, or when the time zone changes. A time zone change applies only to later visits. The next local day is a new visitor even on the same phone and the same network.

Counting from the address and the browser has two consequences. One person on two devices, or one phone that moves from mobile data to Wi-Fi, counts more than once that day. Two people on one office network with the same browser can count as one.

The hash includes the Project id, so the same browser is a different visitor in a second Project. Reports do not merge those days into one person across Projects. New Projects also exclude known bots, and they drop requests that send Do Not Track or Global Privacy Control, so those visits never enter the count.

The product page for this is Analytics.

Start your 14-day free trial