Skip to content
Digimpact

Google and SEO

Google Analytics 4 for small businesses: how to set it up and what to look at

How to set up Google Analytics 4 on a small business website, using Google's own help pages: create the account and property, add a web data stream, install the Google tag, verify data, mark key events, filter your own visits and link Search Console.

By GP 13 minute read

TL;DR: To set up Google Analytics 4 you create an account and property, add a web data stream for your site, copy the Measurement ID that starts with G- and install the Google tag, then check the Realtime report. Turn on enhanced measurement, mark your enquiry or booking action as a key event, filter your own visits and link Search Console. Data can take up to 30 minutes to appear.

Key takeaways

  • Google Analytics 4 is free and tells you how many people visit your website, where they come from and what they do. Setting it up takes four steps: account, property, data stream and tag.
  • The Measurement ID starts with G- and sits in your web data stream. Paste it into your website platform or install the Google tag on every page.
  • Google says data can take up to 30 minutes to appear, and the Realtime report shows whether it is arriving.
  • A key event is an event that measures an action particularly important to your business, such as a form submission or a phone tap. Mark yours so reports show them.
  • Event data retention is 2 months or 14 months for standard properties. Check yours and choose 14 months.
  • Filter your own visits and link Search Console so reports are accurate and show what people search for.
Setting up Google Analytics 4 in six steps: create an account, create a property, add a web data stream, copy the Measurement ID, install the tag and check the Realtime report
Six steps, about half an hour.

Most small business owners have no idea how many people visit their website, let alone what those people do. Google Analytics 4, usually called GA4, answers those questions for free. It can tell you whether the Facebook post you paid for sent anyone to the site, which page people land on and how many of them filled in the contact form.

This guide shows how to set up Google Analytics 4 on a small business website, step by step, using Google’s own help pages as they stood in October 2026. It also covers the settings most guides skip, such as key events, retention and filtering your own visits, so the numbers you see are worth trusting.

What is Google Analytics 4?

Google Analytics 4 is Google’s free web analytics tool. It collects events from your website, such as page views, clicks and form submissions, and turns them into reports on visitors, where they came from and what they did. It replaced the older Universal Analytics, and it is now the version Google supports.

GA4 works by running a small piece of code, the Google tag, on every page of your site. Each time a visitor does something, the tag sends an event to your Analytics property. You then read the results in the Analytics dashboard, in reports such as Acquisition, Engagement and Landing pages.

It is not a replacement for common sense. Analytics tells you what happened, not why. Use it alongside Search Console, which shows what people searched for before they reached you, and your own knowledge of the business.

What do you need before you start?

You need a Google account, admin access to your website and a decision about cookies. The account should belong to the business, not a freelancer, so you never lose access. Check how your website platform adds tracking code, because that decides which install method you use.

Three things to check first:

  • Who owns the account. Create it with a business email you control and add other people as users, not the other way round.
  • How your site is built. WordPress, Shopify and Wix all have a field for a Measurement ID. A hand-built site needs the code pasted into the head.
  • Your cookie banner. Our guide to cookie consent in the UK explains when analytics needs consent and what to tell visitors. Set the banner up before you switch tracking on.

You should also mention analytics in your privacy policy. Our guide to a privacy policy for a website covers what to say.

How do you set up Google Analytics 4?

Google’s help page on setting up Analytics for a website gives the sequence: create an account, create a property, add a web data stream, find the Measurement ID, install the Google tag and check that data is arriving. Here is what each step involves.

  1. Create an account. Go to analytics.google.com and select Start measuring if it is your first time. In Admin, choose Create, then Account. Enter an account name and adjust the data-sharing settings.
  2. Create a property. In Admin, choose Create, then Property. Enter a property name, the reporting time zone and currency. Select your industry category and business size. Accept the terms of service and the data processing amendment if the account is new.
  3. Add a web data stream. In Admin, under Data collection and modification, open Data streams, click Add stream, then Web. Enter your website’s URL and a stream name. Google recommends enabling enhanced measurement, which collects page views and other events automatically.
  4. Find your Measurement ID. Open the data stream and copy the Measurement ID under Stream details. It starts with G-.
  5. Install the Google tag. Use the method that matches your site, below.
  6. Verify. Open the Realtime report and visit your site in another tab. Google says data can take up to 30 minutes to appear.

