Install quietstats on Google Tag Manager
Add the one-line, cookie-free quietstats script to Google Tag Manager using a Custom HTML tag fired on All Pages. 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 Tag Manager, click Tags → New → Tag Configuration → Custom HTML.
- Paste the snippet. Keep the
<script>tag and its data-host, data-dnt and id attributes as they are. - Under Triggering choose All Pages, then save.
- Click Preview to test, then Submit and publish the container.
- Visit your site and check the Live view in quietstats.
Good to know on Google Tag Manager
- If Tag Manager only fires after consent on your site, quietstats will be held back by your banner too. It sets no cookies, so you can choose to fire it without consent; that choice is yours.
- Ad blockers that block Tag Manager also block anything loaded through it. Adding the snippet directly to your pages avoids that.
- If a script attribute goes missing, use
data-site="YOUR_SITE_ID"instead ofid; the script accepts either.
Source: Google Tag Manager Help: Custom HTML tag, 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.