
How to Use Google Analytics 4: The Ultimate GA4 Setup Guide for Beginners
Estimated reading time: 18 minutes
Key Takeaways
- Google Analytics 4 (GA4) is the mandatory new standard for web analytics, using a flexible event-based model that provides richer user insights compared to the old session-based Universal Analytics.
- Setting up GA4 involves creating a Property (the container for your data) and at least one Data Stream (the source of data, e.g., your website).
- Installation is most flexibly done using Google Tag Manager, but can also be achieved by adding the gtag.js code snippet directly to your site’s <head> section.
- Key reports include Real-time (live activity), Acquisition (where traffic comes from), and Engagement (what users do on your site).
- Marking important custom events as “Conversions” is crucial for tracking your most important business goals and measuring marketing effectiveness.
Table of Contents
- Introduction
- What is GA4? Unpacking the New Standard in Analytics
- The Essential GA4 Tutorial for Beginners: Core Concepts
- The Complete GA4 Setup Guide: Creating Your Account and Property
- Configuring Your First GA4 Data Stream
- How to Install the GA4 Tag on Your Website
- How to Use Google Analytics 4: Navigating Basic Reports
- Next Steps: Customizing Your GA4 Experience
- Quick Tips & Best Practices
- Conclusion
- Frequently Asked Questions (FAQ)
Introduction
Let’s be honest—data is everything when you run a website or business online. Without it, you’re basically flying blind.
Tracking website data is essential for business growth because it allows you to understand user behavior, optimize marketing efforts, and make data-driven decisions. When you know what your visitors are doing, where they’re coming from, and what makes them convert, you can make smarter choices that actually move the needle.
If you’ve just searched for how to use Google Analytics 4, you’ve come to the right place. This comprehensive guide will walk you through everything from the initial setup to understanding your first reports.
Here’s what you’ll learn in this complete GA4 tutorial designed specifically for Google Analytics for beginners:
- What GA4 actually is and why it matters
- How to create your first property from scratch
- How to install the tracking code (even if you’re not technical)
- How to navigate the basic reports to find actionable insights
By the end, you’ll have a working analytics setup and the knowledge to start making data-backed decisions for your website or business.
Let’s dive in.
What is GA4? Unpacking the New Standard in Analytics
So, what exactly is GA4?
Google Analytics 4 (GA4) is the latest and most current version of Google’s free analytics platform. It has completely replaced the older version, Universal Analytics (UA). This isn’t just a minor update—it’s a complete rebuild of how Google approaches web analytics.
The Fundamental Shift from Universal Analytics
The biggest change between UA and GA4 comes down to how each platform thinks about user interactions.
Universal Analytics used a session-based model. It focused on sessions (visits) and pageviews within those sessions. Everything was organized around these discrete visits to your site.
GA4, on the other hand, uses an event-based model. Every single user interaction is captured as an “event”—from a page view to a click, a scroll, or a form submission. This provides a much more flexible and granular way to measure user engagement and build a complete picture of the user journey.
Instead of being limited to pageviews and sessions, you can now track literally any interaction that matters to your business.
Why GA4 Actually Matters: Key Benefits
Here’s why this new approach is worth your attention:
Event-Based Tracking for Richer Insights
The event-based model gives you a more complete picture of the user journey, not just the pages they visit. You can see exactly how users interact with videos, downloads, outbound links, and custom elements on your site.
GA4 was built for a future with stricter data privacy regulations and less reliance on cookies. It offers more control over data collection, works better without third-party cookies, and helps you stay compliant with GDPR and other privacy laws.
Cross-Platform Insights in One Place
GA4 can unify data from your website and your mobile apps (iOS and Android) into a single property. This gives you a holistic view of your users across all your platforms, rather than having fragmented data in separate reports.
This Isn’t Optional Anymore
Here’s the thing: Universal Analytics officially stopped processing new data in July 2023. That means all businesses and website owners must use GA4 to collect and analyze their website traffic data going forward.
If you haven’t made the switch yet, you’re already missing out on months of valuable data.
The Essential GA4 Tutorial for Beginners: Core Concepts
Before we jump into the technical setup, let’s make sure you understand the fundamental concepts that make GA4 work.
Who Actually Needs to Use GA4?
Pretty much anyone with an online presence should be using Google Analytics for beginners-level tracking at minimum:
- Business owners who want to understand their website performance
- Digital marketers tracking campaign effectiveness
- Bloggers and content creators measuring audience engagement
- E-commerce managers analyzing shopping behavior
- App developers monitoring user activity
If you have a website or app, you need GA4. It’s that simple.
The Building Blocks: Key GA4 Terminology
Let’s break down the fundamental terms you’ll encounter in this GA4 tutorial:
Property
Think of a Property as the container for your reports and data. Your entire website (like `mybusiness.com`) and its associated app would live inside one Property. This is the main organizational unit in GA4.
Data Stream
A Data Stream is the specific source of data that flows into your Property. You’ll set up a “Web” data stream for your website, an “iOS” data stream for your iPhone app, and an “Android” data stream for your Android app. Each stream feeds data into the same Property for unified reporting.
Event
An Event is any user interaction tracked by GA4. Here are some concrete examples:
- `page_view` — when a page loads
- `scroll` — when a user scrolls 90% down a page
- `click` — when a user clicks a link
- `form_submit` — when someone fills out a form
- `video_start` — when a video begins playing
Everything in GA4 revolves around events. They’re the fundamental measurement unit.
The Simplified Account Structure
GA4’s hierarchy is simpler than what you might remember from Universal Analytics.
You have an Account (the highest level, representing your organization) which contains one or more Properties. Each Property then contains Data Streams.
Notice something missing? The “Views” level, which was a core part of Universal Analytics, no longer exists in GA4. This simplification makes management easier, though it does require different thinking about data filtering.
The Complete GA4 Setup Guide: Creating Your Account and Property
Now that you understand what GA4 is and how it’s structured, let’s actually build your first property. This GA4 setup guide will walk you through every click.
Step 1: Sign in to Google Analytics
Head to the Google Analytics homepage (analytics.google.com) and sign in with your Google account. If you don’t have a Google account yet, you’ll need to create one first—it’s free and takes just a couple of minutes.
Step 2: Navigate to the Admin Panel
Once you’re logged in, look for the gear icon labeled ‘Admin’ in the bottom-left corner of the screen. Click it.
This is your control center for all account and property settings.
Step 3: Create a New Property
In the ‘Property’ column (the middle column), click the blue “+ Create Property” button.
This launches the property creation wizard.
Step 4: Enter Property Details
This is where you’re actually setting up a GA4 property. Fill out the following fields carefully:
Property name
Choose a recognizable name, like your website or business name. For example, “My Awesome Blog” or “ABC Company Website.” You can always change this later, so don’t overthink it.
Reporting time zone
Select the time zone you operate in. This is important for accurate daily reporting. If you’re in New York, select Eastern Time. If you’re in London, select GMT. Your reports will reset at midnight in this time zone.
Currency
Choose the primary currency your business uses (e.g., USD, EUR, GBP). This affects how monetary values are displayed in your reports.
After filling these out, click “Next” to move forward with the setup process. You’ll be prompted to add some business details (industry category and size), which help Google customize your reports.
Then click “Create” to finalize your property.
You’ve just created your first GA4 property! But you’re not collecting data yet—we still need to set up a data stream.
Configuring Your First GA4 Data Stream
Remember how we talked about GA4 data streams being the connection that sends data from a specific source into your property? Now it’s time to actually create one.
What Data Streams Do
A data stream is the pipeline that feeds real-time information from your website or app into your GA4 property for analysis. Without at least one data stream configured, your property is just an empty shell.
Creating a Web Data Stream: Step-by-Step
Right after creating your property, GA4 will prompt you to set up your first data stream. Here’s how to do it:
Step 1: Choose a Platform
You’ll see three options: Web, iOS app, and Android app.
For most people following this guide, select “Web”.
Step 2: Enter Web Stream Details
You’ll need to provide two pieces of information:
Website URL
Enter the full URL of your website, including the `https://` part. For example: `https://www.mywebsite.com`
Stream name
Give it a descriptive name that helps you identify it later. Something like “My Website – Web Stream” or “Main Site Traffic” works perfectly.
Step 3: Enable Enhanced Measurement
Here’s where GA4 gets really powerful.
“Enhanced Measurement” is a feature that automatically tracks key events without requiring you to write a single line of code. Make sure this toggle is turned ON (it usually is by default).
With Enhanced Measurement enabled, GA4 will automatically track:
- Page views (`page_view`) — every time a page loads
- Scrolls (`scroll`) — when users scroll 90% down a page
- Outbound clicks (`click` with `outbound: true`) — clicks on links going to other domains
- Site search (`view_search_results`) — when users search your site
- Video engagement (`video_start`, `video_progress`, `video_complete`) — interactions with embedded videos
- File downloads (`file_download`) — clicks on PDFs, documents, etc.
This automatic tracking is incredibly valuable and would normally require custom coding to implement.
Step 4: Click “Create Stream”
Hit that blue button, and you’re done!
You’ll now land on a page showing your Web Stream Details. This page contains two critical pieces of information you’ll need in the next step: your Measurement ID and your Global Site Tag.
Keep this page open—you’ll need it in just a moment.
How to Install the GA4 Tag on Your Website
This is the part where we connect your website to your new GA4 property. Don’t worry—even if you’re not technical, this GA4 tutorial will walk you through it clearly.
Understanding What You’re Installing
Before we jump in, let’s clarify what you’re working with:
Measurement ID
This is the unique identifier for your data stream. It looks like this: `G-XXXXXXXXXX`
This ID tells Google exactly where to send the data being collected from your site.
Global Site Tag (gtag.js)
This is the JavaScript code snippet that needs to be added to your website to actually collect the data. It’s a small piece of code that runs on every page of your site.
Two Installation Methods (Pick What Works for You)
You have two main ways to install the GA4 tag. Choose whichever fits your technical comfort level and website setup.
Method 1: Using Google Tag Manager (Recommended)
Google Tag Manager (GTM) is the most flexible and modern method for adding tracking to your site. If you’re already using GTM, this is definitely the way to go. If you’re not, it’s worth considering—GTM makes adding and managing all sorts of tracking tags much easier.
Here’s how to add GA4 through GTM:
- Log in to Google Tag Manager and select your website’s container.
- Go to “Tags” in the left sidebar, then click the “New” button in the top-right corner.
- Name your tag something clear like “GA4 Configuration” or “Google Analytics 4 Tracking.”
- Under “Tag Configuration,” click the tag type box and choose “Google Analytics: GA4 Configuration” from the list.
- Paste your Measurement ID (the G-XXXXXXXXXX code) into the “Measurement ID” field.
- Under “Triggering,” click the triggering box and select the “Initialization – All Pages” trigger. This ensures the tag fires on every page of your site.
- Save the tag by clicking the Save button in the top-right.
- Click “Submit” to publish your changes, then click “Publish” to push the update live.
That’s it! Your GA4 tag is now active through Google Tag Manager.
Method 2: Directly in Your Site’s Header
If you’re not using Google Tag Manager, you can add the tracking code directly to your website’s code. This method is simpler if you just need basic tracking.
- From your GA4 Web Stream Details page, find and click the “Install manually” tab (or look for “View tag instructions” and then “Install manually”).
- Copy the entire gtag.js code snippet that appears. It’ll look something like this:
<!– Google tag (gtag.js) –>
<script async src=”https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX”></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(‘js’, new Date());
gtag(‘config’, ‘G-XXXXXXXXXX’);
</script> - Access your website’s backend code. How you do this depends on your platform:
- WordPress: Go to Appearance > Theme File Editor, or use a plugin like “Insert Headers and Footers”
- Shopify: Go to Online Store > Themes > Actions > Edit Code
- Wix: Use the Custom Code feature in Settings
- Squarespace: Go to Settings > Advanced > Code Injection
- Paste the snippet immediately after the opening `<head>` tag on every page of your site. Most platforms have a way to add code that automatically appears on all pages—use that.
- Save your changes and publish your site.
The Critical Step: Verify Your Installation
Don’t skip this part! You need to confirm that data is actually flowing into GA4.
Here’s how to verify everything is working:
- Go back to your GA4 property and navigate to Reports > Real-time in the left sidebar.
- Open your website in a new browser window (make sure any ad blockers are disabled for this test).
- Browse around your site for a minute—visit a few pages, click some links.
- Look back at the Real-time report in GA4. Within 30-60 seconds, you should see your visit appear, showing at least one active user.
If you see yourself in the report, congratulations! Your GA4 installation is working perfectly. If not, double-check that you copied the code correctly and that it’s placed in the right location on your site.
How to Use Google Analytics 4: Navigating Basic Reports
Now that data is flowing into your GA4 property, it’s time to learn how to use Google Analytics 4 to actually extract insights. Let’s take a tour of the main reports you’ll use most often.
The Real-Time Report: Your Live Window
The Real-time report shows what’s happening on your site right now—as in, this very second.
To access it, go to Reports > Real-time in the left navigation.
Here’s what you can see:
- How many users are currently active on your site
- Where they’re located geographically
- What pages they’re viewing at this moment
- What events are firing in real-time
- How they arrived (their traffic source)
This report is perfect for:
- Testing new campaigns or content launches
- Verifying that tracking is working
- Getting a quick pulse check on site activity
You won’t use this for deep analysis, but it’s incredibly useful for immediate validation.
The Acquisition Report: Where Your Traffic Comes From
The Acquisition report answers the critical question: “Where do my users come from?”
Navigate to Reports > Acquisition > Traffic acquisition to see this data.
This report breaks down your traffic into channels like:
- Organic Search — visitors from Google, Bing, and other search engines
- Direct — people who typed your URL directly or came from bookmarks
- Referral — visitors from other websites that linked to you
- Social — traffic from Facebook, Twitter, LinkedIn, Instagram, etc. (Source)
- Paid Search — clicks from Google Ads or other paid search campaigns
- Email — visitors from email campaigns
- Organic Social — unpaid social media traffic
Understanding your acquisition channels tells you which marketing efforts are working and where to focus your energy.
The Engagement Report: What Users Actually Do
The Engagement report answers: “What are my users doing on my site?”
This is where you’ll spend a lot of time. Navigate to Reports > Engagement.
Events
The Events report showcases a count of all events being tracked on your site. You’ll see `page_view`, `scroll`, `click`, and any custom events you’ve configured.
This helps you understand which interactions are most common and which features of your site get the most engagement.
Pages and Screens
This report lists your most-viewed pages, showing:
- Views — how many times each page was loaded
- Users — how many different people viewed the page
- Average engagement time — how long people spent on that page
- Event count — total interactions on that page
Use this to identify your most popular content and pages that might need improvement.
Understanding Key Metrics
GA4 introduces some new metrics that work differently than Universal Analytics:
Engaged Sessions: A session that lasted longer than 10 seconds, had a conversion event, or had at least 2 pageviews. This is a more meaningful metric than raw sessions because it filters out bounces and very brief visits.
Average Engagement Time: The average time users spent actively engaged with your site (not just having a tab open in the background). This is more accurate than the old “time on page” metric.
These metrics give you a better picture of genuine user interest.
Explorations: Your Custom Analysis Playground
While the standard reports cover the basics, Explorations is where GA4 really shines.
Click Explore in the left navigation to access this section.
Explorations allow you to build your own custom reports and funnels for deeper insights. You can:
- Create custom segments of users
- Build funnel visualizations to see where users drop off
- Analyze user paths through your site
- Set up cohort analysis to track user retention
- Cross-reference multiple dimensions and metrics
Think of Explorations as a powerful analysis toolkit that goes far beyond the pre-built reports.
Next Steps: Customizing Your GA4 Experience
Once you’ve got the basics down from this GA4 tutorial, it’s time to customize your setup to track what matters most to your specific business.
Custom Events and Conversions: Track What Matters
Beyond the automatic events that Enhanced Measurement provides, you can configure custom events for important actions specific to your business.
For example:
- Newsletter sign-ups
- Product demo requests
- Video completion milestones
- Add to cart actions
- Specific button clicks
You can set these up through Google Tag Manager or directly in GA4’s interface, depending on the complexity.
Once you’ve created custom events, here’s the powerful part: any event can be marked as a “Conversion” in the GA4 admin panel. This allows you to track your most important business goals and see exactly which traffic sources and user behaviors lead to conversions.
To mark an event as a conversion, go to Admin > Events, find your event in the list, and toggle on “Mark as conversion.”
Audiences: Segment Your Users
An Audience in GA4 is a segment of users with shared attributes. You might create audiences like:
- Users from a specific country or region
- Users who viewed a particular product category
- Users who made a purchase
- Users who visited more than 5 pages
- Mobile users vs. desktop users
These audiences serve two main purposes:
Analysis: Filter your reports to see how specific segments behave differently
Remarketing: Export these audiences to Google Ads for targeted advertising campaigns
To create an audience, go to Admin > Audiences and click “New audience.”
Custom Dashboards and Saved Reports
The default “Home” report in GA4 provides a nice overview, but you’ll likely want to customize it to show the metrics you care about most.
You can also build reports in the Explorations section and save them for quick, recurring access. This is perfect when you need to check the same analysis regularly—like a weekly traffic breakdown or monthly conversion funnel.
Create a custom report once, save it, and you’ve got instant access to that exact view whenever you need it.
Quick Tips & Best Practices
Here are some actionable tips to get the most out of your Google Analytics for beginners setup:
Regularly Check Your Data Stream Settings
Every month or so, revisit your data stream configuration to ensure Enhanced Measurement remains active and is tracking correctly. Sometimes updates or changes to your site can affect tracking.
Use UTM Parameters for All Marketing Campaigns
UTM parameters are tags you add to your URLs (like `?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale`) to precisely track where your traffic is coming from. This is absolutely essential for measuring marketing ROI. Without UTMs, all your email traffic might just show up as “Direct” in your reports, which tells you nothing about which campaigns work. (Learn More)
Leverage GA4’s AI-Powered Insights
Keep an eye on the “Insights” section on your GA4 homepage. GA4’s artificial intelligence automatically finds anomalies and trends in your data—things like unusual spikes in traffic, emerging search terms, or changes in user behavior.
These automated insights can alert you to opportunities or problems you might otherwise miss. It’s like having a data analyst working 24/7 in the background.
Set Up Event Tracking Early
Don’t wait to configure custom events for your important actions. The sooner you set them up, the sooner you’ll have historical data to analyze. You can’t go back in time to collect data you didn’t track.
Learn the Keyboard Shortcuts
GA4 has several keyboard shortcuts that make navigation faster. Press `?` while in GA4 to see the full list.
Export Important Reports Regularly
Data retention settings in GA4 can automatically delete older data (especially for free accounts). If you have reports you’ll want to reference historically, export them to Google Sheets or download them monthly.
Conclusion
You’ve just completed a comprehensive journey through how to use Google Analytics 4.
You started from zero and now you have a working GA4 property, a properly installed tracking tag, and a solid understanding of the basic reports that will drive your decision-making.
You’ve learned how to create a property from scratch, how to configure GA4 data streams for your website, and how to navigate the interface to extract meaningful insights about your users.
This data foundation is incredibly powerful. You now have the tools to make smarter decisions about your content, your marketing, your user experience, and ultimately, your business growth. Instead of guessing what works, you can actually see what your users are doing and respond accordingly.
But this is just the beginning. GA4 has incredibly deep capabilities that we’ve only scratched the surface of in this beginner-focused GA4 setup guide.
As you get comfortable with the basics, explore more advanced features:
- Custom dimensions and metrics
- Advanced segmentation in Explorations
- Predictive metrics powered by machine learning
- Integration with Google Ads and Search Console
- BigQuery export for enterprise-level analysis
The official GA4 documentation is comprehensive and continually updated. Bookmark it for whenever you want to dive deeper into a specific feature.
The most important thing is that you now have a working setup. Data is flowing in. You can start learning from real user behavior today.
Run into any roadblocks during your GA4 setup? Share your questions or challenges in the comments below! I read every comment and do my best to help troubleshoot.
Want more tutorials like this? Subscribe to our newsletter for the latest tips on analytics and digital marketing. We break down complex topics into simple, actionable guides just like this one.
Now go check your Real-time report—I bet you’ve got some data waiting for you!
Frequently Asked Questions (FAQ)
Why did Google switch from Universal Analytics to GA4?
Google created GA4 to adapt to modern user behavior and privacy standards. GA4’s event-based model is more flexible for tracking users across websites and apps, and it’s designed to work in a world with fewer cookies and stricter privacy laws like GDPR.
Can I still use Universal Analytics (UA)?
No. Universal Analytics stopped processing new data in July 2023. All new data collection and analysis must be done in Google Analytics 4. While you might still be able to access historical UA data, it is no longer collecting information.
What is the main difference between a Session and an Event in GA4?
In the old Universal Analytics, a Session was the main unit of measurement, representing a user’s visit. In GA4, everything is an Event. A `page_view` is an event, a `scroll` is an event, and a `click` is an event. This makes tracking more granular and user-centric rather than visit-centric.
Do I need to be a developer to install GA4?
Not necessarily. Using Google Tag Manager (GTM) allows you to install GA4 without touching any code. Even the direct installation method just involves copy-pasting a code snippet into your website’s header, which many platforms (like WordPress or Squarespace) make easy to do through a simple interface.
What are “Enhanced Measurement” events?
Enhanced Measurement is a powerful GA4 feature that automatically tracks common user interactions without any extra setup. When you enable it, GA4 will automatically collect data for events like page scrolls (to 90%), outbound link clicks, site search, and file downloads.