GA4 Setup for Beginners: A Step-by-Step Guide to Configuring Google Analytics 4 Correctly

GA4 Setup for Beginners: A Step-by-Step Guide to Configuring Google Analytics 4 Correctly

If you have ever logged into Google Analytics 4 and felt lost, you are not alone. GA4 works very differently from the old Universal Analytics, and a rushed setup is the number one reason marketers end up with messy, untrustworthy data. This guide walks you through a proper GA4 setup step by step, so you can configure Google Analytics 4 correctly the first time and trust the numbers you are looking at.

By the end of this article, you will know how to create a GA4 property the right way, connect it to your website, set up the tracking that actually matters, and avoid the common mistakes that lead to inflated traffic numbers or missing conversion data. This is written for beginners, so we will avoid unnecessary jargon and explain each term as it comes up.

Why a Proper GA4 Setup Matters

Google Analytics 4 is not just a redesign of the old tool — it is built on a completely different data model. Universal Analytics tracked sessions and pageviews. GA4 tracks events, which is a more flexible way of recording anything a user does, like clicking a button, watching a video, or submitting a form. This flexibility is powerful, but it also means the default setup does not capture everything a business actually needs to measure.

A sloppy setup creates problems that compound over time: duplicate tracking that inflates pageviews, missing conversion events that make campaigns look like they are underperforming, or internal traffic (like your own team browsing the site) skewing your reports. Fixing these issues months later means you lose historical data quality, since GA4 cannot retroactively correct how events were recorded. Getting the setup right from day one saves you from having to explain confusing numbers to your boss or client later.

GA4 Setup for Beginners: A Step-by-Step Guide to Configuring Google Analytics 4 Correctly - first section

Step 1: Create Your GA4 Property and Data Stream

Start by signing into analytics.google.com with the Google account you want to manage analytics with. If you previously used Universal Analytics, keep in mind that UA has been fully decommissioned and its data deleted, making GA4 the sole platform for current tracking.

  1. Click Admin (the gear icon in the bottom left) and select Create Property.
  2. Enter your business name, select your reporting time zone and currency, and click Next.
  3. Answer the basic questions about your business size and how you plan to use Analytics — this just helps Google tailor default reports, so answer honestly.
  4. Choose your platform: Web, iOS app, or Android app. For most small businesses and marketers, this will be Web.
  5. Enter your website URL and give the data stream a name, such as Main Website.
  6. Click Create Stream.

Once your data stream is created, GA4 will show you a Measurement ID that looks like G-XXXXXXX. This ID is what connects your website to this specific GA4 property, so keep it handy — you will need it in the next step.

Tip: If you manage multiple distinct websites or brands, create a separate GA4 property for each website rather than combining them into a single property with multiple data streams. User permissions and key settings are managed at the property level, not the data stream level, and separate properties keep your reporting cleanly isolated.

Step 2: Install the Tracking Code Correctly

With your Measurement ID in hand, you need to get the GA4 tracking code onto every page of your website. There are three common ways to do this, and the right choice depends on your technical setup.

MethodBest ForHow It Works
ArrayArrayArray
ArrayArrayArray
ArrayArrayArray

Google Tag Manager is generally the better long-term choice because it lets you add and adjust tracking without asking a developer to edit code every time. If you are already comfortable with a plugin-based approach and only need basic tracking, that is a perfectly reasonable starting point too.

Do not install GA4 tracking code in more than one place at a time — for example, both directly in your theme and through a plugin. Duplicate installations are the leading cause of doubled pageview counts, and this mistake is surprisingly common.

After installing the code, use the Realtime report in GA4 (found in the left-hand menu) to confirm data is flowing in. Open your website in a new browser tab, click around for a minute, and check whether that activity shows up in Realtime. If nothing appears within a few minutes, double-check the Measurement ID and confirm the tag is firing using Google Tag Assistant, a free browser extension.

Step 3: Configure Events and Key Events

