Universal Analytics is gone. GA4 is the new standard — but it's a fundamentally different product. Here's everything you need to understand to hit the ground running.
GA4 has been the default Google Analytics product since July 2023, when Universal Analytics was permanently sunset. And yet, a year later, I still encounter companies running on incomplete migrations, broken event schemas, and dashboards that tell half the story.
This guide is the one I wish had existed when I started. Let's fix that.
The biggest mistake people make is treating GA4 as a "UA upgrade." It isn't. It's a completely different data model.
Universal Analytics used a session-based model:
GA4 uses an event-based model:
This sounds abstract, but the practical implication is huge: your UA reports will not map to GA4 reports. You need to rethink your measurement framework from scratch.
In GA4, everything is an event. A pageview is an event (page_view). A purchase is an event (purchase). A button click is an event you define yourself.
Each event can carry up to 25 custom parameters that describe the action:
// Sending a custom event
gtag('event', 'cta_click', {
cta_label: 'View Projects',
cta_location: 'hero',
page_path: '/home'
})
GA4 automatically collects these events without any code changes:
session_start — when a new session beginsfirst_visit — on first visitpage_view — on each page viewscroll — when a user scrolls 90% of a pageclick — on outbound clicksGoogle provides a schema of recommended events for common use cases. Use them where possible — they enable Predictive Analytics and future integrations:
| Event | Use Case |
|---|---|
purchase | E-commerce transactions |
generate_lead | Lead generation forms |
begin_checkout | Checkout funnel |
view_item | Product page views |
login | User authentication |
You'll get a Measurement ID (format: G-XXXXXXXXXX).
Don't add the GA4 snippet directly to your code. Use GTM:
GA4 defaults to 2 months of event data retention. Change it to 14 months in Admin → Data Settings → Data Retention. Do this immediately — you can't recover data retroactively.
GA4's free BigQuery export is one of the best things about it. Connect it immediately in Admin → BigQuery Linking. This gives you access to raw event data for advanced analysis.
Google Signals enables cross-device reporting and demographic data. Enable it in Admin → Data Settings → Data Collection.
For validation, use the DebugView — enable debug_mode: true in GTM or use the GA4 Debugger Chrome extension. Realtime has a ~30 second delay and excludes some events.
Before you start tagging, document your measurement framework. What decisions does this data support? What events map to those decisions? A tracking plan saves weeks of rework.
If you're starting from scratch, here's my recommended event priority:
GA4 is more powerful than UA when properly implemented. The event-based model, combined with BigQuery export and predictive audiences, opens doors that UA never could.
The key is to invest in a proper measurement framework upfront — not retrofit tracking after launch. Start with your business objectives, work backwards to events, and document everything.
Comments
Get analytics insights and design experiments delivered to your inbox. No spam, ever.