# Google Analytics 4

> Google Analytics 4 is Google

Canonical: https://scaplet.com/glossary/google-analytics-4

Glossary Google Glossary · Measurement

Google Analytics 4 is Google's event-based analytics property type. What it measures, the four event types, how to install the Google tag, and the session timeout.

3 min

read

4

sources

Oct 24, 2026

updated

Scaplet Editorial Team

author

In one line

Google Analytics 4 (GA4) is the event-based property type in Google Analytics. It records interactions as events, such as page loads, clicks, and purchases. You install the Google tag on your site, then mark the events that matter to your business as key events.

30-second check

## Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fgoogle-analytics-4%20(%22Google%20Analytics%204%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fgoogle-analytics-4%20(%22Google%20Analytics%204%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fgoogle-analytics-4%20(%22Google%20Analytics%204%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fgoogle-analytics-4%20(%22Google%20Analytics%204%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 5 parts, 3 minutes.

1. [What GA4 measures 01](#what-ga4-measures)
2. [How to install the Google tag 02](#how-to-install-the-google-tag)
3. [Key events and engaged sessions 03](#key-events-and-engaged-sessions)
4. [Limits and settings to know 04](#limits-and-settings-to-know)
5. [Common mistakes 05](#common-mistakes)

_01_At a glance

## What GA4 measures

Google's developer documentation says events measure user interactions on your website or app, for example when someone loads a page, clicks a link, or makes a purchase. Google Analytics uses data from events to build its reports, and a page view is one event type among several.

Event type

### Automatically collected

Setup needed

No

Examples

`first_visit`, `session_start`, `user_engagement`

Event type

### Enhanced measurement

Setup needed

No (typically), once enabled in the Google Analytics UI

Examples

`scroll`, `click`, `file_download`

Event type

### Recommended

Setup needed

Yes

Examples

`purchase`, `login`, `sign_up`

Event type

### Custom

Setup needed

Yes

Examples

Events you define because no other type fits

Sessions are built from these events. Google's developer guide says a session's default duration is 30 minutes, and that you can adjust that timeout in the Google Analytics interface up to a maximum of 7 hours and 55 minutes.

_02_How it works

## How to install the Google tag

1. 1

### Create a property and a web data stream

Google's guide assumes you have created a Google Analytics account and property, and a [web data stream](/glossary/data-streams) for your website.
2. 2

### Copy your tag ID

Paste it into the Google tag [snippet](/glossary/snippet). A Google Analytics web tag ID looks like `G-XXXXXXXXXX`.
3. 3

### Paste the snippet

Google says to place the Google tag snippet immediately after the opening `<head>` HTML tag on every page you want to measure.
4. 4

### Verify

Check your events and their parameters in the Realtime and [DebugView](/glossary/ga4-debugview) reports. Google notes that DebugView needs some additional configuration before you can use it. Google also points to Tag Assistant to check that the tag is sending data.

The Google tag (replace G-XXXXXXXXXX with your ID)

```
<!-- 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>
```

Google's gtag.js guide says it recommends using [Google Tag Manager](/glossary/google-tag-manager) to set up and deploy tags on your site. Pick one way to deploy each tag.

_03_Good to know

## Key events and engaged sessions

A [key event](/glossary/key-events) is the current name for what Google Analytics previously called a conversion event. Which events you mark is a business decision, such as a form submission, sign-up, or purchase.

Google's developer guide defines an engaged session as one that lasts longer than 10 seconds, has 2 or more page views, or triggers a key event.

Tip

Decide your key events before you launch campaigns, so the outcomes you care about are measured from day one.

_04_At a glance

## Limits and settings to know

Item

### Session timeout

What Google documents

30 minutes by default, adjustable up to 7 hours and 55 minutes

Item

### Engaged session

What Google documents

Longer than 10 seconds, 2 or more page views, or a key event

Item

### Keep-alive pings

What Google documents

Google does not recommend custom code that pings Google Analytics to prevent session timeouts

_05_Checklist

## Common mistakes

First_2_
Deploying the same Google tag both in page code and in Tag Manager. Pick one deployment method per tag.

Never marking key events, so reports show traffic but no outcomes.

Next_1_
Expecting GA4 to show your keyword rankings. It reports on events after a visit begins; use [rank tracking](/glossary/rank-tracking) or [Search Console](/glossary/google-search-console) for positions.

Then_1_
Untagged campaign links. Use consistent [UTM parameters](/glossary/utm-parameters) so campaign traffic is identified.

Questions

## Asked a lot.

4 questions people ask next, answered from the sources on this page.

_01_ Do I need Google Tag Manager to use GA4?

No. Google's gtag.js guide shows copying the tag snippet into your pages directly. Google recommends Tag Manager for setting up and deploying tags, but the guide does not make it a requirement.

_02_ How do I check that events are arriving?

Use the Realtime and DebugView reports. DebugView requires some additional configuration before you can use it.

_03_ What counts as a key event?

Any event you decide matters to your business. Google's developer docs say key event is the current name for a conversion event.

_04_ How long is a session?

A session's default duration is 30 minutes. You can change the timeout in the Google Analytics interface, up to 7 hours and 55 minutes.

Sources · 4

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- google.com

1. 01 [Google Analytics for developers](https://developers.google.com/analytics/devguides/collection/ga4) developers.google.com · checked 2026-10-24
2. 02 [Set up events - Google Analytics for developers](https://developers.google.com/analytics/devguides/collection/ga4/events) developers.google.com · checked 2026-10-24
3. 03 [Measure sessions and user engagement - Google Analytics for developers](https://developers.google.com/analytics/devguides/collection/ga4/sessions) developers.google.com · checked 2026-10-24
4. 04 [Set up the Google tag with gtag.js](https://developers.google.com/tag-platform/gtagjs) developers.google.com · checked 2026-10-24

## Keep learning

[All glossary](/glossary)

[Learn Attribution Measurement](/glossary/attribution) [Related Google Search Console Crawling and indexing](/glossary/google-search-console) [Read next Google Tag Manager Measurement](/glossary/google-tag-manager) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in glossary
[Glossary page](/glossary/glossary-page) [Go-to-market (GTM)](/glossary/go-to-market) [Google Business Profile](/glossary/google-business-profile) [Google dance](/glossary/google-dance)

More in Measurement
[Data streams](/glossary/data-streams) [Data thresholds](/glossary/data-thresholds) [Data-driven attribution](/glossary/data-driven-attribution) [Default channel group](/glossary/default-channel-group) [Direct traffic](/glossary/direct-traffic) [Dwell time](/glossary/dwell-time) [Engagement rate](/glossary/engagement-rate) [GA4 audiences](/glossary/ga4-audiences) [GA4 DebugView](/glossary/ga4-debugview) [GA4 events](/glossary/ga4-events) [GA4 Explorations](/glossary/ga4-explorations) [GA4 sessions](/glossary/ga4-sessions) [Google Analytics 4](/glossary/google-analytics-4) [Google Tag Manager](/glossary/google-tag-manager) [Impressions](/glossary/impressions) [Internal search](/glossary/internal-search) [Key events](/glossary/key-events) [Last touch attribution](/glossary/last-touch-attribution) [Lead scoring](/glossary/lead-scoring) [Magic number (SaaS)](/glossary/magic-number) [Measurement Protocol](/glossary/measurement-protocol) [MRR (monthly recurring revenue)](/glossary/mrr) [Multivariate testing](/glossary/multivariate-testing) [Net Promoter Score (NPS)](/glossary/nps)

Terms on this page
[Data streams](/glossary/data-streams) [Search snippet](/glossary/snippet) [GA4 DebugView](/glossary/ga4-debugview) [Google Tag Manager](/glossary/google-tag-manager) [Key events](/glossary/key-events) [Rank tracking](/glossary/rank-tracking) [Google Search Console](/glossary/google-search-console) [UTM parameters](/glossary/utm-parameters)

Free · 2 minutes

## Know the term. _Now check your site._

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **+212%** organic clicks in 90 days Ledgerly