GA4 automatically tracks some events without any extra work, including page_view, first_visit, session_start, and scroll (when a user scrolls 90% down a page). These are useful, but they will not tell you whether someone actually completed a meaningful action, like submitting a contact form or completing a purchase. That is where custom events and key events come in.

In GA4, important business interactions are designated as ‘key events’ (formerly referred to in GA4 simply as conversions; the term ‘conversion’ is now reserved for key events shared with Google Ads). For an e-commerce store, that might be a purchase event. For a service business, it might be a form submission or a phone number click. Here is how to set these up:

  1. In Google Tag Manager, create a trigger for the action you want to track, such as a click on a Submit button or a Thank You page visit.
  2. Create a corresponding GA4 event tag that fires on that trigger and sends the data to your GA4 property.
  3. Publish the changes in Tag Manager and test using Preview mode before going live.
  4. In GA4, go to Admin > Data display > Events to confirm the new event is appearing.
  5. Toggle on Mark as key event next to the relevant event (or define it under Admin > Data display > Key events).

For example, imagine you run a small landscaping business and your website’s main goal is getting people to submit a quote request form. Without marking that form submission as a key event, your GA4 reports will only tell you how many people visited your site — not how many actually became leads. Once it is set up properly, you can see exactly which traffic sources, campaigns, or landing pages are driving real business results, not just visits.

GA4 Setup for Beginners: A Step-by-Step Guide to Configuring Google Analytics 4 Correctly - second section

Step 4: Clean Up Your Data With Filters and Settings

Raw data is rarely clean data. A few configuration steps early on will prevent your reports from being skewed by traffic that does not reflect real customers.

  1. Exclude internal traffic: Go to Admin > Data collection and modification > Data streams > your stream > Configure tag settings > Show more > Define internal traffic, and add your office or home IP address so your own visits do not count as customer sessions.
  2. Set up an internal traffic filter: Under Admin > Data collection and modification > Data filters, activate the internal traffic filter you just defined (changing its state from Testing to Active) so it actually excludes that traffic rather than just tagging it.
  3. Enable Google Signals: This enables demographic reporting and audience sharing with Google Ads, found under Admin > Data collection and modification > Data collection.
  4. Set data retention: Under Admin > Data collection and modification > Data retention, extend the event data retention period to 14 months (the maximum offered on standard free properties) instead of the default two months, which allows for longer historical analysis in Explorations.
  5. Link Google Ads and Search Console: Under Admin > Product links, connect these accounts so advertising and organic search data flow directly into your GA4 reports.

Tip: Set a recurring quarterly reminder to review your GA4 configuration. Websites change, new forms get added, and campaigns evolve — your tracking setup needs occasional maintenance to stay accurate.

Common Setup Mistakes to Avoid

Even with the steps above, a few recurring mistakes trip up beginners. Watch out for these:

MistakeWhy It Is a ProblemQuick Fix
ArrayArrayArray
ArrayArrayArray
ArrayArrayArray
ArrayArrayArray

Universal Analytics has been completely decommissioned and all UA data deleted by Google, so past UA data cannot be transferred into GA4 or exported from the UA interface. GA4 only begins counting data from the date it is actively installed and configured.

Key Takeaways

Setting up GA4 correctly is less about clicking through a wizard and more about being deliberate at each stage: creating the property and data stream properly, installing tracking code in exactly one place, configuring the events and key events that reflect real business outcomes, and cleaning up your data with filters and proper settings. Skipping any of these steps tends to surface as confusing or misleading reports down the road, usually right when you need reliable data most, like during a campaign review or budget conversation.

Take it one step at a time: get the property live, confirm tracking works in Realtime, add your key events, then layer on the data-cleaning settings. A careful GA4 setup today means dependable, decision-ready data for months and years to come.

Want to go deeper on analytics and reporting?

Explore more step-by-step guides on GA4 reporting, key event tracking, and building marketing dashboards that actually help you make decisions.

See how we can help