Mastering Product Analytics with Mixpanel & GA4Lesson 5 of 32
Lesson 5 of 32

GA4 Architecture vs Universal Analytics: The Event-Based Measurement Model

Overview & Learning Objectives

In 2023, Google completely retired Universal Analytics (UA) and replaced it with Google Analytics 4 (GA4). The old model was built around "Sessions" and "Pageviews"—a design invented in 2005 for desktop web pages. GA4 replaces all of that with a unified Event-Based Measurement Model that treats websites, Android apps, and iOS apps as unified streams of events. In this lesson, you will master the 4 tiers of GA4 events and how to structure your reports.

  • Understand why GA4 abandoned the legacy Session/Hit model in favor of the flexible Event/Parameter model.
  • Differentiate between Automatically Collected Events, Enhanced Measurement, Recommended Events, and Custom Events.
  • Learn how Custom Dimensions and Custom Metrics register event parameters in GA4 reports.
Example

Real-World Example: Old Newspaper Punchcards vs Modern Video Game Achievements

PRACTICAL CONTEXT
  • Scenario: Old newspaper punchcards (Universal Analytics sessions) vs modern video game achievement logs (GA4 events).
  • Universal Analytics: Tied every metric to rigid 30-minute session blocks and pageviews.
  • GA4 Paradigm: Treats every interaction (scroll, click, purchase) as a flexible, standalone event across web and mobile.
Corporate / Tech Term Everyday / Practical Metaphor Operational Meaning
Old Universal Analytics (UA) Paper train ticket with punched holes Rigid session-based hit counter built for old desktop websites.
Google Analytics 4 (GA4) PlayStation Achievement System Flexible event-based engine tracking web and mobile apps together.
Enhanced Measurement Auto-pilot camera recording video replays GA4 automatically tracking scrolls, video plays, and file downloads without coding.
Core Principle: Always check Google's Recommended Event list before creating a custom event name! Using recommended names unlocks pre-built e-commerce reports.

Visual Infographic: The 4 Types of GA4 Events

GA4 TAXONOMY INFOGRAPHIC
Stage 1
1. Automatically Collected

Fires with zero setup: `session_start`, `first_visit`, `user_engagement`.

Stage 2
2. Enhanced Measurement

1-click toggles in GA4 admin: `scroll`, `click`, `file_download`, `video_start`.

Stage 3
3. Recommended Events

Google standard names for e-commerce: `view_item`, `add_to_cart`, `purchase`.

Stage 4
4. Custom Events

Your company specific features: `calc_mortgage_clicked`, `quiz_submitted`.

Industry Standard & Framework

Standard: Google Analytics 4 Schema & Measurement Protocol Standards.

Real-World Business Application: Cult.fit Fitness App & Web Unified GA4 Measurement

Cult.fit tracks fitness class bookings across their React web portal and iOS/Android mobile apps in a single GA4 property.

User ActionGA4 Event NameCategory TypeKey Event Parameters
Opens App First Time`first_open`Automatically Collected`previous_app_version`, `engagement_time_msec`
Scrolls Down 90% of Workout Page`scroll`Enhanced Measurement`percent_scrolled: 90`
Views Boxing Class Schedule`view_item`Recommended Event`item_id: "BOX_101"`, `item_category: "Boxing"`
Books 3-Month Gym Membership`purchase`Recommended Event`transaction_id`, `value: 9999`, `currency: "INR"`

Step-by-Step UI Tutorial & Visual Workflow Guide

Below is the practical, non-technical walkthrough showing how Product Analysts design, review, and execute this capability inside real-world tools like Mixpanel, Google Analytics 4, BigQuery, and Google Tag Manager.

Step-by-Step Execution Workflow

EXECUTION PHASES
1 Product Analyst
Create GA4 Property

Set up GA4 Property in Google Analytics Admin with correct reporting timezone and currency (INR).

2 Product Analyst
Enable Enhanced Measurement

Turn on auto-tracking toggles for 90% scroll depth, outbound clicks, and site search.

3 Product Analyst & PM
Map Recommended Events

Align product funnels with standard e-commerce names: `begin_checkout`, `add_payment_info`, `purchase`.

4 Product Analyst
Register Custom Dimensions

Go to Admin -> Custom Definitions -> Map custom parameter `gym_city` to an Event-Scoped Custom Dimension.

5 QA & Analyst
Validate in DebugView

Inspect real-time event parameter validation before public feature launch.

Google Analytics 4 Admin & Custom Definitions

Step-by-Step UI Tutorial: Registering Custom Dimensions in GA4

Step 1
Step 1: Open Custom Definitions

Log into GA4 -> Click gear icon (Admin) at bottom-left -> Under Data display, click "Custom definitions".

Step 2
Step 2: Create Custom Dimension

Click blue "Create custom dimension" button.

Step 3
Step 3: Configure Dimension Name & Parameter

Dimension name: "Workout Category" -> Scope: "Event" -> Event parameter: `workout_category`.

Step 4
Step 4: Save & Wait 24 Hours

Click "Save". The custom dimension is now available in Exploration reports and audience builders.

Universal Analytics (Old) vs GA4 (New) Paradigm Shift

PARADIGM MATRIX
dimensionlegacy U Amodern G A4
Data ModelSession & Pageview-based100% Event & Parameter-based
Cross-Platform StitchingSeparate properties for Web and AppsUnified Data Streams (Web, iOS, Android in one property)
Hit Limits & Pricing10M hits/month free limitNo hit volume limit (Event rate limits apply)
BigQuery Data Warehouse LinkRequired $150,000/yr GA360 license100% FREE BigQuery export for all users

Implementation Guidelines for Product Analysts

  • Never send event parameters without registering them as Custom Dimensions in GA4, or they will be invisible in standard reports.
  • Use the standard `purchase` event name for revenue to unlock built-in Lifetime Value (LTV) and e-commerce dashboards.
  • Verify that enhanced measurement scroll tracking measures 90% depth, and implement custom triggers if you need 25%/50%/75% checkpoints.

Practical Hands-On Exercises

  1. Name 3 GA4 automatically collected events and describe when each fires.
  2. Explain why Google removed "Bounce Rate" as a primary metric in GA4 and introduced "Engagement Rate".