Our original Google Analytics tutorial went up in September 2011, back when the whole guide lived inside a video embed. That video is dead now, and so is the version of Google Analytics it walked through. If you landed here from the old post looking for the clip, this is the replacement: a full written walkthrough for installing Google Analytics on WordPress the way it actually works today.
The short version: Universal Analytics, the version our 2011 readers installed, stopped processing data in July 2023. Every WordPress site now runs on Google Analytics 4, or GA4. The setup screens changed, the tracking code changed, and the plugins changed. Everything below reflects the current process.
- Why This Guide Needed an Update
- Step 1: Create a GA4 Property
- Get Your Web Data Stream and Measurement ID
- Step 2: Pick an Installation Method
- Option A: Site Kit by Google (recommended for most blogs)
- Option B: MonsterInsights
- Option C: Manual code (for readers who want the 2011 experience)
- Step 3: Confirm It’s Actually Tracking
- The One Mistake to Avoid: Double Tracking
- What This Means for Filipino Bloggers and Creators
- The TechPatrol Take
- Article Information
Why This Guide Needed an Update
The 2011 post assumed three things that no longer hold up: a working embedded video, a Universal Analytics account, and a single line of tracking code pasted into header.php. GA4 replaced the old account structure with properties and data streams, and most WordPress users now install analytics through a plugin instead of hand-editing theme files.
One piece of the old advice still holds, and we’re bringing it back: back up your code before you touch your theme. More on that below.
Step 1: Create a GA4 Property
Before touching WordPress, set up the account on Google’s side.
- Go to analytics.google.com and sign in with your Google account.
- Click Admin (the gear icon, bottom left).
- Under Account, click Create Account if you don’t have one yet, or select your existing account.
- Click Create Property, name it after your blog, and set your reporting time zone and currency.
- Fill in your business details when prompted, then accept the terms.
This creates the property you’ll attach your website to. Once everything is connected, data collection can take up to 30 minutes to begin.
Get Your Web Data Stream and Measurement ID
Inside your new property, go to Data Streams > Add stream > Web. Enter your blog’s URL and a stream name, then click Create stream. GA4 hands you a Measurement ID in the format G-XXXXXXXXXX. Copy this down. It’s the one piece of information every installation method below needs.
Step 2: Pick an Installation Method
There’s no single “correct” way to connect GA4 to WordPress. Pick based on your comfort level with code.
Option A: Site Kit by Google (recommended for most blogs)
This is Google’s own plugin, and it’s the closest thing to a one-click install.
- In your WordPress dashboard, go to Plugins > Add New.
- Search for Site Kit by Google, install it, and activate it.
- Click Start Setup and sign in with the same Google account that owns your GA4 property.
- Grant the requested permissions, then select your GA4 property and data stream when prompted.
- Site Kit inserts the tracking code on every page automatically. No file editing required.
Option B: MonsterInsights
A dedicated analytics plugin with over 3 million installs, useful if you want to see reports without leaving your WordPress dashboard.
- Install and activate MonsterInsights from the plugin directory.
- Run through its setup wizard, connect your Google account, and select your GA4 property.
- Reports show up under Insights in your sidebar.
Option C: Manual code (for readers who want the 2011 experience)
If you’d rather paste code yourself, the way our original guide taught, do it through a header/footer plugin rather than editing theme files directly.
- Install WPCode or Insert Headers and Footers.
- Go to your GA4 property, open Data Streams, select your stream, and click View tag instructions > Install manually to copy the tracking snippet.
- Paste the snippet into the plugin’s header section and save.
The one tip from 2011 worth keeping: before you paste anything into a header, footer, or theme file, copy whatever code is already there and save it in a plain text file first. If a plugin update or a bad paste breaks your site, you paste the original back and you’re not stuck rebuilding a header from memory.
Step 3: Confirm It’s Actually Tracking
Don’t assume the install worked. Check it.
- Open your blog in an incognito window and click around a few pages.
- Go back to Google Analytics and open Reports > Realtime.
- You should see yourself listed as an active user within a few minutes, confirming the tag is firing.
The One Mistake to Avoid: Double Tracking
Installing Google Analytics through more than one method at once, say, a plugin plus manually pasted code, inflates your traffic numbers and makes every report unreliable. Pick one installation method from Step 2 and stick with it. If you switch methods later, remove the old one first.
What This Means for Filipino Bloggers and Creators
Real numbers matter more than they did in 2011, especially if your blog runs Shopee or Lazada affiliate links, AdSense, or sponsored posts. GA4’s traffic-source and engagement reports show which articles actually drive clicks to those links, not just which ones get the most views. For anyone applying to an ad network or pitching a brand for sponsored content, a working analytics setup is often the first thing they ask to see.
It’s also worth budgeting a real afternoon for this if your blog has been live since the Universal Analytics days. Historical UA data isn’t accessible anymore, so a GA4 property you set up today starts your traffic history from zero. The earlier you install it, the sooner you’re working with real trend data instead of guesswork.
The TechPatrol Take
The core lesson from our original 2011 post hasn’t aged at all: don’t touch a live theme file without a backup first. Everything around that lesson changed. GA4’s setup flow, expect it to shift again over the next few years as Google keeps folding in AI-driven reporting and predictive metrics. Bookmark this page instead of a video clip. Text doesn’t go offline.
Article Information
Original Article Published: September 24, 2011 This Update Published: July 6, 2026 Fact-Checked By: TechPatrol Editorial Team Verification Status: ✅ All facts verified against official Google Analytics Help documentation and current install guides
