Start free

Cookie-free analytics, explained

By Lee Johnson ·

Most analytics tools recognise a returning browser by storing an ID on it, usually in a cookie. Cookie-free analytics counts without storing anything on the visitor’s device. Here is how quietstats does it, step by step, and what that costs you in detail.

How a visitor is counted without a cookie

Each pageview gets a daily visitor ID: the first 16 hex characters of a SHA-256 hash of a random salt, the site, the IP address and the user agent. The salt is made fresh each day (UTC) and deleted the next day.

How a daily visitor ID is made: IP address, user agent, site and today’s salt go into SHA-256; only the first 16 hex characters are stored, and the IP and user agent are discarded.IP addressUser agentSite IDToday’s random saltSHA-256Stored: daily IDfirst 16 hex charactersDiscardedIP, user agent; salt next day
How the daily visitor ID is made. Nothing is stored on the visitor’s device.

The IP address and user agent are used in memory for that sum and never stored. Because the salt is deleted, IDs from different days can’t be linked, even by us.

What you get

  • Visitors, visits, pageviews, bounce rate and visit duration for each day.
  • Sources, channels, UTM campaigns, pages, countries and devices.
  • Goals, events and funnels, with the optional events script.
  • A script of 845 bytes, and no cookie banner needed for the analytics itself in most UK cases. See compliance for the conditions.

What you give up

  • Cross-day returning visitors. Someone who comes back on three days counts three times over the range.
  • Cross-device identity. A phone and a laptop are two visitors.
  • User-level journeys. There is no profile of a person to follow over weeks.

For most marketing and content questions (which pages, which sources, did the campaign work) these totals answer the question. For product analytics on logged-in users, a different kind of tool fits better.

What you still need to do in the UK

Cookie-free is not the same as “no rules”. Describe your analytics in your privacy notice and give people a simple way to object. The GDPR and cookie-free analytics page sets out what quietstats does and what remains yours to do. It is not legal advice.

More detail: how quietstats works · methodology · website analytics without cookies.

Related pages

Try quietstats on your own site

Free for one site and 5,000 pageviews a month, no card needed. No cookies and nothing stored on your visitors’ devices.

Start freeSee the live demo

Explore quietstats

See your traffic (119)

Live visitors and live eventsTrend charts, headline cards and any date rangeCompare any two date rangesWorld map, countries and regionsDevices, browsers, operating systems and screens

Sources and campaigns (63)

Sources and channelsAI search referralsUTM campaignsSearch keywords from Google Search ConsoleShort links

Behaviour and content (80)

Top pagesPage transitionsScroll depth and engaged timeClick mapVisitor journeys

Goals, events and conversions (83)

Goals and funnelsCustom events and conversion ratesRevenue cards and revenue by sourceEngagement goalsA/B tests with your own tags and a plain-English confidence note

Reports, sharing and alerts (44)

Alerts inbox and rulesReport snapshotsPassword-protected snapshotsOptional public stats pageAnonymous benchmarks against similar sites

Data in and out (42)

CSV and Excel downloadsStats APIImport from Plausible or GA4API playgroundTSV and XML export for every report

Privacy and performance (17)

Zero cookies, privacy built inUnder 1 KB script and single-page appsPages never countedPrivacy proof page and badge for your siteSigned-in sessions

Why quietstats

Why quietstatsPricingLive demoStart free

Compare

quietstats comparedFeature comparisonvs Google Analyticsvs Plausiblevs Fathom Analyticsvs Simple Analyticsvs Umamivs Matomovs Cloudflare Web Analyticsvs GoatCountervs Piwik PROvs PostHogvs Microsoft Clarityvs Pirsch Analyticsvs MixpanelGoogle Analytics alternatives

Learn

Website analytics guidesMetrics handbookAnalytics glossaryPlaybooksGDPR and cookie-free analyticsInstall on SquarespaceInstall on WixInstall on GhostInstall on Google Tag ManagerBlog

Playbooks and tools

Script size calculatorCookie banner checkerPlaybook: Local businessPlaybook: Online shopPlaybook: Blog or publisherPlaybook: SaaS or appPlaybook: Charity or community groupPlaybook: Agency with clientsUTM link checkerConversion rate calculatorCookie banner traffic-loss calculator