Module 1: Getting Started with Google Analytics 4
Your data journey starts here
Understand what GA4 is, create your account and property from scratch, install the tracking code on your website, and verify data collection in real-time reports.
- Explain what Google Analytics 4 is and why it matters for any business with an online presence
- Create a GA4 account, property, and data stream from scratch
- Install the GA4 tracking code on a website directly or via Google Tag Manager
- Verify that data is being collected using the real-time reports
- Understand the difference between GA4 and the legacy Universal Analytics
- What GA4 is and the event-based data model
- How GA4 replaced Universal Analytics in July 2023
- Free GA4 vs paid Google Analytics 360
- Creating an account, property, and web data stream
- The Measurement ID (G-XXXXXXXXXX) and enhanced measurement
- Three installation methods: gtag.js, Google Tag Manager, CMS plugins
- Verifying data collection with real-time reports
- Common installation mistakes and how to avoid them
What Is Google Analytics and Why It Matters
GA4 Data Flow - From your website through the tracking tag to reports and explorations
GA4 is completely free for most businesses. Google also offers Google Analytics 360, a paid enterprise version with higher data limits, advanced features, and dedicated support. For small and medium businesses, the free version is more than sufficient. The bottom line is simple: if you have a website and you are not using Google Analytics, you are making decisions based on guesswork instead of data. GA4 gives you the facts you need to understand what is working, what is not, and where to focus your effort.Watch video: What Is Google Analytics and Why It Matters
Key Insight: GA4 replaced Universal Analytics on 1 July 2023. The biggest change is the event-based data model - every user interaction (page view, scroll, click, purchase) is tracked as an individual event, giving you much more detailed and flexible data.
Real-World Example: A local bakery set up GA4 on their website and discovered that 70% of their traffic came from mobile phones, but their online ordering page was hard to use on small screens. After making the ordering page mobile-friendly, online orders increased by 40% in the first month.
Q: What is the main difference between GA4 and the older Universal Analytics?
GA4 uses an event-based data model where every user interaction (page views, scrolls, clicks, purchases) is recorded as an individual event. Universal Analytics used a session-based model that grouped actions into visits. The event-based approach gives you much more detailed and flexible data about user behaviour.
Think about your own website. What are the three most important things you would want to know about how visitors use it? How would having that data change the decisions you make about your online presence?
Setting Up Your GA4 Account
Watch video: Setting Up Your GA4 Account
Key Insight: GA4 uses a three-layer structure: account (your business), property (one per website or app), and data stream (data flowing in from web, iOS, or Android). Enable Enhanced Measurement to automatically track six common interactions - page views, scrolls, outbound clicks, site search, video engagement, and file downloads - with zero extra setup.
Real-World Example: When setting up GA4 for a Malaysian online store, the owner selected the wrong time zone (US Pacific instead of GMT+08:00 Kuala Lumpur). For three months, their "daily" reports showed data split at 4pm Malaysian time instead of midnight. After correcting the time zone, their daily traffic patterns finally made sense.
Q: What does the GA4 Enhanced Measurement feature do?
Enhanced Measurement automatically tracks common user interactions without extra setup. This includes page views, scrolls (90% depth), outbound clicks, site search, video engagement with YouTube embeds, and file downloads. You can toggle each event type on or off individually.
If you already have a website, do you currently have any analytics tracking installed? If you were to set up GA4 today, which of the enhanced measurement events would be most valuable for understanding how people use your specific site?
Installing GA4 on Your Website
Watch video: Installing GA4 on Your Website
Key Insight: Google Tag Manager is the recommended installation method for most businesses because it lets you manage all tracking codes from one dashboard without editing website code. For simple websites, the direct gtag.js snippet works fine. CMS users can use built-in plugins for the easiest setup.
Real-World Example: A small bakery in Penang installed GA4 using the direct gtag.js method. Everything seemed fine until they noticed zero data after a week. The problem? Their website used a caching plugin that served the old page (without the tracking code) to all visitors. After clearing the cache and adding a cache-busting rule, data started flowing immediately - they could see 120 daily visitors in the real-time report within minutes.
Q: After installing GA4 tracking code on your website, what is the quickest way to verify it is working correctly?
The real-time report in GA4 (Reports > Real-time) shows active users, page views, and events as they happen with only a few seconds delay. By browsing your own website and checking the real-time report, you can immediately confirm that the tracking code is installed correctly and sending data.
Action step: If you have a website, check right now whether you have any analytics tracking installed. Look at your page source code for "gtag" or "googletagmanager" scripts. If you find nothing, which of the three installation methods would be the best fit for your website platform?