Google Analytics 4 (GA4) is Google’s measuring tool for websites and apps: it records what visitors do as events, when its tag runs in their browser or app. It is the current version of Google Analytics. It shows where people came from, which pages they landed on and what they did. It counts only visits where its tag runs, so it never sees most bots and misses some people.
What is GA4? #
GA4 replaced Universal Analytics. Google says standard Universal Analytics properties stopped processing data on 1 July 2023, and 360 properties had a one-time extension to 1 July 2024. Any older setup no longer collects anything. The big change is the model: GA4 uses event-based data instead of session-based data. A page view, a scroll, a click and a purchase are all events. A session is worked out from the events afterwards.
Why does it matter for search? #
GA4 is where most sites see what search visitors do after they arrive. Google Search Console shows the click on Google. GA4 shows the landing page, how long people stay and whether they buy or enquire. Together they answer “which searches bring customers?”. They count different things, so the totals never match: see Search Console vs Analytics.
Why does it matter for AI answers? #
GA4’s default channel group has an AI Assistant channel for people arriving from sources like ChatGPT, Gemini, Deepseek, Copilot or Grok. Google says it excludes AI Overviews and AI Mode, which count as Organic Search. So GA4 can show some ChatGPT referral traffic. It cannot show the AI crawlers that read your pages, because they do not run its tag. Read how to track ChatGPT traffic in Google Analytics 4.
How does it work? #
- A tag on every page. The Google tag (an ID that starts with
G-) loads in the browser and sends events to Google. - Events and parameters. Each event has a name and details, such as a value or a currency.
- Key events. A key event is an event that measures an action particularly important to your business. You mark the ones that matter.
- Channels. Each session is sorted into a channel from its source and medium, such as Organic Search, Referral or Direct. Campaign links use UTM parameters.
What do the main numbers mean? #
Google defines an engaged session as one that lasts longer than 10 seconds, has a key event, or has 2 or more page or screen views.
| Metric | What GA4 counts |
|---|---|
| Engaged sessions | Sessions that meet any one of the three rules above |
| Engagement rate | The percentage of sessions that were engaged |
| Bounce rate | The percentage of sessions that were not engaged |
| Key events | The events you marked as important, such as a purchase |
In GA4, bounce rate is simply the opposite of engagement rate. A one-page visit that lasts over 10 seconds is engaged, not a bounce.
Why are GA4 numbers lower than the server’s? #
GA4 counts only what its tag sees. Four things cut the count:
- Bots are removed. Google says traffic from known bots and spiders is automatically excluded, using its own research and the IAB’s International Spiders and Bots List. You cannot turn this off or see how much was removed.
- Consent. With Consent Mode, when a visitor says no, tags send cookieless pings instead of storing cookies, and Google fills gaps with modelling. In basic mode, tags are blocked until consent is given.
- Blocked scripts. People who block the tag are not counted at all.
- Thresholds. Google may withhold data in reports with demographics or small counts, so no one can be identified.
Read why analytics numbers are low and bot traffic in Google Analytics.
A worked example #
A law firm wants to count enquiry form sends. Google’s list of recommended events includes generate_lead, which “measures when a lead has been generated (for example, through a form)”. When the form is sent, the page runs:
gtag("event", "generate_lead", {
currency: "GBP",
value: 30.03,
lead_source: "Contact form"
});
Google’s own example uses "USD" and “Trade show”. A UK firm would put "GBP" and its own value and lead source. Currency is needed when you set a value. The firm then marks generate_lead as a key event, and its reports can show which pages and sources bring enquiries, not only visits. That is conversion tracking.
How long does GA4 keep data? #
For standard properties, Google offers 2 months or 14 months of event data retention. 360 properties can choose 26, 38 or 50 months. The setting applies only to explorations and funnel reports, not to standard reports. To keep raw events longer, the BigQuery export sends them once a day; standard properties have a daily limit of 1 million events. See data retention.
What are the common mistakes? #
- Inventing an event name when one on Google’s recommended list already fits, so the same action ends up counted under two names.
- Leaving data retention on 2 months, which limits how far back explorations can look.
- Treating the streaming BigQuery export as complete. Google says it may have gaps.
- Comparing GA4 visits with server log hits and expecting the same figure. Read server logs.
- Reading AI Overview clicks as AI Assistant traffic. Google puts them in Organic Search.
- Setting cookies before the visitor has chosen. UK cookie rules are in PECR; see Consent Mode v2 for UK websites.
How to check it #
- Find the tag. View your page’s source and look for an ID that starts with
G-. The Tracking Checker lists every tracker and pixel a page loads. The Cookie Checker shows what a page sets before consent. - Watch a visit arrive. In GA4, open Reports, then Realtime, and visit your own site. Check your cookie banner before and after you accept.
- Check key events and channels. Make sure the events that matter are marked as key events. In Traffic acquisition, look for the AI Assistant, Referral and Direct rows. Learn the words: attribution, referrer and KPI.
- Check data retention. In Admin, in the Property column, open Data Settings, then Data Retention. Changing it needs the Editor role.
- Check the pages load cleanly. The HTTP Header Checker shows status and cache headers, the Redirect Checker shows every hop a tagged link takes, and the Broken Link Checker finds dead links that end visits early. The Meta Tag Checker shows the title people see in reports.
- See the machines GA4 cannot. The AI Bot Checker shows which AI crawlers your robots.txt lets in, and Verify an AI Bot checks whether an address really belongs to GPTBot or another bot. Read bot traffic in analytics and user agent.
- Check readiness and compare. The AI Readiness Checker scores a page for AI answers, and Compare Two Websites sets it beside a rival.
- Count what GA4 misses. In URSY Pro, opening in stages: Cookie-free analytics counts visits without cookies, Cached-page visitors finds people on edge-cached pages, AI referrals lists people sent by AI assistants, AI bot analytics shows which AI bots read which pages, and Measurement integrity checks that every paid order reached your tracking. Events and goals and Journeys follow people from landing page to goal.
Comparing tools? Read URSY.com vs Google Analytics 4: people in the browser, machines on the server.
What URSY.com counts #
We record three layers and join them up: a cookie-free counter for people, the edge and server logs for every machine, including pages the cache answers, and the API and MCP log for agents. A page view is counted only when our counter runs in a browser. A visitor is a daily code that changes at midnight, and nothing is stored on the device. Every bot is sorted by its name and checked against the company’s published IP list. Read our methodology and cookieless analytics.
Questions #
Is GA4 free? #
Standard properties have no fee. The BigQuery export can be used in the free BigQuery sandbox, with charges beyond its limits.
Does GA4 count bots? #
No, by design. Google removes known bots and spiders automatically, and bots that do not run scripts never reach it.
Why do GA4 and Search Console disagree? #
Search Console counts clicks on Google. GA4 counts sessions where its tag ran. Consent, blocked scripts and bot filtering all widen the gap.
Where does AI traffic show in GA4? #
People from ChatGPT, Gemini, Copilot and similar tools show in the AI Assistant channel when the referrer is known. AI Overviews and AI Mode show as Organic Search.
Can GA4 keep data for longer than 14 months? #
Not in explorations on a standard property. To keep raw events, use the BigQuery export. Its daily export sends all the raw, unsampled events from the previous day, once a day.
Can I still see Universal Analytics data? #
Standard Universal Analytics properties stopped processing data on 1 July 2023, so they collect nothing new.
Related words #
- Engagement rate
- Search Console vs Analytics
- Consent Mode v2
- Session
- Pageview
- Unique visitor
- Server-side tracking
- First-party cookies
- Microsoft Clarity
Sources #
- Google Analytics Help: Introducing the next generation of Analytics, Google Analytics 4, checked 24 November 2026
- Google Analytics developer docs: Recommended events, checked 24 November 2026
- Google Analytics Help: Data retention, checked 24 November 2026
- Google Analytics Help: Default channel group, checked 24 November 2026
- Google Analytics Help: Known bot-traffic exclusion, checked 24 November 2026
- Google Analytics Help: Consent mode on websites and mobile apps, checked 24 November 2026
- Google Analytics Help: About data thresholds, checked 24 November 2026
- Google Analytics Help: Engagement rate and bounce rate, checked 24 November 2026
- Google Analytics Help: About key events, checked 24 November 2026
- Google Analytics Help: BigQuery Export, checked 24 November 2026
Updated 24 November 2026 by URSY.com.
Cite this page: Google Analytics 4 (GA4). URSY. Updated 26 November 2026. https://ursy.com/wiki/google-analytics-4/ · Section links
Tools for this
- LiveGoogle Snippet Previewtitle and description length in pixels (in browser)Run the check →
- LiveCan Google index this page? (noindex, robots, canonical, status)Run the check →
- LiveWhat is this site built with? (CMS, shop, analytics)Run the check →
- LiveProduct Feed CheckerGoogle, Microsoft and ChatGPT shopping feeds checkedRun the check →
- ProAI bot analyticsWhich AI bots read which pages, checked real or fakeIn URSY Pro →
- ProFake bot detectorBots pretending to be Google or GPTBotIn URSY Pro →
- ProMCP + agent call analyticsWhat AI agents asked your site, step by stepIn URSY Pro →