In this post
To set up Google Analytics 4, you create a property, add a web data stream for your site and install the Google tag on your pages. Google's own help page describes these three steps: create a Google Analytics 4 property, add a data stream and add your Google Analytics code. This guide walks through them for a small business owner.
Why set up Google Analytics 4 at all?
Without measurement, you are guessing which pages, adverts or posts bring in customers. Analytics will not make decisions for you, but it shows you what visitors actually do, which is a better starting point than opinion.
Before you start
You need a Google account and access to your website. If your agency built the site, ask whether tracking is already installed, so you do not collect data twice. To add a data stream, Google says you need Editor access or higher on the property.
Step 1: Create the property
This is the container for all your website data.
Sign in to Google Analytics and create a new property. You will be asked for a property name, your reporting time zone and your currency. Use your business name for the property, and pick the time zone and currency you actually trade in so that your reports make sense.
Step 2: Add a web data stream
A data stream is the source of the data. For a website, choose the Web option and enter your site address and a name for the stream.
When the stream is created, you will see its details. Among them is the Measurement ID. Google says it starts with "G-". Copy it, because you need it in the next step.
Step 3: Install the Google tag
Google describes three routes to install the tag:
- Use your platform's setting. If your website builder or content management system has a field for a Google tag or Measurement ID, paste it there. This is the easiest route.
- Paste the code manually. Copy the tag from the stream's tag instructions and paste it straight after the opening head tag on each page.
- Use Google Tag Manager. This is a separate tool that lets you add and change tags without editing the site each time. It takes longer to learn but suits sites that will add more tracking later.
For most small sites, the first route is enough. If you are not comfortable editing page code, ask your developer to do the manual route or to set up Tag Manager.
Step 4: Check that it works
After installing, open your website in a browser, then look at the real-time report in Google Analytics. You should see yourself as a visitor. Google says data collection may take up to 30 minutes to begin, so wait before you assume something is wrong.
If nothing appears, check these common causes:
- The Measurement ID was copied with a typo or extra space.
- The tag is on the home page only, not on every page.
- A cache or security plugin is serving an old version of the page.
- A browser extension or ad blocker is hiding your own visit. Try another browser.
What to look at first
Do not try to read every report. Start with a few questions:
- Which pages do people visit most?
- Where do visitors come from, such as search, social media or direct visits?
- Which pages lead people to contact you or buy?
Those answers show you where to spend time. They are also useful if you work on SEO, because you can see which pages attract visitors from search.
Privacy and consent
Tracking visitors can bring legal duties that depend on where your visitors are. These can include telling people what you collect and, in some places, asking for consent. Rules differ by country, so check the guidance that applies to you, or get professional advice, before you switch tracking on. We have not covered the rules here.
How to set up Google Analytics 4 without making a mess
A few small habits keep your data trustworthy. Install the tag once, not twice. Exclude your own visits if you can, because staff clicking around can distort a small site's numbers. And give yourself a recurring reminder to check the reports monthly.
Keep it tidy
- Make sure the right people have access, and remove people who have left.
- Do not share the account under one personal login.
- Keep the account in your business's own Google account, not an agency's, so you keep your data if you change providers.
- Note down the Measurement ID and where the tag is installed.
Google changes its tools and menus from time to time, so use Google's current help pages if the screens look different.
If you would like help with setup, tracking goals or reading the reports, our digital marketing team can help. Get in touch and tell us what you want to measure.
Common questions
Do I need a developer to install the tag?
Not always. Many website platforms let you paste the Measurement ID into a settings page. If yours does not, a developer can add the tag for you in a few minutes.
Why is my report empty after setup?
Data can take a while to appear. Google says collection may take up to 30 minutes to begin. If it is still empty after that, check that the tag is on every page.