Our site is a file converter that runs in the browser, and its main promise is that it keeps nothing about you. So it was awkward to find, while measuring trackers on 31 other converters, that our own page set two Google Analytics cookies (_ga and _ga_<id>) on the first visit, before anyone agreed to anything.
The fix was one line of Google's Consent Mode. This post shows what the browser actually sends after that line, because the documentation describes it in general terms and I wanted numbers.
The change
The standard gtag snippet, with a consent default added before config:
window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('consent', 'default', { analytics_storage: 'denied', ad_storage: 'denied', ad_user_data: 'denied', ad_personalization: 'denied', }); gtag('js', new Date()); gtag('config', 'G-XXXXXXX'); There is no banner and no update call, so the state stays denied for every visitor.
First, a measuring mistake
My first check said Google Analytics wasn't loading at all. It was my network: a DNS ad blocker answers :: for googletagmanager.com and google-analytics.com, so from my machine every tracker looked dead and competitor sites looked spotless. I only got real numbers after sending a headless Chrome through an SSH SOCKS tunnel to a server (ssh -D 1080 plus Playwright's proxy: { server: 'socks5://127.0.0.1:1080' }; Chrome resolves the names on the proxy side). If you check tracking from a machine with Pi-hole, NextDNS or a uBlock-style blocker, measure from somewhere else.
What the browser sends now
The test was a fresh browser context: the home page, then two clicks on internal links (client-side navigation in Next.js), then full page loads.
-
gtag.jsstill loads fromwww.googletagmanager.com. - One
POSTtoregion1.google-analytics.com/g/collectper page view, withen=page_viewand these consent parameters:-
gcs=G100: analytics and ad storage both denied -
npa=1: no ad personalization -
gcd=…: a second consent-state string
-
- Cookies: 0.
context.cookies()comes back empty, and nothing is written to localStorage either. - The client ID (
cid) is still sent, but it is a random value held only in memory. It stays the same across client-side navigations in one tab (home → image compressor → merge PDF all shared onecid). A reload or a new tab gives a new one.
Before the change, the same test showed the _ga cookie holding a client ID that would have survived for two years.
What you give up
Without the cookie, Analytics can't tell a returning visitor from a new one. Every full page load is a new "user". Single-page navigation still groups into one session, so a multi-page app keeps some session shape. A site of plain links mostly won't.
On the Google side, Google says these cookieless pings feed its behavioural modelling once a property has enough traffic. I can't show you that part yet: the property's reports aren't something this post's measurements can see, and our traffic is small. The browser side, which is the part a visitor experiences, is above.
For a privacy-first tool site that's a fair trade. We wanted aggregate page counts, not to recognize anyone. If you need returning-visitor numbers, you need a consent banner and an update call, and then the cookie comes back for the people who say yes.
Our numbers, before and after
| Before | After | |
|---|---|---|
| Third-party sites contacted | 2 (Google Tag Manager, Google Analytics) | 2 (same) |
| Cookies set before any click | 2 (_ga, _ga_<id>) | 0 |
| Persistent visitor ID | yes, 2-year cookie | no, per tab, in memory |
The wider study, with 31 converters and PDF tools (one set 50 ad cookies before the consent dialog was even answered), is here: Online Converters and Trackers: We Tested 31 Sites. Our privacy policy now describes the setup above.
Disclosure: I run NativeConvert, the site measured here. Written with an AI assistant from our own measurements (headless Chrome 3 Dec 2026, through a UK server).

