How to Set Up Google Analytics 4 for SEO
GA4 shows what visitors do after they arrive from Google. This guide walks through creating the account, property and web data stream, installing the tag on WordPress, verifying data, and the points Google’s setup page does not cover, such as Search Console linking.
- Account to data stream
- Install the tag
- Verify data
- SEO reports
account > property > web stream Measurement ID: G-XXXXXXX -> install tag -> Realtime
Create an Analytics account and property, add a Web data stream with your URL, copy the Measurement ID (starts with G-), install the tag through a plugin, Tag Manager or the site header, then confirm in the Realtime report. Data can take up to 30 minutes to appear.
Create the account
- Create an Analytics account unless you already have one; make a separate account only if the site belongs to a different business.
- First time: start from analytics.google.com. Otherwise use Admin to create an account.
- Name the account and set its data-sharing preferences; accept the Terms of Service if creating a new account.
Create the property
- Creating a property needs the Editor role; creating the account gives it to you.
- Enter a property name, reporting time zone and currency. Changing the time zone affects only future data.
- Choose industry, business size and intended use, which shapes default reports.
Add a web data stream
In Admin, open Data Streams, click Add stream and choose Web. Enter your site URL and a stream name. Google recommends enhanced measurement, which automatically collects page views and some events; you can disable individual events later.
Install the tag
| Method | How per Google |
|---|---|
| CMS or plugin integration | Paste the Measurement ID into the platform’s field; WordPress plugins such as Site Kit and MonsterInsights are listed |
| Direct HTML | Paste the full Google tag snippet right after the head tag on every page |
| Google Tag Manager | Add the Google Analytics: GA4 Configuration tag |
| Other site builders | Use manual installation and the builder’s custom HTML feature |
Find the Measurement ID under Stream details; it starts with G- (or AW-).
Verify data is arriving
- Open the Realtime report and visit your site in another tab.
- Data can take up to 30 minutes to appear.
- If you do not see Data Streams, you may be in a Universal Analytics property; switch with the property selector.
Set up step by step
Account and property
Name, time zone, currency.
Add a Web stream
URL and enhanced measurement.
Copy the Measurement ID
G- value.
Add the tag
Plugin, GTM or HTML.
Check Realtime
Visit the site.
Review organic traffic
After data accumulates.
Using GA4 for SEO (my own guidance)
- Look at traffic acquisition and filter to organic search to see landing pages.
- Use Search Console for queries, impressions and position; GA4 shows behaviour after the click (performance report).
- Compare periods rather than reading single days (tracking SEO results).
- Linking GA4 with Search Console is possible, but Google’s setup page does not cover it; see Search Console setup.
Notes for WordPress sites
- One tag only: installing via plugin and theme causes double counting (my own note).
- Exclude yourself: logged-in admin traffic can skew small sites.
- Caching: clear caches after adding the tag.
- Consent: check privacy rules that apply to your visitors.
Troubleshooting
| Symptom | Likely cause (my own diagnosis) | Action |
|---|---|---|
| Realtime empty | Tag missing or cached page | View source; clear cache |
| Double traffic | Two tags installed | Remove one |
| No Data Streams menu | Universal Analytics property (per Google) | Switch property |
| Wrong time zone | Property setting | Change; only future data affected |
Checklist
Setup
- Account created
- Property named
- Time zone set
- Web stream added
Install
- Measurement ID copied
- One method used
- Cache cleared
- Tag visible in source
Verify
- Realtime works
- Wait up to 30 minutes
- Correct property
- Enhanced measurement on
Use
- Organic landing pages
- Search Console alongside
- Compare periods
- Document changes
What Google’s page does not say
Its setup page does not mention Search Console linking or key events; it only refers to a configuration checklist for collecting more data and filtering unwanted traffic without describing those steps. SEO reporting guidance on this page is my own.
Key terms
- Property
- Container for a site’s data.
- Data stream
- Source of data, such as a website.
- Measurement ID
- G- identifier for the stream.
- Enhanced measurement
- Automatic event collection.
Common mistakes
Two tags
Inflated numbers.
Wrong property type
Universal Analytics confusion.
Judging at once
Data takes time.
Skipping time zone
Misaligned days.
Using GA4 for queries
Not its job.
Ignoring own traffic
Skews small sites.
Related guides
GA4 setup questions
What is the Measurement ID?
The G- identifier in Stream details.
How long until data shows?
Up to 30 minutes.
Do I need a plugin?
No; you can use GTM or paste the snippet.
What role do I need?
Editor to create a property or stream.
Can I change the time zone?
Yes; it affects only future data.
Is enhanced measurement needed?
Recommended by Google.
Does GA4 replace Search Console?
No; they answer different questions.
How do I link Search Console?
Google’s setup page does not cover it.
Setup steps and install methods come from Google’s page. The SEO use, WordPress notes and troubleshooting are my own.