Google Analytics 4 for SEO: Events, Key Events and Organic Reports
What is Google Analytics 4 and how is it used for SEO?
Google Analytics 4 (GA4) is Google's free web and app analytics platform. It records every interaction as an event, and you mark the events that matter to the business, such as enquiries or purchases, as key events. For SEO, GA4 shows how visitors from organic search behave on the site and which landing pages lead to results, which Search Console cannot show.
How GA4 measures: events and parameters
GA4 replaced Universal Analytics, which stopped processing data in July 2023. Instead of separate hit types, GA4 treats everything as an event: a page view, a scroll, a file download or a form submission. Each event can carry parameters, such as the page location or the form name, that add detail.
| Event group | How it is created | Examples |
|---|---|---|
| Automatically collected | Recorded by the Google tag with no set-up | first_visit, session_start, user_engagement |
| Enhanced measurement | Switched on per data stream in Admin | page_view, scroll, click (outbound), file_download, view_search_results, form_start |
| Recommended | You send them using names Google has defined | generate_lead, sign_up, purchase |
| Custom | You choose the name and parameters | brochure_request, whatsapp_click |
Use a recommended event name when one fits, because some GA4 reports understand those names. Event names are case-sensitive, so Generate_Lead and generate_lead are counted separately.
Key events and how to set them up
A key event is an event you mark as important to your business. Google renamed these from "conversions" to "key events" in 2024; the word "conversion" is now used for actions counted in Google Ads. For a training institute, a submitted enquiry form is a natural key event.
If you load the Google tag directly, you can send a recommended event when the form succeeds:
<script>
// Run this only after the server confirms the enquiry was saved
gtag('event', 'generate_lead', {
form_name: 'course_enquiry',
course: 'seo'
});
</script>- Send the event from the site, either with code like the example or with a trigger in Google Tag Manager.
- Check it arrives in Admin, DebugView or the Realtime report.
- In Admin, Data display, Events, find the event and switch on Mark as key event.
- Register any parameters you want in reports, such as
course, as custom dimensions.
Finding organic search traffic
GA4 assigns each session to a channel using its default channel group. Visits from unpaid search results land in Organic Search, which is separate from Organic Social, Organic Video and Organic Shopping.
- Open Reports, Acquisition, Traffic acquisition.
- Make sure the table shows Session default channel group and click Organic Search to filter.
- Check sessions, engaged sessions, engagement rate and key events for the period.
- Open Reports, Engagement, Landing page and add a filter for the same channel to see which pages search visitors enter on.
An engaged session is one that lasts longer than 10 seconds, includes a key event or includes at least two page views. Engagement rate is the share of sessions that were engaged. For detailed questions, such as organic sessions by landing page and device, build a free-form report in Explore.
Visits from AI chat assistants usually appear as Referral traffic under the assistant's domain. If they matter to you, create a custom channel group with a rule that matches those referrer domains.
Linking Search Console with GA4
GA4 cannot see the search queries people typed, because Google does not pass them to analytics tools. Linking Search Console brings that query data into GA4.
- In GA4, open Admin, Product links, Search Console links, and click Link.
- Choose the Search Console property you have owner access to, then pick the web data stream.
- In Reports, open the Library and publish the Search Console collection so its reports appear in the left menu.
- Use the Queries report for query-level clicks and positions, and Google organic search traffic for landing pages joined with GA4 engagement data.
Query data stays aggregated: you can see which queries led to a landing page, but not which query a particular visitor used. The numbers will not match GA4 sessions exactly, as the Search Console guide explains.
Consent mode and privacy
Consent mode tells Google tags whether a visitor has agreed to analytics and advertising storage. Version 2 uses four signals: analytics_storage, ad_storage, ad_user_data and ad_personalization. Set defaults before the tag loads, then update them when the visitor chooses in your consent banner.
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('consent', 'default', {
analytics_storage: 'denied',
ad_storage: 'denied',
ad_user_data: 'denied',
ad_personalization: 'denied'
});
</script>
<!-- Google tag loads after this. When the visitor accepts analytics: -->
<script>
gtag('consent', 'update', { analytics_storage: 'granted' });
</script>- Basic consent mode: tags do not load until the visitor consents, so no data is sent for visitors who decline.
- Advanced consent mode: tags load and send cookieless pings when consent is denied, which GA4 can use for behavioural modelling once a property meets Google's eligibility thresholds.
Privacy law, including India's Digital Personal Data Protection Act, 2023, shapes how you ask for consent. Take legal advice for your situation, and expect lower recorded traffic as consent choices are respected.
Settings to check on every property
- Data retention: standard properties keep event-level data for exploration reports for 2 or 14 months. The default is 2, so change it to 14 in Admin, Data collection and modification, Data retention.
- Internal traffic: define your office IP addresses and activate the filter so staff visits are excluded.
- Unwanted referrals: list payment gateways so returning buyers do not start a new referral session.
- Cross-domain measurement: configure it when a journey moves between your own domains, such as a site and a separate booking domain.
These settings, plus channel and landing page reporting, are practised hands-on in SkillNewton's SEO analytics course.
Practical exercise: build an organic landing page report
- Confirm one key event, such as
generate_lead, is firing and marked as a key event. - In Explore, start a blank free-form exploration for the last 28 days.
- Add the dimensions Landing page + query string and Session default channel group, and the metrics Sessions, Engagement rate and Key events.
- Filter to Session default channel group exactly matches Organic Search.
- Sort by sessions and mark pages with plenty of visits but few key events.
- For two of those pages, check their queries in the Search Console Queries report and decide whether the page meets the intent behind the search or needs a clearer call to action.
Common mistakes
- Marking page views or scrolls as key events, which makes results look far better than they are.
- Leaving data retention at 2 months and losing older event-level detail in explorations.
- Firing lead events on button clicks instead of confirmed form submissions.
- Never linking Search Console, so query data is missing from analytics.
- Loading analytics before the consent banner has set default consent states.
Frequently asked questions
Is GA4 free?
The standard version is free. Google Analytics 360 is a paid version for large organisations with higher limits and service agreements.
Why do I see "(not set)" as a landing page?
It usually appears when a session has no page_view event, for example when a session restarts after timing out with the tab still open, or when tagging is incomplete on some pages.
Can GA4 show which keywords brought visitors?
Not on its own. Link Search Console to see query data in GA4, aggregated by landing page rather than by individual visitor.
Do I need Google Tag Manager to use GA4?
No. You can add the Google tag directly to your pages. Tag Manager helps when you manage many tags and events without editing site code each time.