Preferences

Privacy is important to us, so you have the option of disabling certain types of storage that may not be necessary for the basic functioning of the website. Blocking categories may impact your experience on the website. More information (Cookie Policy)

Google Analytics 4 (GA4): How to Measure Traffic and Conversions in 2027

Google Analytics 4 (GA4) is Google's free analytics tool, based on events. How it works, its key reports and how to use it for SEO and AI traffic.

Published on
17/10/2026
Updated on
17/10/2026
Reading time
11 min
Sorank customerSorank customerThomas Girauc, Sorank customerCelio Fabiano, Sorank customerSorank customerXavier Breull, Sorank customer
+ 9'000 Subscribers
Google Analytics 4 (GA4): How to Measure Traffic and Conversions in 2027
Notification: your site reached 20K clicks from Google Search in 28 days

Tools

On this page

Summary

Google Analytics 4 (GA4) is the current version of Google's free web and app analytics tool. It records every interaction as an event, measures where visitors come from, what they do and which actions lead to conversions, and it replaced Universal Analytics in 2023.

Want to go further? Ask

Google Analytics 4 (GA4) is Google's free analytics platform for measuring how people find and use a website or a mobile app, built on a model where every interaction is recorded as an event. It shows how many users visit, where they come from (search, ads, social networks, email, AI assistants), which pages they view, how engaged they are and which actions, called key events, lead to business results such as sign-ups or purchases.

GA4 replaced Universal Analytics, which stopped processing data for standard properties on July 1, 2023. The change was more than a new interface: GA4 measures differently, so some figures are not directly comparable with the old tool. Understanding its logic is the first step to reading it correctly.

What is Google Analytics 4?

GA4 is organized in accounts and properties. A property collects data from one or several data streams: a website, an iOS app, an Android app. A tracking tag (the Google tag, installed directly or through Google Tag Manager) sends events to the property each time a visitor does something: views a page, scrolls, clicks a link, watches a video, submits a form, buys a product.

Some events are collected automatically, others through enhanced measurement (scrolls, outbound clicks, site search, file downloads), and you can create your own. Events you mark as important become key events, the GA4 name for what used to be called conversions.

How does GA4 differ from Universal Analytics?

Universal Analytics was built around sessions and page views. GA4 is built around users and events, which makes it possible to measure websites and apps in the same property. Bounce rate, central in the old tool, has been redefined: in GA4, an engaged session lasts more than 10 seconds, includes a key event or includes at least two page views, and the bounce rate is simply the share of sessions that are not engaged.

GA4 also relies more on modeling. With consent mode, it can estimate part of the behavior of users who refuse cookies. Reports may apply thresholds to protect privacy, and standard properties keep detailed event data for two or fourteen months, depending on the setting. For longer history and custom analysis, GA4 offers a free export to BigQuery.

What are the main GA4 reports and metrics?

  • Acquisition: where users and sessions come from, by channel, source, medium and campaign.
  • Engagement: pages and screens viewed, events, engagement time, engagement rate.
  • Monetization: e-commerce purchases, revenue, items viewed and added to cart.
  • Retention: new versus returning users and how long they keep coming back.
  • Explorations: custom analyses such as funnels, paths, segments and cohorts.

The default channel group assigns each visit to a channel (organic search, paid search, direct, referral, organic social, email and others) using its source and medium. It is the starting point for reading website traffic by source.

What “Users” means in Google Analytics 4

In GA4 reports, the “Users” column is the Active users metric: unique users who engaged with your site or app during the date range. GA4 also offers Total users, New users and Returning users, and each one counts something different. Checking which metric a report shows settles most “why don't my numbers match” questions.

The four user metrics

MetricWhat it countsUse it for
Active users (shown as “Users”)Unique users with an engaged session, or for whom GA4 recorded a first visit or engagement timeThe default audience size in reports
Total usersUnique users who triggered any eventFull reach, including people who never engaged
New usersUnique users who logged first_visit (websites) or first_open (apps)Acquisition: how many people discover you
Returning usersUsers who started at least one previous session, engaged or notLoyalty and retention

Total users is always equal to or higher than Active users, since it also counts people who never engaged. A visitor can also be new and returning in the same period: someone who discovers your site on Monday and comes back on Thursday counts in both, so New users plus Returning users can exceed the total. Our page on new users covers that metric in detail. The definitions above follow Google's help page on user metrics.

How GA4 recognizes a user

On a website, GA4 identifies a user through the client ID stored in the _ga cookie. That ID belongs to one browser on one device. The same person on a phone and a laptop counts as two users, and a visitor who clears cookies comes back as a new one. If your visitors sign in, send your own User-ID so GA4 can merge their devices.

