GA4

Google Analytics 4

GA4 is the current version of Google Analytics, which records what visitors do on your website and app as events and shows them in reports.

Checked 27/11/2026 against 6 sources. Next review 27/05/2027.

GA4, short for Google Analytics 4, is the current Google Analytics property type. It collects event-based data from both websites and apps [1]. It replaced Universal Analytics: standard Universal Analytics properties stopped processing data on 1 July 2023 [1]. In GA4 every interaction, such as a page load, a link click or a purchase, is an event [2]. You choose which events matter most and mark them as key events [3]. You can install GA4 by pasting the Google tag on your site or through Google Tag Manager. The Meta Pixel does a similar job for Meta ads.

What counts as an event in GA4?

An event measures a specific interaction, such as someone loading a page, clicking a link or completing a purchase [2]. GA4 sorts events into four kinds.

Kind of eventWhat it means
Automatically collectedCollected by default once GA4 is on your site or app [2]
Enhanced measurementCollected when enhanced measurement is switched on [2]
RecommendedYou implement them, with names and parameters Google has already set [2]
CustomEvents you define yourself, only when no other event fits [2]

Google warns that custom events do not show up in most standard reports, so you need custom reports or explorations to read them [2].

How do I turn a form submit into a GA4 key event?

A key event is an event that measures an action that is particularly important to the success of your business [3]. Any event you collect can become one: create or identify the event, then mark it as a key event [3]. Many reports, including Landing pages and User acquisition, then show a Key events column [3].

A worked example for a service business

Say a Singapore cleaning firm has a quote form. When the form is sent, the site fires an event called quote_form_sent. In GA4 the owner marks quote_form_sent as a key event. From then on the Landing pages report shows how many quote forms each page produced.

You can also create a Google Ads conversion from a GA4 key event, which Google says reduces the risk of the two reporting different numbers [3]. For the wider picture, see conversion tracking. Tag your campaign links with UTM parameters so key events are credited to the right campaign.

How do I install GA4 and check it is working?

  1. Get your Google tag In Admin, open Data streams, choose Web, pick your site's stream, then View tag instructions and Install manually [5].
  2. Paste it on every page Place the tag immediately after the opening head tag on each page [5].
  3. Wait, then check Realtime Data collection may take up to 30 minutes to begin, and you can then use the Realtime report to confirm data is arriving [5].

The Google tag shape on Google's developer page looks like this, with your own ID in place of TAG_ID [6]:

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

That page also notes that the gtag('config') command is deprecated and no longer in default installation snippets, though existing snippets that contain it keep working [6]. Tag Manager users add the Google Analytics tag inside the container instead [5]. To debug one visitor's events, use the DebugView report, which needs debug mode switched on [2].

How long does GA4 keep my data?

For user-level data, a Google Analytics property lets you choose 2 months or 14 months, and the same choice applies to key events data. For all other event data, 26, 38 and 50 months are also listed, but only for 360 properties. Google-signals data is kept for at most 26 months, whatever your setting. Age, gender and interest data always use the two-month period. Large and XL properties are limited to 2 months [4].

The retention setting only affects explorations and funnel reports. Standard aggregated reports are not affected [4]. If you change the setting, Analytics waits 24 hours before applying it, so you can revert in that window [4]. Pick 14 months if you want explorations that span a year.

Questions people ask

Is GA4 the same as Google Analytics?

GA4 is the current kind of Google Analytics property. Google describes it as event-based and covering both websites and apps. Universal Analytics, the older version, stopped processing data for standard properties on 1 July 2023 [1].

Do I need Google Tag Manager to use GA4?

No. You can paste the Google tag straight into your pages [5]. Google Tag Manager is an option for adding the same tag inside a container, which helps when you manage several tags.

Why is my GA4 report empty after I installed it?

Data collection may take up to 30 minutes to begin [5]. Open the Realtime report after that. If events still do not appear, check the tag sits straight after the opening head tag on every page [5].

Blog posts that use this term

See also

  • Google Tag Manager Google Tag Manager is a web tool from Google that lets you add and change the tracking tags on your website without editing the site's code each time.
  • UTM parameters UTM parameters are short tags added to the end of a link so your analytics tool can see which campaign, email or post sent each visitor.
  • Conversion tracking Conversion tracking records when a visitor does something you care about, such as sending a form or tapping WhatsApp, and ties it back to the ad that brought them.
  • Meta Pixel The Meta Pixel, once called the Facebook Pixel, is a snippet of code on your website that reports what visitors do after seeing your Facebook or Instagram ads.
  • Google Search Console Google Search Console is a free tool from Google that shows how your website performs in Google Search and which pages Google has trouble reading.

References

  1. Introducing the next generation of Google Analytics, Google Analytics Help. Read 27/11/2026.standard Universal Analytics properties stopped processing data.
  2. About events, Google Analytics Help. Read 27/11/2026.An event allows you to measure a specific interaction or occurrence on your website or app.
  3. About key events, Google Analytics Help. Read 27/11/2026.A key event is an event that measures an action that's particularly important to the success of your business.
  4. Data retention, Google Analytics Help. Read 27/11/2026.Whenever you modify the retention period, Analytics waits 24 hours before implementing the change.
  5. Set up Analytics for a website and/or app, Google Analytics Help. Read 27/11/2026.Data collection may take up to 30 minutes to begin.
  6. Set up the Google tag with gtag.js, Google for Developers. Read 27/11/2026.The gtag('config') command is deprecated and no longer included in default installation snippets.