You can't improve what you don't measure. Right now, you're running your website blind—you don't know how many people visit, which pages they read, or where they come from. Every pound you spend on marketing, every hour you invest in content, every tweak you make to your website is pure guesswork without tracking.
Google Analytics 4 (GA4) changes that. It's the free tool that shows you exactly what's happening on your website in real time. And if you're still using the old Universal Analytics (or nothing at all), you need to act now—Google shut down Universal Analytics in July 2023. GA4 is the only option.
The good news? Installing GA4 is straightforward. You'll create a property, grab a tracking code, add it to your website, and verify it's working. This is the single most important technical step after launching your site. Once it's done, you'll finally see who's visiting, what they're doing, and where your efforts are paying off. This foundation makes everything else—from Set Simple Marketing Goals to Optimize Your Website for Google—actually measurable.
Jump to: Quick Start | Complete Guide | Troubleshooting
Quick Start (5 Minutes)
If your website platform (WordPress, Shopify, Wix, Squarespace) has a built-in field for Google Analytics, this is your fastest path. You'll create a GA4 property, copy a single ID, paste it into your website settings, and you're done.
Five Quick Steps:
- Go to Google Analytics (analytics.google.com) and click Admin (bottom-left gear icon).
- Create a GA4 Property: Click "Create Property", name it (e.g., "My Business Website"), select your timezone and currency, then click Next. Choose your business category and size, then click Create.
- Set Up a Data Stream: Select Web as your platform. Enter your website URL (include https://) and give the stream a name (e.g., "Main Website"). Click Create stream.
- Copy Your Measurement ID: You'll see a box labelled Measurement ID with a code starting with `G-` (e.g., `G-ABC123XYZ`). Copy this entire code.
- Add It to Your Website: Log into your website platform. Find the Google Analytics or tracking code field (usually in Settings → Integrations or Marketing). Paste your Measurement ID and save.
✅ Completed the quick version? Move on to Setting Up Conversion Tracking or continue below for the detailed walkthrough with alternative installation methods.
Complete Step-by-Step Guide
This section covers every installation method—including Google Tag Manager (recommended for flexibility) and manual code placement—plus how to verify everything is working correctly.
Step 1: Access GA4 and Create Your Property
Log into Google Analytics using your business Google Account. If you've never used Analytics before, you'll be prompted to start setting up immediately. If you have an existing account, click Admin (the gear icon in the bottom-left corner).
In the Admin panel, you'll see three columns: Account, Property, and View. Click Create Property in the middle column.
Fill in the property details:
- •Property name: Use your business name (e.g., "Smith Plumbing")
- •Reporting time zone: Select your local timezone
- •Currency: Select GBP (British Pound)
Click Next. Select your business category and size (choose "Small" if you have fewer than 10 employees). Click Create.
You'll be asked to accept the Google Analytics Terms of Service. Read and accept them.
Step 1: Navigating to the Admin panel to create a new GA4 Property.
Step 2: Set Up Your Web Data Stream
After creating your property, you'll be prompted to set up a data stream. A data stream is simply GA4's way of collecting data from a specific source—in this case, your website.
Click Web as your platform.
Enter your website details:
- •Website URL: Type your full website address including `https://` (e.g., `https://www.yourwebsite.co.uk`)
- •Stream name: Give it a clear name like "Main Website" or "Company Site"
Enhanced measurement: Leave this ON (it's enabled by default). This automatically tracks useful actions like scrolling, outbound clicks, site searches, video engagement, and file downloads without any extra code. If you're tracking email sign-ups through forms, this will capture those submissions too.
Click Create stream.
Step 3: Locate and Copy Your Measurement ID
Once your stream is created, you'll see the Web stream details page. At the top, you'll see a box labelled Measurement ID with a code that starts with `G-` followed by letters and numbers (e.g., `G-ABC123XYZ`).
This is your unique tracking identifier. Copy this entire code—you'll need it for installation.
Locating and copying the G-XXXXXXX Measurement ID after creating the data stream.
Important: Make sure you're copying the G-XXXXXXX format. If you see a code starting with UA-, that's the old Universal Analytics format (which no longer works). GA4 always uses the G- prefix.
Step 4: Choose Your Installation Method
You have three options for installing the GA4 tracking code on your website. Choose the method that matches your technical comfort level and website platform:
Option A: Built-in Platform Integration (Easiest)
Most modern website platforms have a dedicated field for Google Analytics. This is the simplest method—just paste your Measurement ID and you're done.
Option B: Google Tag Manager (Recommended for Flexibility)
If you plan to add more tracking later (Facebook Pixel, conversion tracking, etc.), Google Tag Manager (GTM) makes it easy to manage all your tracking codes in one place without touching your website code.
Option C: Manual Code Placement (Fallback)
If your platform doesn't have built-in support and you don't want to use GTM, you can manually add the tracking code to your website's header.
Step 5: Installation via Built-in Platform (Easiest Path)
If you're using WordPress, Shopify, Wix, or Squarespace, follow these platform-specific instructions:
WordPress:
Install the free "Site Kit by Google" plugin. Go to Site Kit → Settings → Connect More Services → Analytics. Sign in with your Google Account and select your GA4 property. The plugin handles everything automatically.
Alternatively, many WordPress themes have a "Google Analytics ID" field in Appearance → Customize → Site Settings or similar. Just paste your Measurement ID there.
Shopify:
Go to Online Store → Preferences. Scroll down to Google Analytics. Paste your Measurement ID in the "Google Analytics account" field. Click Save.
Wix:
Go to Settings → Marketing Integrations → Google Analytics. Click Connect to Google Analytics, sign in, and select your GA4 property. Wix connects it automatically.
Squarespace:
Go to Settings → Advanced → External API Keys. Find "Google Analytics" and paste your Measurement ID. Click Save.
Once you've added your ID through your platform, skip to Step 7 (verification).
Step 6: Installation via Google Tag Manager (Recommended)
Google Tag Manager (GTM) is a free tool that lets you manage all your tracking codes (GA4, Facebook Pixel, conversion tracking) from one central dashboard. It's slightly more complex to set up initially, but saves enormous time later.
Set up GTM (if you haven't already):
- Go to tagmanager.google.com and sign in
- Click Create Account
- Name your account (your business name) and container (your website name)
- Select Web as the target platform and click Create
- Accept the Terms of Service
You'll see two code snippets. Copy the first snippet and paste it in the `<head>` section of every page of your website. Copy the second snippet and paste it immediately after the opening `<body>` tag. (Most platforms have a "Custom Code" or "Header/Footer Scripts" section where you can add these.)
Add GA4 to GTM:
- In GTM, click Tags in the left menu, then New
- Click the tag configuration box and select Google Analytics: GA4 Configuration
- In the "Measurement ID" field, paste your GA4 Measurement ID (G-XXXXXXX)
- Click the triggering box and select All Pages
- Name your tag "GA4 - Base Tracking" and click Save
- Click Submit (top-right), add a version name like "Initial GA4 Setup", and click Publish
Your GA4 tracking is now live via GTM.
Step 7: Manual Code Placement (Fallback Method)
If your platform doesn't support built-in Analytics and you don't want to use GTM, you can manually add the GA4 tracking code.
Go back to your GA4 property in Google Analytics. Navigate to Admin → Data Streams → [Your Web Stream]. Under "Tagging Instructions", click View tag instructions, then select Install manually.
You'll see a block of code that looks like this:
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XXXXXXX');
</script>
Copy this entire code block. You need to paste it into the `<head>` section of every page on your website, just before the closing `</head>` tag.
How to access your website's header:
- •WordPress: Use a plugin like "Insert Headers and Footers" or add it to your theme's `header.php` file (in Appearance → Theme File Editor)
- •Other platforms: Look for "Custom Code", "Header Scripts", or "HTML/CSS Editor" in your settings
Paste the code and save your changes.
Before you move on: Manually placing tracking code is tedious and easy to mess up. NetNav automatically monitors your site to ensure key scripts and tracking pixels (like your new GA4 ID) are firing correctly across your critical pages.
Step 8: Verify Your Installation with Real-Time Reports
Now you need to confirm that GA4 is actually receiving data from your website.
- Open your website in an incognito or private browsing window (this ensures your visit isn't blocked by browser extensions or cookie settings)
- Click around your site—visit 3-4 different pages, scroll down, click a link
- Keep this window open and go back to Google Analytics
- Navigate to Reports → Realtime (in the left menu)
You should see at least 1 active user on the real-time dashboard. That's you. You might also see which pages you're viewing, your location, and how you arrived at the site.
Verifying the installation success using the Real-time report view (look for the '1 active user').
If you see your activity appearing in real time, congratulations—your tracking is working perfectly.
Step 9: Save Your Measurement ID for Future Use
Before you close everything, save your GA4 Measurement ID somewhere safe. You'll need it when you set up conversion tracking, connect other tools, or troubleshoot issues.
Add it to your Tools and Logins document with a note like:
Google Analytics 4
Measurement ID: G-ABC123XYZ
Property: Smith Plumbing Website
Login: youremail@business.co.uk
This simple step will save you 10 minutes of hunting through Google Analytics next time you need it.
🎉 Completed? You're tracking everything and ready to understand your visitors. You're ready for Setting Up Conversion Tracking.
Troubleshooting
Go Deeper into Analytics
Once your basic tracking is working, you might want to explore more advanced analytics capabilities:
Setting Up Proper Tracking (What You Actually Need)
For a full guide on advanced tracking methodologies beyond basic GA4 setup, see our deeper guide on defining your entire tracking ecosystem—including event tracking, custom dimensions, and cross-domain measurement.
Advanced Google Analytics Segments
If you need to dive into complex audience filtering and data segmentation after installation, read our guide on Advanced GA4 Segments to create custom reports that answer specific business questions.
What's Next
You've installed GA4 and verified it's collecting data. Now you need to define what success actually looks like by tracking the actions that matter to your business.
Next Blueprint Step: Setting Up Conversion Tracking
Define and measure key business actions (like form submissions, phone calls, or purchases) using the GA4 foundation you just built. This turns raw traffic data into business intelligence.
Other Get Found Guides
Build Your Visibility Foundation:
- •Keyword Research for Very Busy Businesses – Find the exact terms your customers are searching for
- •How to Write Title Tags and Meta Descriptions – Optimise the snippets that appear in Google search results
- •Local SEO Starter Guide – Get found by customers in your area
Grow Your Audience:
- •Build an Email List from Scratch – Start capturing contact details from day one
- •Using ChatGPT for Content Without Losing Your Voice – Speed up content creation while staying authentic
Fix Common Problems:
- •I'm Not Showing Up on Google At All – Diagnose and fix indexing issues fast
Start Tracking with Confidence
You've completed setting up critical tracking. This foundation is huge! NetNav can audit your entire site across 9 pillars in 60 seconds—see what else needs attention before you start driving traffic.
Run Your Free 60-Second Audit →
Every day without tracking is a day of wasted insight. But now? You're measuring everything. You'll know what's working, what's not, and exactly where to focus your effort next.