You need at least the Editor role to add properties to an account. If you are working for a client, ask them to add you as an Editor rather than asking for the login.

How do you install the Google tag?

There are four common ways. If your platform has a built-in field for a Measurement ID, paste it there. If not, copy the Google tag snippet from the data stream and paste it into the head of every page. You can also use Google Tag Manager. Google lists each method on its setup page.

  • A content management system with native support. Platforms such as Shopify, Wix and WordPress plugins have a Google Analytics field. Paste the Measurement ID into it.
  • Other website builders. In the data stream, open View tag instructions and choose manual install. Paste the full tag using the builder’s custom HTML feature.
  • Directly in the HTML. Paste the tag immediately after the opening head tag on each page.
  • Google Tag Manager. Add the Google Analytics configuration tag inside your container.

Whichever method you use, install it once. A tag added twice, for example by a plugin and by hand, counts every visit double. If numbers look too good to be true, check for duplicates first.

Four ways to install the Google tag: paste the Measurement ID into a platform field, use custom HTML in a website builder, paste the tag into the page head or use Google Tag Manager
Pick one method and install it once.

What does enhanced measurement collect?

Enhanced measurement is a stream setting that collects extra events automatically. Google lists page views, scrolls, outbound clicks, site search, video engagement, file downloads and form interactions. Switch it on in the data stream settings, and untick anything you do not want.

Google’s page on enhanced measurement events describes each one:

  • Page views. Sent when a page loads or browser history changes.
  • Scrolls. Sent once per page when someone reaches 90% of the way down.
  • Outbound clicks. Sent when someone clicks a link to another domain.
  • Site search. Sent on search results pages, detected by URL parameters such as q, s, search, query or keyword.
  • Video engagement. For embedded YouTube videos, sent at start, at 10%, 25%, 50% and 75%, and at completion.
  • File downloads. Sent when someone clicks a link to a file such as a PDF, DOCX, ZIP or MP4.
  • Form interactions. form_start on a visitor’s first interaction with a form in a session, and form_submit on submission.

You need at least the Editor role at property level, and Google says you must make sure no personally identifiable information is collected. For a small site, the file download and form events are especially handy: they show who downloaded your menu or price list and who submitted the contact form.

What is a key event, and which should you set up?

Google defines a key event as an event that measures an action that is particularly important to the success of your business. Any event you collect can become one. Mark the events that match your goals, and reports will show how many users performed them and where they came from.

Google’s page on key events says key events appear as a column in reports such as Landing pages and User acquisition, and feed into explorations and attribution reports. Older guides call them conversions, so you may see that word elsewhere.

For a typical local business, the useful key events are:

  • Contact form submitted. The form_submit event, or a thank-you page view.
  • Phone number tapped. A click on a tel: link, set up as an event.
  • Booking started or completed. A click on the book button, or a confirmation page.
  • Directions requested. A click on your map link.
  • Brochure or menu downloaded. The file_download event.
Key events that suit a local business: contact form submitted, phone number tapped, booking started or completed, directions requested and a menu or brochure downloaded
Pick three at most to start.

Pick three at most to start. A long list of key events makes every report noisy. Test each one by doing the action yourself and checking that it appears in Realtime.

How long does Analytics keep your data?

For standard properties you can keep event data for 2 months or 14 months. Google says the setting only affects explorations and funnel reports, not the standard aggregated reports. Age, gender and interest data always use 2 months. Check your setting and choose 14 months, the longer option, unless you have a reason not to.

Google’s page on data retention tells you where to change it: Admin, then Data settings, then Data retention, in the Property column. You need the Editor role. Changes take effect after a 24 hour wait, and you can revert within that window.

The longer setting matters when you want to compare this year with last year in an exploration. If you leave the short option on, older data in those reports is lost.

How do you stop counting your own visits?

Define your office or home IP address as internal traffic, then create a data filter that excludes it. Google’s steps: in the data stream, open Configure tag settings, then Define internal traffic, and create a rule with a traffic_type value, then create an Internal Traffic filter in Data filters and set it to Active.

