Google Analytics for Beginners: Getting Started with GA4

Get started with Google Analytics 4 (GA4) in this beginner's guide. Learn the basics of setting up, navigating the interface, and leveraging data insights to track and enhance your website performance.

 153
Google Analytics for Beginners: Getting Started with GA4
Google Analytics for Beginners: Getting Started with GA4
  • What Is Google Analytics?

    Google Analytics is a no-fee website analytics tool that helps the marketer understand their site performance much better. While Google Search Console provides data in more detail on how users find websites through Google organic (unpaid) search, Google Analytics deals with all traffic sources: organic search, paid search, social media, and others. Beyond informing you of how your users arrive at your site, it has data that tells you what they do after arrival. That includes which pages they view and what actions they take.

    Google Analytics can also seem complicated and confusing at first. But it doesn't have to be. In this guide, we'll teach you the basics of Google Analytics and help you install it on your site. Okay, so let's quickly get through this.

    Universal Analytics


    Universal Analytics (UA) is not the current version of Google Analytics. It wasn't even near the first version. But, anyway, the version made Google Analytics a big deal. In 2012, Google released a beta version that almost went viral in digital marketing circles. How viral? According to Statista, the sum of all versions of Google Analytics holds a share of over 70% in the web analytics software market.

    This is what the dashboard used to look like:

    What the dashboard in Universal Analytics looked like

    Universal Analytics

    But you won't see it these days.

    That's because Universal Analytics was set to stop processing new data in standard accounts on July 1, 2023. So marketers started adjusting to the latest Google Analytics 4.

    Google Analytics 4

    Google Analytics 4 (often called GA4) is the new standard Google Analytics platform. The platform initially was released as a beta in 2019 and called the "App + Web" property.

    The dashboard in GA4 looks like this:

    Google Analytics 4

    It doesn't look all that different, does it?

    However, there are some fundamental differences between GA4 and UA, especially for those who were used to the old one.

    Differences Between GA4 and UA

    Understanding these two differences between GA4 and UA will help you understand today's Google Analytics better.

    Difference 1: Event-Based Information

    Google Analytics measures user interactions on a site. Each of those user interactions is called a "hit," and it becomes part of the data you can see in your Google Analytics reports. The point of collection in GA4: "event level." So, effectively, all hits in GA4 are collected as events. Universal Analytics collected data in several ways using multiple "hit types." You can see below for a comparison: on the left, the various UA hit types, and on the right, how these hit types translate to GA4's event-based data.

    Events

    The GA4 event-based data model means some metrics and reports are now different in Google Analytics. We'll see this in greater detail when we go through the basics later in this guide.

    Note: Differences like this have been so disorienting for some marketers that they're exploring Google Analytics alternatives. However, Google Analytics is still a handy and powerful tool for those who learn how to use it.

    Difference 2: A New Account Structure and New Data Streams

    Google Analytics 4 has a different account structure than UA, introducing a new concept of a "data stream." Universal Analytics had an account, a property, and a view. Generally speaking, at the account level, there was organization, then property related to a digital property—for example, a website or an app. For UA, data could be viewed at the Account, Property, or View level. The View level is where data was considered. GA4 consists of an account and a property level. But there are no views.

    The account level works the same way it did in UA. The property level is different. Remember when we said that GA4 originally came out as the "App + Web" property? That is Google Analytics will now combine data from a website and an app to form a single unified picture. This way, not only a website but also an app can have its own unique data streams fed into the complete picture of user behavior within the GA4 property.

    We'll see how to set up a data stream when we get to the installation walkthrough below. But first, let's answer a critical question. What does Google Analytics do?

  • What Is Google Analytics Used For?

    Google Analytics helps answer important questions about how your website (or app) is performing. So you can find ways to improve.

    Note: We'll discuss only GA4 for the remainder of this article because UA is no longer supported. The platform should help answer the following questions:

    • Who was on your website? You can learn what the interests of your users are, what languages they speak, what cities they live in, and from what countries they come.Google Analytics Country Wise Users
    • What occurred on your site? You can see how many pages were viewed, how many links have been clicked, how many videos have been played, and much more. Google Analytics will show you how often these interactions take place.
      Google Analytics 4 Events
    • When did the various events occur? To provide the analysis of relevant time frames, you may change the date range. You can also compare the performance in different timeframes and watch the trend year by year or month by month.
      Google Analytics 4 Date Filter
    • Where your visitors came from: You will see precisely what contributes most/least traffic to your website. Let's check the report for the "Acquisition Overview" next. Look over to the table on the far right, and see that the vast majority of the traffic comes from organic search: in other words, unpaid traffic from search engines. Organic social and email contribute a tiny percentage of that traffic.
      Google Analytics Acquistation Overview

    Pro tip: An organization with a traffic profile like this might choose to prioritize its keyword research to continue strengthening its organic search performance.

    After answering these questions, you will know what works and what doesn't. And you can use this information to keep improving your results over time.

  • How Does Google Analytics Work?

    Google Analytics works by collecting data from your website and then creating reports for you to analyze your data.

    A tracking code needs to be installed on the site for it to work, which could be as simple as:

    Google Analytics 4 Tracking Code

    When a user arrives at a site with this tracking code, Google Analytics will deploy a cookie in the person's web browser. This cookie will contain data about the visitor's session. These details of visitor activity will be that which is located within your Google Analytics reports.

    How does this data look?

    Let's see several moves from right to left. Similar to that shown below.
    Google Analytics 4 Data Cycle

    Step 1: A user visits a Google Analytics website. The Google Analytics code sends a cookie to that user's web browser.

    Step 2: From now on, every single action of this user on the website will be tracked by Google Analytics.

    Step 3: The actions of the user are processed on Google Analytics servers.

    Step 4: Information from that processing is available for review and analysis in Google Analytics.

    Now, let's set up Google Analytics on your website.

  • How to Set up Google Analytics

    To set up Google Analytics, this is a two-step process.

    Step number one is that you need to create a Google Analytics 4 property. This will produce your unique tracking code.

    Step number two is that you have to install that tracking code on your website.

    Let's dive into this Google Analytics how-to and set up your account.

    Create a Google Analytics Account

    First, log in to Google Analytics with your Google account.

    If you've never had a Google Analytics account before, this is the screen you're going to see.

    Google Analytics 4 Getting Started

    Click on "Start measuring" and move on down to Step 1 below.

    If you have used Google Analytics before (with the email address you've used to log in), you won't get this welcome screen. If that is your situation, click on the gear in the bottom left of your screen to access the admin area.

    Google Analytics 4 - Create Account

    Then click "Create Account" and follow through Step 1 below.

    1. Set up Your Account

    First, you will name the account. 
    GA4 - Add Name To Property

    You can pick whatever name you want; however, use your business name.

    Google will give you the option of what type of information to share with Google in this step. Like "Technical support" (who could assist with a technical problem in the future) and "Account specialists" (who could call you in the future to sell services).

    Then click "Next"

    2. Create Your GA4 Property

    Now, name your property.

    Note: Remember the property level is where the data lives in Google Analytics. If you have more than one website, then you can have more than one property all inside of a single account.

    Once again, you can name anything you like. It doesn't hurt to probably name it after the domain of the website you're going to track, in addition to that, you can choose your reporting time zone and your currency.

    GA4 - Setup Time Zone

     After you've made your choices, you click "Next."

    3. Provide Your Business Information

    Now, choose the industry category you think is closest to yours in the drop-down. If nothing matches, you can pick "Other Business Activity".

    And then select your business size. 

    Click "Next."

    GA4  - Setup Business

    4. Select Your Business Objective and Accept Terms of Service

    The choice you make here pre-loads the reports in your Google Analytics property.

    That's all right; you can simply click "Get baseline reports" and add more later if needed.

    GA4 - Reports Setup

    Then click "Create".

    So now you'll need to agree to the terms of service for Google Analytics.

    Review and choose "I Accept" for the data processing terms.

    GA4 - Agree

    5. Setting Your Data Stream:

    You can now collect data so that you can set up your data stream. This data stream will send data to your Google Analytics property. Select the type of platform you are working on.

    Choose the Web if you are working on a website.

    GA4 - Data Stream Setup

    You can now configure your web data stream, and you should see the section looking like this:

    GA4 - Create Data Stream

    There are three things to do here:

    1. Enter your website URL.
    2. Give your data stream a name. You can name it whatever you want. If your domain was www.templatecorp.com, maybe you choose Stream Name: Template Corp Website.
    3. Make sure the blue toggle bar is switched on for "Enhanced measurement"—this enables you to track the number of essential interactions like file downloads, external link clicks, and embedded video plays without doing any custom work.

    With all that is done, it's time to implement the tracking code to put your data stream in a position to start data flow to GA4.

    Install Google Analytics

    You can install Google Analytics on your website. Once you have finished with the configuration of your stream within GA4, you will be taken to the following screen, which has a "MEASUREMENT ID" field unique to your property and a "View tag instructions" button.

    Google Analytics 4 - Measuremnt Tag

    Once you click the button, you'll be given three installation options:

    1. You can install the code manually on your website.
    2. You can install the code via a plugin or integration, where applicable.
    3. You can use Google Tag Manager to install the code.

    Pro tip: If you've already got Google Tag Manager running on your site, the third option will likely be the easiest. You can follow the installation instructions in this Google Tag Manager guide. We'll choose a manual.

    How to Install GA4 Manually:

    To start the installation from your data stream, click the "View tag instructions" button.

    Now click on the linked header text that says "Install manually". This is the tracking code that's going to fire GA4.

    Click the "copy" icon to copy it to your clipboard.

    GA4 - Install Tag

    Now, go to your website and paste the code high in the < head > section of the page. By putting the tag at the top of the < head> section, it is timed to fire correctly, and you get more accurate data.

    Note: If you're not comfortable editing your website code, reach out to a developer. Some WordPress plugins will allow you to do this without editing template files directly.

    Congratulations, your Google Analytics 4 is now up and running on your website!

  • Google Analytics Basics

    Data streams into your Google Analytics property.

    From where, you wonder? 

    Google Analytics data is the information about visitors and their interactions on your website.

    Here are the top categories:

    • Users
    • Views
    • Sessions
    • Events
    • Conversions.

    See how it all works below.

    Users

    A user is an individual who comes to your website.

    Google Analytics uses cookies to help track the number of these unique individuals who visit your site. As a point of illustration, see the data table below. 

    GA4 - Users

    A data table in Google Analytics with the "users" column highlighted. You are doing a bit more when you use Google Analytics than just counting users. You can analyze the behavior of those users. For example, what exact page do they view?

    Page views

    Google Analytics records a view each time a user views a page on your site.

    If a user views a page, leaves the site, and then returns to that page in a few minutes, that counts as two views.

    Here is a sample data table which has a list of top pages by views. Google Analytics data table: similar to a webpage, but pulled from Google Analytics.

    GA4 - Page Views

    Pro tip: you can quickly access this same report in your own GA4 property. Simply click 'Reports' in the left-hand navigation, then choose 'Pages and screens' within the reporting area called 'Engagement'.

    Sessions

    A session is when a user visits—not just views—your website. You may have one or multiple sessions on your website.

    During a session, many things might happen: like viewing a page, downloading a file, playing a video, clicking a link, or completing a form.

    In each case, Google Analytics attributes the interaction to a different session identifier. This way, you know which interactions happened within a session.

    A session ends when the visitor exits your site or after 30 minutes of inactivity.

    Here is an example partial data table from a Google Analytics property that had 27,053 sessions during the selected date range. 

    GA4 - Sessions

    Note: The count of sessions should never be lower than the count of users. That's because you can't have a session without a user.

    Events

    During a session, the user interacts with your site in various ways. They might be downloading a file, playing a video, scrolling on the page, clicking a link, or completing a form. The thing he does is referred to as an event.

    For example, Google Analytics can track events like scrolls, session starts, clicks, etc. Like in this image: a data table in Google Analytics with the "event name" column highlighted.

    GA4 - Events

    When it comes to events, there are four basics to understand:

    1. All website interactions are tracked as events. But there are different kinds of events, and they’re treated differently.
    2. Google Analytics will track some events by default. Some of those cannot be turned off. These are known as "automatically collected events".
    3. Assuming that during the setup phase, you left the toggle for "Enhanced measurement" turned on, you are also tracking enhanced measurement events by default. You can turn some of these off whenever you want in case they are not a fit for your measurement needs. Here's a link to Google's resource if you want to learn more.
    4. Also, you can directly track some events within your setup work. For some of these events, Google will give you a proposed name to stick to. Google refers to these as "recommended events." All the rest of the events you make are referred to as "custom events." They are similar to each other in that you must do all the work to create them, Note: Some custom events can be configured directly within the Google Analytics interface, but sometimes custom events will necessitate the use of Google Tag Manager. Just one of the many beautiful things about using Google Tag Manager in conjunction with Google Analytics.

    Conversions

    Conversions are the most critical type of user interaction on your website.

    If you're an eCommerce website, that likely means a sale. For example, when you run a lead generation website, the most critical action could be submitting a contact form.

    You will, however, want to identify which specific events should be counted as conversions you would like to monitor. This is very quickly done in GA4 from events that you already track. It means you would like to do this going forward once your GA4 property has specific events recorded.

    You can even generate that event data yourself by clicking on your site. For example, assume you wanted to measure the file download event (file_download) as a conversion. With enhanced measurement, this would be calculated automatically.

    Here's how.

    Click "Admin" in the bottom left of the Google Analytics interface ("Admin" button in the lower left of the Google Analytics interface).

    GA4 - Settings > Admin

    In the middle of the screen, under the property settings, click on "Events".

    GA4 - Events

    The "Events" button is highlighted in the property settings. Now you will see a list of all the events that have been tracked in Google Analytics.

    Scroll down to find the file_download event. Use the toggle on the right side of the screen to "Mark as conversion" marking the file_download event as conversion.

    GA4 - Enable Events

    You've now created a conversion.

    Note: You can still get value from Google Analytics if you don't set up conversions. Although it does help when it comes to evaluating your site content and traffic channels.

  • How to Use Google Analytics

    Now that you have the basics down, it's time to go in and use Google Analytics.

    Let's go through some ways you might use the platform to analyze metrics from your key pages and then refine your marketing strategy based on what you learn.

    Get to Know Your Important Pages with Google Analytics

    GA4 allows you to easily find out information about the best and worst content performers.

    Let's go to the "Pages and screens" report.

    1. Go to the left-side navigation and select "Reports".
      GA4 - Reports
    2. Scroll down the "Engagement" reporting area and click "Pages and screens".
      GA4 - Engagement

    You will then receive a list of your most viewed pages with the data properly ordered from highest to lowest in the "Views" column.
    GA4 - Pages

    The results of these metrics can also be scrutinized for performance:

    • Views per user: The average number of times each user views the page
    • Average engagement time: The average length of time the page was in focus in the web browser
    • Conversions: The number of conversions coming from each page

    Pro tip: Clicking the arrow directly to the left of a column header in a report will sort the data by that Google Analytics metric.

    Now let's see how you can use Google Analytics to analyze your traffic and improve overall performance.

    Refine Your Marketing Strategy According to Performance

    GA4 will let you know which marketing channels are driving the best performance so you can focus on what is most important and work to fix what is not working.

    For that, let's use the "Traffic acquisition."

    1. Stick to the "Reports" section.
      GA4 - Reports
    2. Expand the reporting area titled "Acquisition" and then click on "Traffic acquisition."
      GA4 - TA

    You'll see a breakdown of how your website acquires traffic. Based on channels like organic search, direct (users who came directly to your site), referral (users who came to your site from another site), etc.
    GA4 - Traffic Source

    You can analyze these acquisition metrics to understand channel performance and learn how you might refine your marketing strategy.

    Here's one way that could work:

    The most important channel in your current traffic is organic search, with a high share of overall traffic and conversions. In comparison, organic social drives very low traffic and hasn't produced one conversion yet.

    Let's say you've determined that organic social could be a potential source of growth. So, what organic search landing pages are driving the most traffic and conversions is likely one of the first places to start. Maybe you look at building some kind of social campaign around the content for those top pages and ensure it's some kind of exciting series of posts that direct people to those pages.

    Here's another thought: Notice how paid search has the lowest engagement rate but the highest number of conversions to organic search. You can make a hypothesis: that "CTAs on my ad copies for Paid Search seem to be driving Conversions well." How could you be empowered to use them in new ways? Use them as inspiration for in-page banners within your organic content to drive further conversions on pages that you know your readers are engaging with.

  • Google Analytics Tutorials

    You have learned so much about Google Analytics now, and there's more to come—tutorials that will further speed up your learning.

    You can start with these Google tutorials.

    Here, you can choose your path. The "Analytics for beginners and small businesses" path is useful for those starting.

    Click on "Get started" below that section.

    Google Analytics Tutorials

    From here, you'll be able to choose a specific training.

    If you have been following along, you would already have set up a property.

    Reviewing Part Two, "Finding Your Way Around Analytics," seems to be a pretty safe bet.
    GA4 - Tutorials

    Here you'll learn how to personalize your reports, which is a useful next step.

    You can even test your knowledge with the certification track in Google's Skillshop. Just use the search bar at the top of the page and type "Google Analytics Certification."

    But the certification is optional. Many Google Analytics beginners get more long-term value from the platform by using it regularly to analyze user behavior and traffic performance. Comparing your performance with that of the competitors will further magnify your analytical insights.