Google Analytics 4: the guide
What GA4 measures, what it requires in terms of cookies and consent, and what another tool can add.
· By the Watchvisitor team
What is Google Analytics 4?
Google Analytics 4, or GA4, is the current version of Google’s audience measurement tool. It replaces Universal Analytics. It measures visitors, page views, traffic sources and configurable events such as a purchase or a click. The standard version is free.
What GA4 can measure
- Audience: number of visitors, sessions and page views.
- Sources: where your visitors come from.
- Events: clicks, scrolls, purchases, forms, depending on your setup.
- Conversions: the events you choose to mark as goals.
It answers “how many and from where” well. It answers “what do visitors do on the page” less directly.
Cookies and consent
According to Google’s documentation, the GA4 tag sets two first-party cookies: _ga and _ga_XXXXXXXXXX, each lasting two years by default. In the European Union, these cookies usually require the visitor’s consent before they are set. Without consent, measurement is incomplete, which creates a gap between real visits and the ones GA4 sees.
For a standard property, event data retention can be set to two or fourteen months. Always check Google’s official documentation for current settings. This section is information, not legal advice.
Sources: Google: Google Analytics cookie usage on websites, Google: data retention
Limits to know about
- Setting it up and reading it takes practice.
- Measurement depends on consent, so it is incomplete in Europe.
- A tool built for audience figures rather than for a visual reading of pages, such as a heatmap or a replay.
Pairing GA4 with a behaviour tool
GA4 gives you audience figures. A behaviour tool shows what happens on the page: click and scroll maps, session replays, funnels, frustration signals. The two are not mutually exclusive: you can keep GA4 for audience and add a tool dedicated to behaviour.
Watchvisitor measures without cookies and can send conversions to Meta and Google Ads from your server, in addition to browser pixels.
GA4 FAQ
Is GA4 free?
The standard version is free. Google also offers a paid version, Google Analytics 360, for advanced needs.
Does GA4 use cookies?
Yes: _ga and _ga_XXXXXXXXXX, lasting two years by default according to Google. In the European Union, they usually require the visitor’s consent.
Does GA4 do heatmaps?
GA4 is built for audience figures and events. To see where visitors click and how far down they go, it is usually paired with a dedicated behaviour tool.
What is a cookieless alternative to Google Analytics?
Cookieless measurement tools exist, Watchvisitor among them, for audience and behaviour. The comparison page goes through the differences line by line.
Go further
Go further
Three pages related to this guide.