The Reporting identity setting (Admin, then Data display) decides which identifiers GA4 uses: Blended (User-ID, then device ID, then modeling for visitors who refuse cookies), Observed (User-ID, then device ID) or Device-based (device ID only). Note which option you use before you compare user counts with another tool or another property.

Adding users to a GA4 property

“Users” also means the people who can open your property. To give a colleague or an agency access, go to Admin, open Access management at the account or property level, click +, choose Add users, enter their Google Account email, select a role and click Add. Only an Administrator at that level can do it. Give Viewer access to people who only read reports, and keep Administrator for the few who change settings.

How to set up GA4 correctly

Create a property and a web data stream, then install the Google tag on every page, ideally through Google Tag Manager. Check that enhanced measurement is active, define your key events (lead form, demo request, purchase), and add e-commerce events if you sell online. Set data retention to fourteen months, exclude internal traffic and declare any domains that should not appear as referrals.

Then connect the tools around it. Linking GA4 with Google Search Console adds reports on organic queries and landing pages, and linking it with Google Ads imports ad costs and conversions. Use UTM parameters on every campaign link you control, so that email, social and partner traffic is attributed correctly.

How to set up Google Analytics step by step

To set up Google Analytics 4, create an account, add a property, create a web data stream for your site, then install the Google tag on every page. Most steps take a few minutes, but a few choices, such as the time zone, shape every report that follows.

  1. Create an account. Sign in at analytics.google.com and click Start Measuring. In Admin, click Create, then select Account. Name it after your company and review the data-sharing settings.
  2. Create a property. Enter a property name, then select the reporting time zone and the currency. Next, choose your industry and business size, and how you plan to use Google Analytics.
  3. Add a web data stream. Under Data collection and modification, open Data streams, click Add stream, then Web. Enter your website address and a stream name, keep enhanced measurement on, and click Create stream.
  4. Install the Google tag. Open Stream Details and copy the measurement ID, which starts with G-. Add the tag to every page, ideally through Google Tag Manager, so you can change it without editing your templates.
  5. Mark your key events. Choose the actions that matter, such as a lead form submission or a purchase, and mark them as key events. Without them, GA4 records activity but cannot show which visits produced results. For sign-ups and purchases in detail, read our guide to conversion tracking.
SettingWhat to chooseWhy it matters
Reporting time zoneThe time zone of your businessIt defines when each day starts and ends in your reports. Changing it only affects data going forward.
CurrencyThe currency you sell inRevenue and purchase figures are shown in this currency.
Enhanced measurementOnRecords scrolls, outbound clicks, site search and file downloads without extra code.

Tip

Add at least one other administrator during setup, so the property stays manageable if the person who created it leaves the company.

Google's setup guide for websites and apps walks through the same steps. Once the account collects data, tag your own campaign links with UTM parameters from our free UTM link builder, so email, social and partner visits are attributed correctly.

Why GA4 matters for SEO and GEO

GA4 is where you see what search visibility becomes once people arrive: which pages attract organic traffic, how engaged those visitors are and whether they convert. Search Console shows what happens before the click, GA4 what happens after. Together, they tell you which content earns its rankings.

GA4 also helps measure visits from AI assistants. Sessions referred by ChatGPT, Perplexity, Gemini or Copilot appear with their source in acquisition reports, and a custom channel group can isolate them; our page on AI referred traffic explains how. Part of this traffic arrives without referral data and is counted as direct, so treat the figures as a minimum. Sorank's GEO and SEO dashboard connects Google Search Console and Google Analytics to show Google traffic and AI traffic in one view.

Where to find your GA4 tracking ID

The GA4 tracking ID is called the measurement ID. It starts with "G-" followed by letters and numbers. Copy it into your Google tag or Google Tag Manager setup, and GA4 starts receiving data from your pages.

To find it, open Admin, go to Data collection and modification, then click Data streams. Select the Web tab, open your web stream, and read the measurement ID in the first row of the stream details. Google's Measurement ID help page describes these steps.

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'G-XXXXXXXXXX');
</script>

Old UA codes no longer collect data

A code that starts with "UA-" belongs to Universal Analytics. That tool stopped processing data for standard properties on July 1, 2023, so an old UA- snippet adds nothing to your GA4 reports. Replace it with your G- measurement ID and remove the old snippet from your templates.

Check that the tag works

After you install the tag, open the Realtime report in GA4 and load your site in a new tab. Your visit should appear within a few minutes. If it does not, check these points:

  • The ID comes from the web stream you want, not from another stream or property.
  • The tag is on every page, not only the homepage.
  • Your browser blocker or privacy mode is not stopping your own visit. Test with the blocker off.
  • In Google Tag Manager, the container is published. Saved changes that are not published send nothing.

Tip

