Under 1 KB script and single-page apps
Analytics shouldn’t cost your visitors load time.
The standard script is about 476 bytes to download (845 bytes uncompressed), and tracks React, Next.js, Vue and other single-page apps automatically.
Why quietstats: you get this without cookies, a consent banner or storing IP addresses, in every plan including Free.
In every plan, including Free. Privacy and performance.
📘 Step-by-step guide, with screenshots and diagrams →
Start free, no cardSee live demo
- No cookies or consent banner
- No IP addresses stored
- Groups under 5 visitors hidden
- 845-byte script
- Free plan, no card


What it is
One async script tag. It counts a pageview on load and on history changes, and never blocks your page.
Why it matters
Analytics shouldn’t cost your visitors load time. Smaller scripts also mean less to audit.
How it works
- Paste the tag before </head>.
- Route changes through history.pushState and back/forward are counted.
- Sends with sendBeacon so it never holds up navigation.
Privacy: what is and isn’t collected
Collected
- See Zero cookies, privacy built in
Never collected
- Cookies, localStorage or anything else stored on the visitor’s device
- IP addresses or user agents (used in memory, then discarded)
- Anything that links a visitor across days (the visitor ID resets daily)
Rows and limits
- script.js: about 476 bytes to download (845 bytes uncompressed); 2,490 bytes for the optional events script
“Rows” are database rows written, which is what our hosting is billed on. Reads are not rows written. Methodology →
How others do it
How the tools on our compare page handle this, from their own websites and help pages, checked on 21 October 2026. “Not stated” means we could not find it on the pages we checked, not that it doesn’t exist. Plans and prices change, so follow the source links. GA4, Umami, GoatCounter, Matomo all offer this too.
Measured script sizes (21 October 2026, uncompressed): quietstats 845 bytes · Plausible 2,841 bytes · Fathom 6,981 bytes · Umami 4,810 bytes · Simple Analytics (light) 3,565 bytes · Simple Analytics (full) 7,515 bytes · GoatCounter 9,213 bytes · Matomo (self-hosted core) 68,294 bytes · Matomo (Matomo Cloud demo) 225,180 bytes · Google Analytics 4 (gtag.js, placeholder ID) 443,306 bytes. See the chart and method →
| Tool | Has it? | How | Source |
|---|---|---|---|
| quietstats | Yes | The standard script is about 476 bytes to download (845 bytes uncompressed), and tracks React, Next.js, Vue and other single-page apps automatically.Every plan, including Free | This page |
| Google Analytics 4 | Yes | Page views also fire when the browser history changes | support.google.com (opens in a new tab) |
| Plausible | Not stated | Not stated on the pages we checked | plausible.io (opens in a new tab) |
| Fathom | Not stated | Not stated on the pages we checked | usefathom.com (opens in a new tab) |
| Simple Analytics | Not stated | Not stated on the pages we checked | simpleanalytics.com (opens in a new tab) |
| Umami | Yes | Tracks SPA navigations automatically | umami.is (opens in a new tab) |
| GoatCounter | Yes | A guide for single-page apps | goatcounter.com (opens in a new tab) |
| Matomo | Yes | Single-page websites and web apps | matomo.org (opens in a new tab) |
About these tools: who makes them, pricing, hosting and cookies
Who makes each tool, its pricing, hosting and cookies, with a source for every line, is on the background on each tool. Checked on 21 October 2026 from each provider’s official pages. Websites: Google Analytics 4 (opens in a new tab) · Plausible (opens in a new tab) · Fathom (opens in a new tab) · Simple Analytics (opens in a new tab) · Umami (opens in a new tab) · GoatCounter (opens in a new tab) · Matomo (opens in a new tab). Trademarks belong to their owners; quietstats is not affiliated with any of them.
Questions
How does it compare with others?
See the measured script size chart on the compare page.
Related features
Privacy and performanceCustom events and conversion rates
Goals, events and conversionsCarbon estimate
Reports, sharing and alertsSingle-page app add-on: #/ routes, back/forward restores and prerendering
Privacy and performanceCopy AI prompt to install
Privacy and performanceWorker-built script bundles
Privacy and performanceTime on page
Behaviour and contentLanding page scorecards: an A to F grade for every landing page
Behaviour and content
All privacy and performance features → · All features → · Docs: Under 1 KB script and single-page apps guide → · Compare features with other tools →
Guides on this topic
Set it up
<script data-host="https://quietstats.co.uk" data-dnt="true" src="https://quietstats.co.uk/js/script.js" id="YOUR_SITE_ID" async defer></script>Replace YOUR_SITE_ID with the ID on your site’s settings page. Install guides →
Try it on your own site
Free during launch: one site and 5,000 pageviews a month, no card needed. After launch, paid plans start at £5 a month.