Install quietstats on Ghost
Add the one-line, cookie-free quietstats script to Ghost using Ghost Admin, Settings → Advanced → Code injection, Site header. It takes about two minutes.
Your snippet
It looks like this; copy yours, with your own site ID, from the Manage page in quietstats.
<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>845 bytes, no cookies, nothing stored on the visitor’s device.
Steps
- Copy your quietstats snippet from your site’s Manage page in quietstats.
- In Ghost Admin, go to Settings → Advanced → Code injection.
- Paste the snippet into Site header. Ghost outputs it in the <head> of every page.
- Save, then visit your site and check the Live view in quietstats.
Good to know on Ghost
- Site-wide code injection covers the home page, posts, pages, tag and author archives.
- Ghost’s member sign-up and newsletter pages are Ghost’s own; only pages on your site domain that include the header are counted.
Source: Ghost: adding code injection, checked 21 November 2026. Menus can move; the help page has the current names.
Check it’s working
- Visit your site in a normal browser window (not one with Do Not Track or Global Privacy Control switched on: quietstats respects them and sends nothing).
- Open the Live view in quietstats: your visit appears within a few seconds.
- Nothing after a minute? See site checks, which test that the snippet is on your page.
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.