Privacy
What data does Google Analytics collect? A table from Google's own documentation
What Google Analytics 4 collects by default, from cookies and page data to location and device, what it does not store, and what you can switch off.
The CrispStats team · · 8 min read
In short
By default, Google Analytics 4 collects a cookie-based identifier, the page address, title and referrer, screen resolution and language with every event, device and browser details, a location derived from the IP address, and a set of automatic events such as page views, scrolls, outbound clicks and file downloads. Google says it does not log or store IP addresses. More is added only if you turn it on or send it: Google signals for demographics, a User-ID, ecommerce data and custom events. Google’s policy forbids sending names, email addresses or other personally identifiable information.
On this page · 7 sections
Sections
- What Google Analytics 4 collects by default
- What Google Analytics collects only if you turn it on or send it
- What does Google Analytics say it does not store?
- What happens when a visitor declines cookies?
- A worked example: one page view
- How to collect less in Google Analytics
- What CrispStats collects, for comparison
A default GA4 install sends a cookie id, the full page URL and title, the referrer, screen and language, device and browser details and an IP-derived location with every event, plus a handful of automatic events. Each row below links the Google help page it comes from, read on 23 November 2026, so you can tell your visitors accurately what your site sends. Whether that collection is lawful in the EU is a separate question, covered in is Google Analytics GDPR compliant?
What Google Analytics 4 collects by default
Most of it arrives through first-party cookies and the request itself. Google summarises its collection in one sentence on its safeguarding your data page: first-party cookies, data about the device and browser, IP addresses, and activity on the site or app. In detail, for a website using the standard Google tag:
What Google Analytics collects only if you turn it on or send it
| Data | What switches it on | Source |
|---|---|---|
| Demographics and interests (age, gender, interests) | Google signals, for visitors signed in to Google with ads personalization on; kept for 2 months | Google signals, retention |
| Cross-device journeys | Google signals | Google signals |
| Your own user ID | Sending a User-ID after login | Safeguarding your data |
| Purchases, products and revenue | Sending ecommerce events from your code | Ecommerce guide |
| Custom events and parameters | Anything you send with gtag('event', ...) or Tag Manager | Automatic events |
| Imported data | Data Import, such as CRM or cost data you upload | Safeguarding your data |
| Advertising cookies | Linking Google Ads or turning on advertising features | Cookies |
What does Google Analytics say it does not store?
IP addresses. Google’s help pages say Google Analytics does not log or store IP addresses, and that IP masking is not necessary in GA4 for that reason. For visitors in the EU, Switzerland and the UK, Google says it collects data through servers in those regions, uses the IP address there only to derive location, and drops it before the data is forwarded and logged, per its EU-focused data page.
Notice what that does and does not mean. The IP address still reaches Google; it is used and discarded. And the location derived from it, down to city with coordinates, is stored unless you switch granular location data off.
What happens when a visitor declines cookies?
That depends on how consent mode is set up, according to Google’s consent mode page:
- Basic consent mode: the Google tag does not load until the visitor accepts. Nothing is sent before consent.
- Advanced consent mode: the tag loads before the banner is answered. If the visitor declines, no Analytics cookies are set or read, but the tag still sends cookieless pings. Google says these may include the user agent, screen resolution and IP address, which it does not store, and uses them to model the behaviour of visitors who declined.
Whether advanced mode is acceptable without consent is a legal question that depends on your country; see is Google Analytics GDPR compliant? for what regulators have published, and ask your own counsel.
A worked example: one page view
Say a visitor in Lyon, on an iPhone, taps a link in a newsletter to example.com/pricing?utm_source=newsletter. With default settings, the page view event Google receives carries roughly this:
| Field | Example value |
|---|---|
Client ID (from the _ga cookie) | A random number and a timestamp |
| Page location | https://example.com/pricing?utm_source=newsletter |
| Page title | Pricing |
| Referrer | The newsletter’s web address, if the mail client passed one |
| Language and screen | fr-fr, 393 x 852 |
| Derived location | France, Auvergne-Rhône-Alpes, Lyon |
| Derived device | Mobile, Apple iPhone, iOS and Safari versions |
| Source and medium | newsletter / (not set), read from the UTM parameter |
If the visitor scrolls to the bottom, a scroll event follows. If they click through to another site, a click event records the outbound URL. If they stay with the page in focus, user_engagement events record the time.
How to collect less in Google Analytics
- Turn off granular location and device data in the data collection settings, for every region or just some. Google warns that this reduces modelled conversions in linked Google Ads accounts.
- Leave Google signals off unless you need demographic reports.
- Check what your tags send. If Tag Manager fires the tag, review the variables it passes; Google Tag Manager vs Google Analytics explains which tool does what.
- Switch off enhanced measurement events you do not use.
- Set data retention to the shortest period that serves you; see GA4 data retention.
- Strip personal data from URLs before the tag reads them.
- Shorten the cookie expiry in the tag settings if two years is longer than you need.
What CrispStats collects, for comparison
We publish our own list in the data processing agreement and privacy policy. In the same format:
| Data | Google Analytics 4 (default) | CrispStats |
|---|---|---|
| Cookies or device storage | _ga and _ga_<id>, 2 years | None by default; persistent visitors is opt-in and stores a random id in localStorage |
| Visitor identifier | Client ID in a cookie | A visitor hash that rotates daily, computed on the server |
| IP address | Used for location, not stored (per Google) | Used in memory for location and the hash, then discarded |
| Raw user agent | Collected unless granular device data is off | Used in memory for browser, OS and device type, then discarded |
| Location | Country, region, city and coordinates | Country, region, city and the city’s rough coordinates |
| Page data | URL, title, referrer, language, screen resolution | Page address, referrer, screen width, language, time zone, UTM parameters |
| Automatic events | Page views, scrolls, outbound clicks, downloads, video, forms, site search | Page views, visible time and scroll depth; outbound clicks, downloads, 404s, web vitals and errors are optional modules |
| Demographics | With Google signals | Never |
| Advertising use | If linked to Google Ads | Never |
The difference is in identifiers more than in reports. We see much of the same page and source data, but nothing is stored on the device by default and there is no identifier that follows a person from one day, or one site, to the next. The trade-off is real: without a cookie, a visitor who returns tomorrow is counted again, and we do not offer demographics at all. How the counting works is in cookieless analytics explained.