What is Google Analytics 4 Tracking?
GA4's event-based tracking model is a fundamental shift from the Universal Analytics you're used to, capturing user interactions with much more detail than old-school pageviews. This article explains how GA4 tracking works, breaks down the different types of events, and guides you through the concepts you need to understand user behavior on your site or app.
From Pageviews to Events: Why GA4 Tracking is Different
If you used Universal Analytics (UA), you were trained to think in terms of sessions and pageviews. A user would arrive on your site, start a "session," and every page they visited would be counted as a "pageview." While simple, this model struggled to capture what people were actually doing on those pages and couldn't easily track users across different devices or platforms, like a website and a mobile app.
GA4 replaces that old playbook. Instead of a session-based model, it uses an event-based model. This means that literally every interaction a user has is captured as a distinct "event."
Why the change? Two big reasons:
- The Modern Customer Journey: People don't just visit one page on your website from their desktop anymore. They might discover you on Instagram, visit your site on their phone, and then make a purchase later from their laptop. The event-based model is designed to stitch together this complex, cross-platform journey into a single, cohesive user story.
- User Engagement Matters More Than Clicks: A pageview doesn't tell you if someone read your blog post, watched a video, or just bounced immediately. Events capture these meaningful interactions, like scrolls, clicks, and form submissions, giving you a better understanding of genuine engagement.
In short, GA4 shifts the focus from "How many pages did they view?" to "What did they actually do?"
The Core of GA4: Understanding Events
In GA4, an "event" is any action a user takes on your website or app. This seems broad, but it’s the key to its flexibility. Scrolling down a page is an event. Clicking a button is an event. Watching a video is an event. A purchase is an event. GA4 categorizes these into four main types.
1. Automatically Collected Events
Right out of the box, as soon as you install the GA4 tracking code, it starts collecting a fundamental set of events without any extra setup. These are the basics you need to understand traffic flow.
Some of the most common automatically collected events include:
session_start: Fired when a user session begins.first_visit: Captures the very first time a user visits your site or app.page_view: Tracked each time a page loads (this is the one you’ll recognize from UA).user_engagement: Fired periodically while a user is actively engaged with your site in the foreground.
You don’t have to do anything to enable these, GA4's default tracking handles it for you.
Free PDF Guide
AI for Data Analysis Crash Course
Learn how to get AI to do data analysis for you — the best tools, prompts, and workflows to go from raw data to insights without writing a single line of code.
2. Enhanced Measurement Events
This is where GA4 starts to show its real power. Enhanced Measurement is a set of more advanced user interactions that you can enable with a simple toggle switch in your GA4 settings - no code required. In the old days of Universal Analytics, tracking things like outbound clicks or file downloads required setting up complicated triggers in Google Tag Manager. Now, it's just a click away.
You can find these settings under Admin > Data Streams > (Select Your Stream) > Enhanced measurement. The events include:
- Scrolls (
scroll): Tracks when a user scrolls 90% of the way down a page. This is great for understanding if people are actually reading your content. - Outbound clicks (
click): Logs every time a user clicks a link that leads them away from your website. Perfect for tracking clicks on affiliate links or links to social profiles. - Site search (
view_search_results): Records what terms users are searching for in your website’s native search bar. - Video engagement (
video_start,video_progress,video_complete): Tracks interactions with embedded YouTube videos on your site, telling you if people are starting, playing through, and finishing them. - File downloads (
file_download): Fires when a user clicks a link to a common file type, like a PDF, document, or spreadsheet.
3. Recommended Events
Next, Google provides a list of "recommended" events. These aren't tracked automatically, but Google has established a list of common event names and parameters for standard business scenarios. While you could name an event anything you want, using Google's recommended names helps GA4 understand your data better and unlocks more detailed, built-in reporting features.
For example, instead of naming a purchase event completed_transaction, Google recommends you use purchase.
The recommendations are organized by industry. For an e-commerce site, recommended events include:
add_to_cartbegin_checkoutpurchaseview_item_list
For a lead generation site, you might use:
generate_leadsign_up
Following these naming conventions is a best practice that ensures consistency and makes your reports more useful down the road.
4. Custom Events
If there's an action you want to track that doesn't fit into the other categories, you can create a custom event. This gives you complete flexibility to measure what matters most to your specific business goals.
For example, you might create custom events to track:
- A click on a non-essential but important button (e.g., "Request a Quote").
- Submission of a newsletter subscription form.
- Interactions with a specific feature on your site, like a savings calculator.
You typically create and send custom events using Google Tag Manager or by adding small snippets of JavaScript code directly to your site.
Parameters: The Context Behind Every Event
Knowing that a purchase event occurred is useful. But knowing what was purchased, its price, and its product category is far more valuable. This is where parameters come in.
Parameters are additional pieces of information sent along with an event to give it context. Think of them as the details that answer the "who, what, where, when, and why" behind every action.
For example, when a user adds an item to their cart, an add_to_cart event is sent. That event can have parameters like:
currency: 'USD'value: 99.99item_name: 'Running Shoes'item_brand: 'Nike'item_id: 'SHOE-123'
Many of the automatic and recommended events already come with their own predefined parameters. When you create custom events, you can define your own custom parameters to send whatever extra data you need. For these custom parameters to show up in your reports, you’ll need to register them as Custom Dimensions or Custom Metrics inside GA4's admin panel.
How to Set Up Basic GA4 Tracking
Getting started with GA4 tracking is fairly straightforward. Here’s a high-level overview of the steps involved.
Step 1: Create a Google Analytics 4 Property
If you don't already have one, your first step is to log in to your Google Analytics account and create a new GA4 property. Google will guide you through the process, asking for basic information like your property name, industry, and time zone.
Free PDF Guide
AI for Data Analysis Crash Course
Learn how to get AI to do data analysis for you — the best tools, prompts, and workflows to go from raw data to insights without writing a single line of code.
Step 2: Install the GA4 Tracking Code
After creating the property, you need to set up a "data stream" for your website. This will generate a unique "G-" Measurement ID and a chunk of JavaScript code known as the Global Site Tag (gtag.js). You have two main options for getting this onto your site:
- Direct Installation: Copy the entire gtag.js snippet provided by Google and paste it into the
<head>section of every page on your website. This is simple, but can be cumbersome to manage. - Using Google Tag Manager (GTM): This is the recommended method. In GTM, you create a new tag of the type "Google Analytics: GA4 Configuration." Then, you simply paste your "G-" Measurement ID into the tag and set it to fire on all pages. GTM acts as a container for your tracking scripts, making it far easier to add and manage events later without needing to touch your website's code.
Step 3: Enable Enhanced Measurement
As mentioned earlier, one of the easiest wins is to enable Enhanced Measurement. By default, it's usually on when you create a new data stream. Double-check by going to Admin > Data Streams > Your Web Stream and ensuring the toggle is switched on. You can click the gear icon to customize which interactions you want to track.
Step 4: Verify Your Tracking is Working
Once your tag is installed, you need to confirm that it's collecting data. Here are two quick ways to check:
- The Realtime Report: In the GA4 interface, go to the Realtime report. If everything is working, you should see yourself as an active user within a few minutes. As you navigate your site, you’ll see the page views and other events you trigger show up in the report.
- Google Tag Manager's Preview Mode: If you used GTM, "Preview" mode is a lifesaver. It opens a debug version of your site in a new tab. As you browse, the GTM debug panel will show you exactly which tags have fired and the data they sent to GA4.
Final Thoughts
Switching from Universal Analytics to GA4's event-based tracking feels like a big leap, but it’s a positive one. It trades the simple (but limited) metric of pageviews for a richer, more flexible model that captures what users are actually doing on your site. By understanding events, parameters, and how to get your basic tracking set up, you're on your way to getting a clearer picture of your user journey.
Once all this great event data is flowing into Google Analytics, the next challenge is turning it into clear answers. We've made that process painless at Graphed. Instead of wrestling with GA4's complex reporting interface, we let you connect your data and then simply ask questions in plain English. You can say things like, “Which traffic sources drove the most sign-ups last month?” or "Build me a dashboard showing US mobile users vs. desktop users,” and get instant answers and live visualizations without needing to become a data expert.
Related Articles
Facebook Ads for Roofers: The Complete 2026 Strategy Guide
Learn how to run effective Facebook ads for roofers in 2026. Discover proven targeting strategies, ad types, and campaign funnels that generate high-quality roofing leads.
Facebook Ads for Hair Salons: The Complete 2026 Strategy Guide
Learn how to run profitable Facebook ads for hair salons in 2026. This guide covers audience targeting, ad creatives, retargeting strategies, and budget optimization to get more bookings.
Facebook Ads For Yoga Studios: The Complete 2026 Strategy Guide
Learn how to use Facebook ads for yoga studios to drive trial memberships and grow your practice in 2026. Complete setup guide, expert tips, and retargeting strategies.