Google’s page on filtering internal traffic gives the details, and one warning: once a data filter is active, the effect on the data is permanent. Use the Testing state first, check the results in an exploration using the Test data filter name dimension, and only then switch the filter to Active. Allow 24 to 36 hours for it to take effect.

Filtering matters most for small sites. If you visit your own website five times a day to check changes, and 20 other people visit, a quarter of your traffic is you. The filter does not cover app users, and it only handles IP addresses you know, so staff working from home on changing addresses may still show up.

Filtering your own visits: define internal traffic by IP address, create an internal traffic filter in testing state, check the results, then switch it to active
Test first, because an active filter cannot be undone.

Linking Google Search Console to Analytics shows the search queries that brought people to your site, next to what they did when they arrived. Google’s steps: in Admin, under Product links, choose Search Console links, click Link, pick your account and the web data stream, then confirm. You need the Editor role and to be a verified owner in Search Console.

Google’s page on linking Search Console says the link adds two reports, Google Organic Search Queries and Google Organic Search Traffic. They are unpublished by default, so find them under Library and publish them. Reports cover up to 16 months of data, and data appears about 48 hours after Search Console collects it. Links cannot be edited: delete and recreate to change one.

Search Console and Analytics answer different questions. Search Console tells you how people found you on Google. Analytics tells you what they did next. Together they show which searches lead to enquiries. Our guide to the local SEO checklist shows how to use that.

What should you look at each month?

Keep it simple. Once a month, look at four things: how many people visited, where they came from, which pages they landed on and how many completed a key event. Compare with the previous month and the same month last year, and write down one thing to change.

A short routine:

  1. Users and sessions. Is traffic going up, down or flat?
  2. Acquisition. How much came from Google search, social media, direct visits and other sites?
  3. Landing pages. Which pages do people arrive on? Are those the pages you want?
  4. Key events. How many enquiries, bookings or calls? Which channel produced them?
  5. Devices. What share is on mobile? Check the site works well on a phone, as in our guide to website speed.

Do not chase every number. A small local business with 300 visitors a month is better off knowing that 12 of them filled in the form than studying bounce rates.

What are the common mistakes?

The common mistakes are installing the tag twice, setting it up under a freelancer’s account, not marking key events, leaving the short data retention on, counting your own visits and forgetting the cookie and privacy information. Each is easy to avoid if you set it up carefully once.

  • A double tag. Page views are doubled.
  • Someone else’s account. You lose access when they leave.
  • No key events. Reports show visits but not results.
  • Short retention. Older exploration data disappears.
  • No internal filter. Your own visits inflate the numbers.
  • No cookie or privacy information. Visitors are not told what you track.

Frequently asked questions

Is Google Analytics 4 free?

Yes, standard Google Analytics 4 is free. Some advanced features are in a paid version for large organisations, but a small business website needs only the free one.

What is a Measurement ID?

It is the code that identifies your website’s data stream, and it starts with G-. You copy it from the data stream details and paste it into your website platform, or use it in the Google tag.

How long does it take for data to show?

Google says data can take up to 30 minutes to appear. Use the Realtime report to confirm the tag is working.

What is a key event?

An event that measures an action that is particularly important to your business, such as submitting a form. Any event you collect can be marked as a key event. They were previously called conversions.

Do I need a cookie banner for Google Analytics 4?

It depends on how you set it up and on UK rules for analytics cookies. Our guide to cookie consent explains the exceptions and what the ICO expects. Check it before you switch tracking on.

Want help setting up tracking that answers real questions?

We build websites with Analytics, Search Console and enquiry tracking set up from day one, so you can see which pages and channels bring customers. Websites start from £300 a year per site, including hosting, your domain and five pages, with one fixed price in writing. See our website design and local SEO services, or start with a free website check.

Free website check

How does your own website do?

Enter your website and see a quick check on screen in about 20 seconds: speed, Google, phones and the details that win the click. A full written report follows within two working days, free and with no sales call unless you ask.

Want help with this?

Tell us about your business. We reply within one working day with a time for a 30-minute call, and a fixed quote afterwards.

Rather talk now? Call 07551 079787.

What do you need?

We use your details only to reply to you. Privacy policy

Get a fixed quote