← Blog

How to set up Google Analytics on your website.

A simple step-by-step guide to understanding who visits your site and what they do there.

Piet Duijnstee | April 2026 | 4 min read

Your website is live. People are visiting. But how many? From where? And are they actually doing anything?

Google Analytics answers all of this. And setting it up is easier than you think.

It's completely free, takes about 15 minutes, and gives you a clear picture of what's happening on your site. No coding knowledge required.

What Google Analytics actually tells you

Google Analytics is a free tool from Google that tracks what happens on your website. In plain English, it tells you:

How many people visit

Total visitors per day, week, or month

Where they come from

Google, social media, a link someone shared, or typed your URL directly

Which pages they look at

Your homepage, services page, blog posts, contact page

How long they stay

Seconds, minutes, or if they leave right away

What devices they use

Phone, tablet, or desktop computer

What they do

Click a button, fill out a form, download something

Why does this matter? Because without data, you're guessing. If nobody visits your services page, maybe it's hard to find. If 80% of your visitors are on mobile but your site looks broken on phones, that's a problem you can fix. If most of your traffic comes from Instagram but you're spending all your time on LinkedIn, now you know where to focus.

Setting it up (step by step)

Here's exactly what to do. The whole thing takes about 15 minutes.

Step 1: Create your account

Go to analytics.google.com and sign in with your Google account. The same one you use for Gmail works fine. Click "Start measuring" to begin.

Step 2: Name your property

Google will ask you to create a "property." That's just a fancy word for your website. Enter your business name and select your country and timezone.

Step 3: Set up a web data stream

Choose "Web" as your platform and enter your website URL. This tells Google which website to track.

Step 4: Copy your measurement ID

You'll get a measurement ID that starts with G- followed by some letters and numbers (like G-ABC123XYZ). Copy this. You'll need it in the next step.

Step 5: Add the tracking code to your website

This is where the magic happens. Google gives you a small piece of code (called a "tag") that needs to go on every page of your website. You have three options:

  • If you use WordPress: Install the free "Site Kit by Google" plugin. It handles everything for you.
  • If you use Squarespace or Wix: Go to your site settings, find the "Tracking" or "Analytics" section, and paste your measurement ID there.
  • If you have a developer: Ask them to paste the Google tag in the <head> section of every page. They'll know exactly what that means. It takes five minutes.

Step 6: Verify it works

Open your own website in a browser tab. Then go back to Google Analytics and click "Realtime" in the left menu. You should see yourself as an active visitor. If you do, it's working.

Good to know

Google Analytics only starts collecting data from the moment you install it. It can't show you what happened before. So the sooner you set it up, the sooner you start learning about your visitors.

The 5 reports that actually matter

Google Analytics has a lot of features. Most of them you'll never need. Here are the five reports worth checking regularly:

1. Realtime

Shows who's on your website right now. Great for checking if your tracking works, or seeing immediate traffic after posting something on social media.

2. Acquisition

Where your visitors come from. Google search, Instagram, a link on another website, or typing your URL directly. This tells you which marketing channels are actually sending people your way.

3. Engagement

Which pages get the most attention and how long people spend on them. If your services page gets a lot of views but your contact page doesn't, maybe your call-to-action needs work.

4. Demographics

Who your visitors are: what country they're in, what language their browser uses, and whether they're on a phone or computer. Useful for making sure you're reaching the right audience.

5. Conversions

Did visitors actually do something valuable? A "conversion" is any action you care about: filling out your contact form, clicking your phone number, downloading a PDF. You can set these up as goals so Google tracks them automatically.

Google Analytics setup checklist

Track your progress. Your checkmarks are saved automatically.

0% 0 / 8
Created a Google Analytics account
Added my website as a property
Set up a web data stream
Copied the measurement ID
Added the tracking code to my website
Verified tracking works in Realtime
Checked the Acquisition report
Set up at least one conversion goal

Common mistakes to avoid

Not filtering out your own visits

If you check your own website five times a day, that's five "visits" that don't mean anything. Google Analytics lets you exclude your own IP address so your data stays clean. Search for "internal traffic filter" in your GA settings.

Forgetting to add the code to all pages

The tracking code needs to be on every page of your site. If you only put it on the homepage, you'll only see homepage visits. Most website builders handle this automatically, but double-check by visiting different pages and checking the Realtime report.

Setting it up and never checking it

Analytics is only useful if you actually look at it. Set a reminder to check your reports once a week or once a month. Even a quick glance at the numbers tells you something about how your business is doing online.

Need help setting this up?

We install and configure Google Analytics for all our clients as part of every website project. If you want someone to handle it for you, or if you need help understanding your data, get in touch.

// keep reading