GhostStat vs Google Analytics 4: an honest comparison
Google Analytics 4 is free and powerful, but it runs on cookies, needs consent in Europe and fills gaps with modelling. Here is where GhostStat is different, and where GA4 is still the better pick.

Google Analytics 4 is the default choice for most websites: it is free, it connects to Google Ads and it can answer almost any question you can phrase as a report. It also depends on cookies, needs a consent banner for European visitors and quietly holds back or models data when it cannot measure it. This comparison sets GhostStat next to Google Analytics 4 point by point, links every claim about GA4 to Google’s own documentation, and is clear about the cases where GA4 is still the right tool.
Last checked: 11 October 2026. Product details change; if you spot something out of date, tell us and we will correct it.
Google Analytics 4 vs GhostStat at a glance
| GhostStat | Google Analytics 4 | |
|---|---|---|
| Cookies | None, and no localStorage or sessionStorage | _ga and _ga_<container-id>, each kept for 2 years |
| Consent banner for analytics | Not needed for GhostStat’s own analytics | Expected in the EU/EEA and UK; use Consent Mode |
| IP addresses | Used in memory for a location lookup, never written to disk | Processed by Google |
| Where GhostStat stores data | Dronten, the Netherlands (EU) | Google’s infrastructure |
| Data you can see | What was measured, unmodelled | Thresholds can withhold rows; Consent Mode can model the gaps |
| Detail-report retention | Per plan, see pricing | 2 or 14 months for explorations and funnels (standard properties) |
| Heatmaps and session recordings | Included as plugins | Not part of GA4; needs a separate tool |
| Price | Free plan; paid plans on pricing | Free; Analytics 360 is a paid enterprise tier |
| Google Ads and BigQuery integration | No | Yes, native |
Cookies and consent: the biggest difference
Google Analytics 4 identifies browsers with first-party cookies. According to Google’s cookie usage page, _ga is “used to distinguish users” and, together with _ga_<container-id>, it is set for two years by default. In the EU, the EEA and the UK, setting non-essential cookies needs the visitor’s consent, which is why GA4 sites show a cookie banner and connect it to Consent Mode.
GhostStat sets no cookies at all and does not use localStorage, sessionStorage or fingerprinting. Visitors are counted with an identifier that is salted per site and rotates daily, and the IP address is only used in memory to look up country, region, city and network before it is dropped. It is never written to the database or to logs. GhostStat’s data is stored in Dronten, the Netherlands, inside the EU. Our privacy policy spells out exactly what is and is not collected. Because nothing is stored on the visitor’s device, sites that run GhostStat do not need a consent banner for GhostStat’s analytics. (If you run other tools that do set cookies, you still need consent for those.)
Missing data: thresholds and modelling in Google Analytics 4
A consent banner has a cost: visitors who decline are not measured the normal way. Google fills part of that gap with behavioural modelling, but only when a property qualifies. Google’s Consent Mode documentation says modelling needs at least 1,000 events per day with consent denied for at least 7 days, and at least 1,000 daily users with consent granted on at least 7 of the previous 28 days. Smaller sites do not reach those numbers, so their reports simply under-count.
Google Analytics 4 can also apply data thresholds, withholding rows from a report when the numbers are small enough that an individual might be identified, for example with demographics or low search-query counts. That protects privacy, but it means some rows disappear from your reports.
GhostStat measures every visit the same way, because there is nothing for a visitor to decline. The numbers you see are counted, not modelled.
Data retention and history
In Google Analytics 4, the retention setting controls how long user-level and event-level data stays available for explorations and funnel reports. For standard properties you can choose 2 months or 14 months; Analytics 360 properties can go up to 50 months. Google notes that this setting does not affect standard aggregated reports, which keep their history.
In GhostStat, raw events are kept for the retention window of your plan and rolled up into daily aggregates, so your long-term charts stay intact. The current window per plan is on the pricing page, which reads it live from our billing system.
Features: what each tool is built for
Google Analytics 4 is an event-based measurement platform with deep links into the Google marketing stack: Google Ads audiences and conversions, Search Console, BigQuery export and audience building. If your budget is spent on Google Ads, that integration is hard to replace.
GhostStat is built around what happens on your own site. Next to the core dashboard (pages, referrers, campaigns, countries, devices and real-time visitors) it ships a library of plugins, and every plugin is available on every plan, including Free:
- Heatmaps and session recordings — features GA4 does not include.
- Funnels, goals and form analytics to see where people drop out.
- A/B tests and UX experiments.
- Ecommerce, cohorts and retention reports.
- Visitor intelligence: intent, friction and attention scored per visit from behaviour, not from a cookie.
- Public stats pages and counters, so you can share your numbers openly.
On the Free plan each plugin has a monthly view allowance; paid plans remove it. The live allowance is listed on the pricing page.
Speed and script weight
GhostStat’s core tracker is a single small script, about 3 KB once compressed, that batches events and queues them offline. Plugins you switch on add their own code only to the sites that use them. A lighter script means less work for the browser on every page view, which helps Core Web Vitals.
The legal background in Europe
In early 2022, the Austrian and French data protection authorities ruled that specific uses of Google Analytics broke the GDPR because of data transfers to the United States, and the European Data Protection Supervisor reached a similar conclusion for an EU institution; this summary by Lewis Brisbois lists the decisions. In July 2023 the European Commission adopted the EU–US Data Privacy Framework, which once again allows transfers to certified US companies. Its predecessor, Privacy Shield, was struck down by the EU Court of Justice in 2020, so many organisations prefer analytics that do not depend on it. This is background, not legal advice: ask your own counsel about your situation.
When Google Analytics 4 is the better choice
Choose Google Analytics 4 if you run significant Google Ads campaigns and rely on its audiences and conversion imports, if your team needs raw event data in BigQuery, or if you need a free tool with very deep custom reporting and you already run a consent banner. GA4 is a capable product; its trade-offs are cookies, consent and the data you lose when visitors say no.
When GhostStat is the better choice
Choose GhostStat if you want complete numbers without a cookie banner, if you would rather not send visitor data into an advertising company’s systems, or if you want heatmaps, recordings, funnels and visitor intelligence in the same dashboard instead of three separate tools. You can also run both while you decide: add the GhostStat snippet next to GA4 and compare the counts for a month.
Comparing more options? Read the best Google Analytics alternatives, or see how GhostStat compares with Matomo and Plausible.
Sources
- Google: Google Analytics cookie usage on websites
- Google: Data retention
- Google: Data thresholds
- Google: Consent Mode and behavioural modelling
- European Commission: Adequacy decision for the EU–US Data Privacy Framework
- Lewis Brisbois: EU regulators and Google Analytics
Frequently asked questions
Is GhostStat a replacement for Google Analytics 4?
For measuring your own website, yes: page views, visitors, referrers, campaigns, goals, funnels and more, without cookies. If you depend on Google Ads audiences or BigQuery export, keep GA4 for that and use GhostStat for privacy-friendly site analytics. See all features.
Does Google Analytics 4 use cookies?
Yes. Google documents that GA4 sets _ga and _ga_<container-id>, each for two years by default. GhostStat sets no cookies and uses no local storage.
Do I need a cookie banner with GhostStat?
Not for GhostStat’s own analytics: it stores nothing on the visitor’s device and never stores IP addresses. Other tools on your site may still need consent. Details are in our privacy policy.
Where does GhostStat store its data?
In Dronten, the Netherlands, inside the EU. No IP address is ever written to disk, and visitor identifiers are salted per site and rotate daily.
Why are my Google Analytics 4 numbers lower than GhostStat’s?
Visitors who decline cookies are not measured in the normal way by GA4, and small sites often do not qualify for Consent Mode modelling. GA4 can also withhold rows through data thresholds. GhostStat counts every visit the same way.
Can I run GhostStat and Google Analytics 4 side by side?
Yes. Add the GhostStat snippet next to your GA4 tag and compare both for a few weeks. Start free; no card is needed for the Free plan.
Is Google Analytics 4 really free?
The standard version is free. Google also sells Analytics 360, a paid enterprise tier with higher limits and longer retention. GhostStat has a Free plan and paid plans listed on the pricing page.