Write the measurement ID next to the site name in your documentation or password manager. You need it again when you update the tag, add a staging site or check a setup you did not make.

If you manage the tag through Google Tag Manager, read our guide to Google Tag Manager. Once data flows, set up conversion tracking to measure sign-ups and purchases.

How to track scroll depth in Google Analytics

GA4 tracks scroll depth automatically, but at a single point: with enhanced measurement on, it sends a scroll event the first time a visitor reaches 90% of a page's height. To see where readers stop (25%, 50%, 75%), add a Scroll Depth trigger in Google Tag Manager and send each threshold as an event. The default event tells you who reached the end, the custom setup tells you where the others left.

Read the built-in 90% event

In Admin, open your web data stream and check that Scrolls is switched on in enhanced measurement. Then go to Reports, Engagement, Events and click scroll, or build an exploration with Page path as the row and Event count filtered on the scroll event. GA4 also fills the Percent scrolled dimension with the value 90 for these events. Divide scroll events by views for each page to estimate the share of views that reached the bottom. Google states the trigger rule on its enhanced measurement events page.

Add 25%, 50% and 75% thresholds with Tag Manager

  1. In Google Tag Manager, open Variables, click Configure and tick Scroll Depth Threshold, Scroll Depth Units and Scroll Direction.
  2. Create a Scroll Depth trigger: tick Vertical Scroll Depths, choose Percentages and enter 25, 50, 75, 90.
  3. Create a Google Analytics: GA4 Event tag with the event name scroll_depth and one parameter, scroll_threshold, set to the variable {{Scroll Depth Threshold}}. Attach the trigger.
  4. In GA4, register scroll_threshold as an event-scoped custom dimension (Admin, then Custom definitions), otherwise it will not appear in your reports.
  5. Preview the container, scroll a long page to the bottom, check the four events in DebugView, then publish.

Mistakes to avoid

  • Double counting. Do not name your custom event scroll while enhanced measurement scrolls are on. Pick another name, or switch Scrolls off in the stream settings and send 90 from Tag Manager.
  • Short pages. In Tag Manager, a threshold already visible when the page loads fires without any scrolling. A short page can show every visitor at 75%, so compare pages of similar length only.
  • Infinite scroll. When the page keeps growing, percentages lose their meaning. Google's Scroll Depth trigger documentation recommends an Element Visibility trigger on a fixed element instead.
  • One firing per page. Each threshold fires once per page, so scrolling up and down again sends nothing new. Read scroll depth next to engagement time to tell readers from skimmers.

For the definition of scroll depth and other ways to measure it, see our page on scroll depth.

Common GA4 mistakes

The most frequent mistake is leaving GA4 with its default setup: no key events, two months of data retention, internal visits counted. Others are comparing GA4 and Universal Analytics figures as if they measured the same thing, double tagging that inflates page views, forgetting UTM parameters, and reading the total traffic without looking at channels or engagement.

Conclusion

Google Analytics 4 is Google's free, event-based analytics tool for websites and apps. It shows where visitors come from, what they do and which actions create value. Set up properly, with key events, longer retention, Search Console and Ads links and clean campaign tagging, it becomes the reference for measuring the results of SEO and the growing traffic from AI assistants.

To go further, read our pages on website traffic, AI referred traffic and Google Search Console. Reference sources: the Google Analytics Help Center and Google Analytics developer documentation.

Sources

Frequently asked questions

Is Google Analytics 4 free?

Yes. The standard version of GA4 is free, including the export of data to BigQuery. A paid version, Google Analytics 360, is aimed at large companies that need higher limits, longer data retention and service-level guarantees.

What is the difference between GA4 and Google Search Console?

Search Console measures performance in Google search before the click: impressions, clicks, positions and indexing. GA4 measures what visitors from all sources do on the site after they arrive. The two are complementary and can be linked.

Can GA4 track traffic from ChatGPT and other AI assistants?

Partly. Visits that arrive with referral data from chatgpt.com, perplexity.ai, gemini.google.com or copilot.microsoft.com appear in acquisition reports and can be grouped in a custom channel. Visits without referral data are counted as direct, so the real volume is usually higher.

Our Blog for Ambitious Company

Testimonials from ambitious founders

0 to 10000 visitors in 5 months

Celio Fabianomonrobotlavevitre.frGoogleE-commerce

0 to 5000 visits in 8 months

Thibault BMsorank.comGoogleSoftware

0 to 1104 clicks in 4 months

Dominiqueflight-sensations-idf.comGoogleLeisure and aviation

0 to 163 clicks in 6 months

Coworking Pariscoworking-paris.frGoogleOffice broker

x92 clicks in 7 months

Guide Zanzibarguidezanzibar.comGoogleTravel