How to Set Up Google Analytics 4
Google Analytics 4 helps you understand what visitors do after they arrive on your website. It shows where users come from, which pages they land on, how they engage, what events they trigger and whether they complete important actions such as email signups, form submissions, downloads or purchases. This guide walks through how to create a GA4 property, install the tracking code, check that it is working and set up the basics beginners actually need.
Many beginners install Google Analytics because they think it is “the traffic tool”.
That is partly true.
But it is also incomplete.
Google Analytics 4, usually shortened to GA4, is not just there to tell you how many people visited your website. It helps you understand what happened after they arrived.
- Where did visitors come from?
- Which pages did they land on?
- Did they engage with the content?
- Did they click anything useful?
- Did they sign up, enquire, download or buy?
- Did SEO traffic actually create any value after the click?
GA4 is not just a visitor counter. It is the tool that helps you understand whether traffic becomes behaviour, engagement or business value.
If Google Search Console shows how people find you, GA4 shows what happens after they arrive.
This matters because traffic on its own is not the business model. A page can attract visitors and still fail to move people towards anything useful. GA4 helps you see whether your website is actually doing something with the attention it earns.
This post follows on from How to Set Up Google Search Console and How to Measure SEO Performance Without Obsessing Over Traffic. Once Search Console is in place, GA4 gives you the next layer of measurement: behaviour after the click.
What Google Analytics 4 Is Used For
Google Analytics 4 is used to understand how people interact with your website.
It does not replace Google Search Console. The two tools answer different questions. Search Console shows visibility in Google Search. GA4 shows on-site behaviour after someone arrives.
GA4 Helps You Understand:
- how many users visit your website
- how many sessions happen
- where traffic comes from
- which pages people land on
- which pages people view
- how users engage with your content
- which events happen on your website
- which actions matter most
- whether users convert
- which pages support revenue, leads or email list growth
For an SEO website, this is crucial. Search Console may show that a blog post is earning clicks, but GA4 helps you understand whether those visitors read more, join your email list, click an affiliate link, submit a form or disappear immediately into the internet fog.
Google Analytics shows what people do on your website after they arrive.
Before You Set Up GA4
GA4 setup is easier when you know how your website is managed and what actions matter.
Before you start clicking around in Google Analytics, take a few minutes to check what access you have and what you actually want to measure. Otherwise you can end up with Analytics technically installed, but not particularly useful.
You Will Need:
- a Google account
- access to your website or CMS
- access to add tracking code, use a plugin or edit integration settings
- your website URL
- a clear website or business goal
- an idea of the key actions you want to track
- Google Tag Manager access if you plan to install GA4 through GTM
Useful Actions to Think About Before Setup
- email newsletter signups
- contact form submissions
- lead magnet downloads
- affiliate link clicks
- product purchases
- booking button clicks
- quote requests
- important outbound clicks
- file downloads
You do not need to track everything immediately. In fact, beginners usually make a mess when they try to track too much too soon. Start with the actions that connect to the purpose of your website.
GA4 setup is easier when you know how your website is managed and what actions matter.
Decide How You Will Install GA4
There is more than one way to install Google Analytics 4 on a website.
The right method depends on your website platform, confidence level and how much tracking control you want later.
Option 1: Direct Installation
Direct installation means adding GA4 directly to your website through a plugin, website builder integration or tracking code.
Direct Installation Is Often Best When:
- you have a simple website
- you are setting up GA4 for the first time
- you are using a CMS plugin
- you do not need complex tracking yet
- you want the quickest route to basic pageview and engagement data
Option 2: Google Tag Manager
Google Tag Manager, often shortened to GTM, is a tag management tool. Instead of adding multiple tracking scripts directly to your website, you install GTM once and manage tags inside GTM.
Google Tag Manager Is Often Best When:
- you want cleaner tracking control
- you expect to add more tracking later
- you want to avoid editing website code repeatedly
- you want to track clicks, forms, downloads or affiliate links more deliberately
- you are building a more serious SEO or commercial website
For a serious SEO website, GTM is usually better long term. But if you are a beginner and just need GA4 working, direct installation through a trusted plugin or platform integration is completely fine.
Direct installation is simpler. Google Tag Manager is more flexible.
Step 1: Go to Google Analytics
Start by opening Google Analytics and signing in with your Google account.
Ideally, use the same Google account you use for Google Search Console and Google Tag Manager. That makes access, linking and ownership easier later.
Basic Steps
- Open Google Analytics.
- Sign in with your Google account.
- Go to Admin.
- Create an account if you do not already have one.
- Create a new GA4 property for your website.
Screenshot Opportunity
Include a screenshot of the Google Analytics Admin screen or the create account/property screen.
Start by creating a Google Analytics account and GA4 property for your website.
Step 2: Create Your GA4 Account and Property
In Google Analytics, an account and a property are not the same thing.
The account is the broader container. The property is where your website or app data is collected.
Simple Explanation
- Account: the top-level container, usually your business, brand or organisation.
- Property: the specific website or app you want to measure.
Setup Steps
- Enter an account name.
- Choose your account data sharing settings.
- Create a property.
- Enter your property name.
- Choose your reporting time zone.
- Choose your currency.
- Enter your business details.
- Choose your business objectives.
Use clear names. If your website is SteveWootten.com, your account or property name should make that obvious. Future you will appreciate not having to guess which property is which.
Important Setup Notes
- Set the correct reporting time zone from the start.
- Choose the correct currency if you will measure sales or revenue.
- Use clear property names if you manage more than one website.
- Do not create multiple properties for the same website unless you have a good reason.
Screenshot Opportunities
- account setup screen
- property setup screen
- business objectives screen
Your GA4 property is where your website behaviour data will be collected.
Step 3: Create a Web Data Stream
A data stream tells GA4 where data comes from.
If you are setting up Analytics for a website, you need a Web data stream.
Web Data Stream Setup Steps
- Choose Web as the platform.
- Enter your website URL.
- Enter a stream name.
- Keep Enhanced Measurement turned on for beginner setup.
- Create the stream.
Enhanced Measurement Can Automatically Track:
- page views
- scrolls
- outbound clicks
- site search
- video engagement
- file downloads
- form interactions where supported
Enhanced Measurement is useful, but it is not perfect. It gives you a helpful starting point, but important business actions should still be checked and deliberately configured where needed.
Screenshot Opportunities
- web stream setup screen
- Enhanced Measurement settings
The web data stream connects your website to your GA4 property.
Step 4: Find Your Measurement ID
After creating your Web data stream, GA4 gives you a Measurement ID.
This ID tells your website which GA4 property to send data to. You will use it if you are installing GA4 through a plugin, website builder, Google Tag Manager or manual tracking code.
A GA4 Measurement ID Usually Looks Like This:
G-XXXXXXXXXX
Copy it carefully. Using the wrong Measurement ID is one of the easiest ways to send data to the wrong place.
Screenshot Opportunity
Include a screenshot showing where the Measurement ID appears inside the Web stream details.
Your Measurement ID tells your website which GA4 property to send data to.
Step 5: Install GA4 on Your Website
The goal is to install GA4 once, correctly, and avoid duplicate tracking.
Duplicate tracking happens when GA4 is installed more than once. This can inflate page views and make your data unreliable. Before adding a new GA4 tag, check whether your theme, plugin, website builder or Google Tag Manager already has Analytics installed.
Option A: Install GA4 With a WordPress Plugin
If you use WordPress, a plugin is often the simplest beginner option.
Common Plugin Options
- Site Kit by Google
- Rank Math
- MonsterInsights
- GA Google Analytics
- a header/footer code plugin
Basic WordPress Plugin Steps
- Open your plugin settings.
- Connect your Google account or paste your Measurement ID.
- Select the correct GA4 property if prompted.
- Save settings.
- Clear any website cache if needed.
- Test tracking in GA4 Realtime.
Option B: Install GA4 With a Website Builder
Website builders often have built-in analytics or integrations settings.
Common Website Builders
- Squarespace
- Wix
- Shopify
- Webflow
- Framer
Basic Website Builder Steps
- Open your website settings.
- Find Analytics, integrations or custom code settings.
- Paste your Measurement ID or Google tag.
- Save the settings.
- Publish the site if required.
- Test tracking in GA4.
Option C: Install GA4 With Google Tag Manager
Google Tag Manager is usually the better long-term option if you expect to track more than basic page views.
Basic GTM Steps
- Open Google Tag Manager.
- Create or open your website container.
- Create a new GA4 tag.
- Add your GA4 Measurement ID.
- Set the trigger to fire on all pages.
- Use Preview mode to test.
- Publish the container.
- Check GA4 Realtime or DebugView.
Option D: Manual Code Installation
Manual installation means copying the Google tag and placing it into the head section of your website.
This works, but be careful. Adding code in the wrong place, adding it twice or losing it during a theme update can cause tracking problems.
The goal is to install GA4 once, correctly, and avoid duplicate tracking.
Step 6: Check GA4 Is Working
Do not assume GA4 is working just because you installed it.
Test it. This is one of the most important steps, and it is also one beginners often skip.
Ways to Check GA4 Is Working
- Realtime report
- DebugView
- Google Tag Assistant
- Google Tag Manager Preview mode
- browser extensions
- visiting the site in another tab
- testing page views and events
What to Look For
- your visit appears in Realtime
- page views register
- events are firing
- the correct website is sending data
- there are no obvious duplicate page views
- traffic source appears later once data processes
If you visit one page and GA4 appears to record multiple page views, you may have duplicate tracking. Check whether GA4 has been added through more than one method.
Screenshot Opportunities
- Realtime report
- DebugView
- Google Tag Assistant
- Google Tag Manager Preview mode
Do not assume GA4 is working just because you installed it. Test it.
Step 7: Understand Enhanced Measurement
Enhanced Measurement is a GA4 feature that automatically tracks some common interactions on your website.
For beginners, it is a useful starting point because it means GA4 can collect more than basic page views without you manually setting up every event from scratch.
Enhanced Measurement Can Track:
- page views
- scrolls
- outbound clicks
- site search
- video engagement
- file downloads
- form interactions where supported
Enhanced Measurement is helpful, but it should not be your entire measurement strategy. Automatic tracking may not capture every important action correctly, especially if your forms, buttons or checkout process behave differently from standard setups.
For important business actions, check the data and set up deliberate tracking if needed.
Enhanced Measurement is helpful, but it should not be your entire measurement strategy.
Step 8: Set Up Key Events
Key events are the important actions you want to measure in GA4.
In older Analytics language, people often called these conversions. GA4 now uses the term key events for important actions you choose to mark as meaningful.
Useful Key Event Examples
- email signup
- contact form submission
- purchase
- lead magnet download
- affiliate link click
- booking button click
- quote request
- checkout started
- account registration
- consultation request
The important thing is to choose actions that connect to the purpose of the website. If your site is built around email list growth, newsletter signups matter. If it is built around services, enquiry forms and booking clicks matter. If it is built around affiliate content, affiliate clicks matter.
Do Not Mark Everything as a Key Event
This is a common beginner mistake. If every scroll, click and page view becomes a key event, your reports become noisy and less useful.
Key events should represent actions that genuinely matter. They should help you answer whether the website is moving people towards the outcome you care about.
If everything is a key event, nothing is a key event.
Step 9: Link GA4 With Google Search Console
Linking GA4 and Search Console helps you connect search visibility with on-site behaviour.
Search Console shows impressions, clicks, queries and search visibility. GA4 shows sessions, engagement, events and conversions. Connecting them can make SEO reporting easier because you can bring some Search Console data into Analytics.
Benefits of Linking GA4 and Search Console
- connect search visibility to behaviour
- review organic landing page context
- support SEO reporting
- make beginner workflows easier
- compare search performance with user behaviour
- understand whether SEO traffic does anything useful after arrival
Basic Linking Steps
- Open GA4.
- Go to Admin.
- Find Product links.
- Choose Search Console links.
- Select the correct Search Console property.
- Choose the relevant web stream.
- Submit the link.
Screenshot Opportunity
Include a screenshot of the Search Console linking screen inside GA4.
Linking GA4 and Search Console helps you connect search visibility with on-site behaviour.
For the bigger picture, read Google Search Console vs Google Analytics.
Step 10: Filter or Understand Your Own Traffic
Your own visits can make early GA4 data look more meaningful than it really is.
This is especially true when your website is new and traffic is low. If you keep visiting your own pages to check formatting, test links and admire your latest article like a proud parent at a school play, your own activity can distort the data.
Options for Handling Your Own Traffic
- set up an internal traffic filter
- exclude your IP address where appropriate
- use a separate browser profile for testing
- avoid over-interpreting tiny data samples
- remember that early reports may include your own behaviour
This becomes more important as your site grows. At the very beginning, just be aware that your own testing can make the numbers look more exciting than they really are.
Your own visits can make early GA4 data look more meaningful than it really is.
The GA4 Reports Beginners Should Look At First
Beginners should learn a few useful GA4 reports before trying to understand everything.
GA4 can do a lot. That does not mean you need to use all of it immediately. Start with the reports that help you answer basic questions about traffic, behaviour and important actions.
Realtime
Realtime is useful for testing whether GA4 is working. It can show recent visitors and activity on your site.
Reports Snapshot
The Reports snapshot gives a broad overview of users, traffic and activity. It is useful for orientation, but do not treat it as your whole measurement system.
Acquisition
Acquisition reports help you understand where users come from. For SEO, you will often look at organic search traffic, but it is also useful to compare organic traffic with direct, referral, social and email traffic.
Engagement > Pages and Screens
Pages and Screens helps you see which pages users view. For a blog or SEO website, this helps identify which articles people are actually reading.
Landing Pages
Landing Pages shows which pages people enter through. This is especially important for SEO because many organic visitors arrive directly on blog posts rather than the homepage.
Events
Events show interactions happening on your site. This may include page views, scrolls, clicks, downloads, form interactions and other tracked actions.
Key Events
Key Events show important actions you have chosen to mark as meaningful, such as signups, enquiries, downloads or purchases.
Beginners should learn a few useful GA4 reports before trying to understand everything.
What to Track First on an SEO Website
For an SEO website, GA4 should help you understand what organic visitors do after they land.
The point is not to collect endless data. The point is to understand whether SEO traffic is becoming useful behaviour.
Useful SEO Website Tracking Priorities
- organic traffic
- organic landing pages
- engagement by article
- email signups
- internal link clicks
- lead magnet downloads
- affiliate clicks
- service enquiries
- product purchases
- dead-end pages
- pages with traffic but no next step
For example, a blog post that gets traffic but no internal clicks may need better internal links. A post that gets organic visitors but no email signups may need a more relevant lead magnet. A page that generates affiliate clicks may be more valuable than a larger article that only attracts curiosity traffic.
For an SEO website, GA4 should help you understand what organic visitors do after they land.
For more on turning measurement into decisions, read How to Measure SEO Performance Without Obsessing Over Traffic and How to Use Internal Linking Properly.
Common GA4 Setup Mistakes
Most GA4 setup problems come from either not testing or trying to track too much too soon.
A basic, clean setup is better than a complicated setup nobody understands.
Avoid These GA4 Setup Mistakes
- installing GA4 twice
- not testing the setup
- using the wrong Measurement ID
- not setting key events
- tracking too many meaningless events
- ignoring the Search Console connection
- not checking Realtime
- confusing users and sessions
- judging performance too early
- not documenting how GA4 was installed
- relying only on GA4 for SEO visibility
- forgetting that GA4 tells you behaviour, not keyword visibility
Most GA4 setup problems come from either not testing or trying to track too much too soon.
A Simple GA4 Setup Checklist
GA4 is only useful when it is installed correctly and connected to actions that matter.
Google Analytics 4 Setup Checklist
- Sign into Google Analytics.
- Create an account.
- Create a GA4 property.
- Set the correct time zone and currency.
- Create a Web data stream.
- Copy your Measurement ID.
- Choose your installation method.
- Install GA4 on your website.
- Test with Realtime or DebugView.
- Check Enhanced Measurement settings.
- Set up key events.
- Link Search Console.
- Understand or filter your own traffic.
- Review the core beginner reports.
- Document how GA4 was installed.
GA4 is only useful when it is installed correctly and connected to actions that matter.
Final Thoughts
Google Analytics 4 turns website traffic into behaviour data you can actually learn from.
It helps you understand where visitors come from, what pages they land on, how they engage, which events happen and whether traffic leads to meaningful actions.
The point is not to install Analytics and stare at charts until your eyes start negotiating their resignation.
The point is to understand whether traffic is becoming useful behaviour.
Google Analytics 4 turns website traffic into behaviour data you can actually learn from.
Next in the series: How to Install Microsoft Clarity.