If you have ever wondered how many people actually visit your website, where they come from, and what they do once they land, it is time to set up Google Analytics 4. It is Google's free measurement tool, and it turns your website from a black box into something you can actually read. Once it is running, you stop guessing and start seeing.
The setup sounds technical, but it is really just a handful of steps. In this guide I will walk you through creating your account, adding your website, installing the tag, and checking that everything works. You do not need to be a developer, and you can do the whole thing in an afternoon.
What is Google Analytics 4?
Google Analytics 4 (often shortened to GA4) is the current version of Google's website analytics platform. It replaced the older Universal Analytics in 2023, so if you find an old tutorial talking about "views" and "bounce rate" in the classic sense, it is out of date.
GA4 is built around events. Every meaningful thing a visitor does (loading a page, scrolling, clicking a link, filling out a form) is tracked as an event. That sounds complicated, but the good news is GA4 measures a lot of this automatically once the tag is in place. If you want a friendlier overview of what analytics can do for you before you dive in, our plain-English guide to small business website analytics is a good companion to this one.
Before you begin
You only need two things to get started:
- A Google account (the same kind you use for Gmail). If you already use Google for email or a Google Business Profile, you can use that account.
- Access to edit your website, or the ability to paste a snippet of code into it. On most platforms this lives in a "custom code" or "header" setting.
That is it. GA4 is free, and there is no credit card involved.
Step 1: Create your Google Analytics account
Go to analytics.google.com and sign in with your Google account. Click Start measuring to begin.
You will be asked to create an account name. Think of this as the top-level container for your business. Use your business name here. You will also see some data-sharing checkboxes; the defaults are fine for most owners, and you can change them later.
Step 2: Create a property
A property is the thing GA4 actually measures, which in your case is your website. Give it a name (your website name works well), then set your reporting time zone and currency. These matter because they decide how your daily numbers are grouped, so pick the time zone your business runs on.
Google will ask a few questions about your business size and goals. Answer honestly, but do not overthink it. These just tailor the suggested reports and do not affect what gets tracked.
Step 3: Set up a data stream
A data stream is the connection between your website and GA4. Choose Web, then enter your website URL and give the stream a name.
When you create the stream, GA4 automatically turns on Enhanced measurement. This is a nice feature that tracks common actions without any extra work:
- Page views
- Scrolls
- Outbound link clicks
- Site searches
- File downloads
- Video engagement
Leave Enhanced measurement on. It gives you a lot of useful data for free.
After the stream is created, GA4 shows you a Measurement ID that starts with G- followed by a string of letters and numbers. Keep this handy, because it is how your website tells GA4 who it is.
Step 4: Install the GA4 tag on your website
This is the step people worry about most, but it is straightforward. You have a few options depending on how your site is built.
Tip: Whichever method you choose, the tag needs to load on every page of your site, not just the homepage. That is why most platforms have a single "site-wide header" setting. Paste it once there and you are done.
Option A: A built-in analytics field
Many website builders have a dedicated spot for your Measurement ID. Look in your settings for something labeled "Google Analytics," "Integrations," or "Marketing." Paste in your G- ID and save. This is the cleanest option when it exists.
Option B: Paste the tag into your header
If there is no dedicated field, GA4 gives you a snippet of code (the Google tag) to install manually. Copy it and paste it into the <head> section of your site, or into the "header code" box your platform provides.
Option C: WordPress
On WordPress you can add the tag with a plugin or through your theme's header settings. Many essential WordPress plugins include an analytics field, and dedicated Google plugins make it a copy-and-paste job. If you are still choosing tools, our guide to WordPress for small business covers the basics.
Option D: Google Tag Manager
If you already use Google Tag Manager, you can add GA4 as a tag there instead. This is worth it once you start tracking lots of custom actions, but it is not required to get started.
Step 5: Verify it is working
Do not assume it worked. Confirm it. Open your website in one browser tab, then in GA4 go to Reports > Realtime. Within a minute or so you should see yourself counted as an active user. If you do, the tag is live.
If nothing shows up, check the most common culprits:
| Problem | Likely fix |
|---|---|
| No data in Realtime | Confirm the tag is on the page and the Measurement ID matches |
| Tag only on some pages | Move it to a site-wide header setting |
| An ad blocker is on | Test in a private window or a different device |
| Changes not saved | Re-save your platform settings and clear the cache |
What to do after setup
Getting the tag installed is the finish line for setup, but it is really the starting line for using your data. A few next steps make GA4 far more valuable:
- Connect Google Search Console. This shows you the actual search terms bringing people to your site. Our walkthrough on how to set up Google Search Console pairs perfectly with GA4.
- Mark your key events as conversions. Tell GA4 which actions matter (a form submit, a phone tap, a purchase) so you can measure real results. See our guide to tracking conversions and leads.
- Learn to read the reports. Data only helps if you understand it. Start with our guide to reading your website traffic in Google Analytics.
Give it a couple of weeks to collect data before you draw conclusions. Analytics rewards patience, and the trends over time tell you far more than any single day.
Frequently asked questions
Is Google Analytics 4 free?
Yes. GA4 is completely free for the vast majority of small businesses. There is a paid enterprise version (Analytics 360) with much higher data limits, but you are extremely unlikely to need it. You can track a normal small business website at no cost.
How long does it take for data to show up?
Real-time data appears within about a minute, which is what you use to confirm the tag works. The standard reports, however, take 24 to 48 hours to start populating fully. So do not panic if your main reports look empty on day one; check back tomorrow.
Do I need a cookie consent banner with GA4?
It depends on where your visitors are and what laws apply to you. GA4 uses cookies to measure visitors, and regions like the EU and UK require consent before those cookies load. If you serve customers in those areas, add a consent banner and configure it to hold analytics until the visitor agrees. When in doubt, check the rules for the places your customers live.