A return needs something to persist
A visitor identifier is a value retained between visits so that a service can recognise its presentation again. It can be a random string scoped to one site. It need not contain an account number, email address or device fingerprint.
Recognition depends on storage. If a browser retains the value and presents it again, the service can connect those observations. If the value is lost, the next visit may look new even when the same person returns on the same device.
This is continuity of an identifier. Establishing a person’s identity requires different evidence.
What the browser can retain
| Location | How it normally persists | Reasons the value can disappear |
|---|---|---|
| Cookie | According to its attributes and browser policy | Expiry, data clearing, privacy restrictions or a session ending |
localStorage |
Site data retained between page loads | Data clearing, browser policy or storage removal |
| IndexedDB | Structured site data retained within storage limits | Data clearing, eviction, policy or database access failures |
| Page memory | For the lifetime of the current page environment | Reload, navigation or the page being discarded |
Cookies can be sent with matching HTTP requests. localStorage and IndexedDB are accessed by script, which must explicitly pass a stored identifier when it is needed. Using several locations can tolerate a partial storage failure, but those locations can all be removed together when someone clears the site’s data.
The Storage Standard describes storage quotas and eviction. Persistence is subject to browser controls; an application should not treat an API without an expiry field as a promise of permanent retention.
Privacy controls change continuity
Private browsing generally separates its storage from ordinary browsing and removes that private state when the private session ends. A separate browser, profile or device also has a separate store unless something explicitly copies it.
Third-party storage can be blocked or partitioned by the site embedding it. A storage partition separates state that would otherwise be shared across contexts. A frame embedded on two unrelated sites may consequently see different storage.
WebKit documents partitioning, private browsing and tracking prevention, including conditions that limit script-accessible storage. Exact retention depends on the browser and context, so a single lifetime cannot describe every visitor.
What a signed identifier adds
A service can issue a random value together with a cryptographic authenticator. On a later visit, the server verifies that the value was issued under an accepted key, for the intended site or customer, and within its validity rules.
A successful check establishes that relationship to the issuer. It does not prove that the original browser presented the value. Copying a profile can copy its storage, and a copied valid identifier can still pass a cryptographic check.
A failed check also needs an explanation. Corruption, expiry, a retired key and an unauthorised modification are different causes. A newly issued replacement does not, by itself, establish what caused the previous value to fail.
The issuance time can describe how old the identifier is. It does not show that someone visited continuously during that period, nor that every visit came from one person.
Returning does not mean trusted
A person can return with no identifier after clearing data. An automated profile can retain an identifier for months. A shared browser can present the same value for several people, while one person can use several browsers with unrelated values.
Repeat rates can still help describe a group over a defined window. However, comparisons need matching storage conditions, visit definitions and observation coverage. A group with many new identifiers is not automatically an account farm.
Retention should also respect an intentional reset. When someone clears site data or withdraws permission for identifier storage, a design should not silently reconstruct the value from another source. A random identifier can remain linkable data even though it contains no directly readable personal details.
Continue with privacy boundaries for the distinction between collected observations and identity, and tokens for the different job of packaging observations about one visit.