Google Analytics 4 (GA4) Setup & Navigation
Google Analytics 4 is the industry-standard web analytics platform — and understanding it is non-negotiable for any serious digital marketer. GA4 replaced Universal Analytics in July 2023 with a fundamentally different data model: event-based tracking (rather than session-based), cross-device tracking, and built-in machine learning insights. This module covers setup, navigation, and the key reports every marketer must know.
GA4 Core Concepts
- Event-based model: In GA4, everything is an event. A page view is an event. A scroll is an event. A button click is an event. A purchase is an event. This unified model enables more flexible analysis than the old session/pageview model.
- Properties and Data Streams: A GA4 Property represents your business. Within it, you create Data Streams for each platform (website, iOS app, Android app) that you want to track.
- Sessions: GA4 still has sessions (a period of continuous engagement), but they're calculated differently and can span multiple platforms.
- Users: GA4 uses three user metrics: Total Users (unique users in period), New Users (first visit), Active Users (engaged with 1+ sessions). 'Active Users' is the default — more meaningful than raw unique visitors.
- Consent mode: GA4 works with Google's Consent Mode to model behavior for users who reject cookies — providing estimates rather than gaps in data.
GA4 Setup Checklist
- Create GA4 Property in Google Analytics admin (analytics.google.com)
- Add Web Data Stream with your website URL
- Install GA4 tracking code: Google Tag Manager (recommended), direct code on website, or CMS plugin (Shopify, WordPress)
- Verify installation using GA4 DebugView in real-time
- Enable enhanced measurement (automatically tracks: scrolls, outbound clicks, site search, video engagement, file downloads)
- Create Conversion Events: Mark key events as conversions (purchases, leads, sign-ups) in Admin → Events → Mark as Conversion
- Link Google Ads account for full cross-channel attribution
- Set up Audience definitions for remarketing and reporting segments
Key GA4 Reports for Marketers
- Acquisition Overview: Where are your visitors coming from? Shows Session Source/Medium breakdown — organic, paid search, social, email, direct, referral.
- Traffic Acquisition: Drill into channel performance — sessions, engaged sessions, engagement rate, conversions, revenue per channel.
- Engagement → Pages and Screens: Which pages get the most views? Average engagement time per page. Identifies your highest-value content.
- Conversions report: Shows how many conversions occurred, by event name and by source. Your primary ROI measurement report.
- Explorations (custom reports): Funnel Exploration (custom conversion funnel), Path Exploration (user journey flows), Segment Overlap (audience comparison). The most powerful custom analysis tool in GA4.
- Realtime report: Live view of current visitors — useful for monitoring campaigns at launch, event tracking validation, and real-time conversion monitoring.
Tip
Tip
Practice Google Analytics 4 GA4 Setup Navigation in small, isolated examples before integrating into larger projects. Breaking concepts into small experiments builds genuine understanding faster than reading alone.
GA4 event-based. Track LTV/CAC.
Practice Task
Note
Practice Task — (1) Write a working example of Google Analytics 4 GA4 Setup Navigation from scratch without looking at notes. (2) Modify it to handle an edge case (empty input, null value, or error state). (3) Share your solution in the Priygop community for feedback.
Quick Quiz
Common Mistake
Warning
A common mistake with Google Analytics 4 GA4 Setup Navigation is skipping edge case testing — empty inputs, null values, and unexpected data types. Always validate boundary conditions to write robust, production-ready digital marketing code.
Key Takeaways
- Google Analytics 4 is the industry-standard web analytics platform — and understanding it is non-negotiable for any serious digital marketer.
- Event-based model: In GA4, everything is an event. A page view is an event. A scroll is an event. A button click is an event. A purchase is an event. This unified model enables more flexible analysis than the old session/pageview model.
- Properties and Data Streams: A GA4 Property represents your business. Within it, you create Data Streams for each platform (website, iOS app, Android app) that you want to track.
- Sessions: GA4 still has sessions (a period of continuous engagement), but they're calculated differently and can span multiple platforms.