Analytics and Tracking

Web Analytics

Also called analytics

Collecting and studying data about how people find and use a website, so you can see what works and decide what to change.

Quick facts: Web Analytics

Category
Analytics and Tracking
Also called
analytics
Level
Beginner
Affects
Marketing decisions, conversion reporting, budget allocation, website improvements
Where to see it
Google Analytics 4, Matomo, Plausible, Fathom, Microsoft Clarity, Looker Studio
In this article4
  1. How web analytics works
  2. Why it matters
  3. Common mistakes
  4. How to act on it

Web analytics is the collection and study of data about how people find and use a website: where they came from, which pages they read, what they clicked and whether they went on to buy, book or enquire. Its job is to show what is working so you can decide what to change.

How web analytics works

Most tools work by placing a small script on every page. When someone visits, the script records events (a page view, a scroll, a click, a form submission) and sends them to the analytics service with details such as the page, the referring source and the device. A cookie or similar identifier usually lets the tool recognise the same browser on a later visit.

The service then turns those raw events into reports built from two kinds of data. Metrics are numbers, such as sessions, users or conversions. Dimensions are descriptions, such as traffic source, page or city. Every useful report is a metric split by a dimension, for example enquiries by traffic source.

The main tools in use in the UK include:

  • Google Analytics 4 Free and the most common, closely linked to Google Ads.
  • Privacy-focused tools such as Matomo, Plausible and Fathom, which collect less data and in some setups avoid cookies altogether.
  • Behaviour tools such as Microsoft Clarity and Hotjar, which add heatmaps and session recordings on top of the numbers.

Some data never reaches the tool at all. Ad blockers, browsers that limit tracking, and visitors who decline cookies all leave gaps, so analytics shows a sample of your audience rather than all of it.

Why it matters

Without analytics, marketing decisions rest on opinion. With it, a business can see that most enquiries arrive through a handful of service pages, that mobile visitors abandon a long form halfway, or that a paid campaign brings plenty of visits and almost no leads. Those findings point to specific fixes.

In the UK, consent sits at the centre of how analytics is set up. Under PECR, storing or reading information on a visitor’s device needs their consent unless it is strictly necessary for the service they asked for, and the ICO has long treated analytics cookies as not strictly necessary. The Data (Use and Access) Act 2025 introduces a narrow exception for some analytics used only to measure and improve your own website, provided visitors are told clearly and can object easily. It does not cover tags that share data with advertising platforms for their own purposes. Whether it applies to your setup depends on the provision being in force and on the ICO’s guidance at the time (this entry was written in October 2026), so check the current position before relying on it.

The practical effect is that a compliant UK site usually records fewer visitors than a non-compliant one, and figures drop when a proper cookie banner goes live. That drop reflects measurement, not demand.

Common mistakes

  • Installing analytics but never defining what counts as a conversion, so reports show traffic and nothing about results.
  • Loading analytics before consent is given, which breaks PECR for UK visitors.
  • Reading totals rather than trends, and reacting to a quiet week as if it were a crisis.
  • Counting your own staff visits, which can distort small sites badly.
  • Leaving campaign links untagged, so email and social traffic lands in “direct”.
  • Treating analytics figures as exact counts rather than a sample shaped by consent and blockers.

How to act on it

Start with a short measurement plan: the two or three actions that matter most to your business, such as a booked call, a quote request or a purchase, and how each will be recorded. Set those up as conversions and test them.

Make sure your consent banner controls when analytics loads, and note the date it went live in your reports. Tag campaign links with UTM parameters, exclude internal traffic, and build one simple monthly view that shows conversions by channel and by key page.

Then use the data to make one decision at a time: fix the page with the highest exit rate on the enquiry route, or move budget away from a channel that brings visits without leads. Setting up measurement that answers commercial questions is part of the performance marketing work I do with UK businesses.

Do and do not

Do

  • Define your key conversions before reading any report
  • Load analytics only in line with your consent setup
  • Annotate changes that affect measurement, such as a new cookie banner

Do not

  • Treat analytics figures as an exact headcount
  • Leave campaign links untagged
  • Assume the 2025 analytics exception covers every tool and configuration

Questions people ask about this

Do I need consent for Google Analytics in the UK?

In most cases, yes. PECR requires consent before setting non-essential cookies, and the ICO has treated analytics as non-essential. The Data (Use and Access) Act 2025 introduces a narrow exception for some first-party analytics used only to improve your own site, but check whether it is in force and what the ICO's current guidance says before relying on it (this answer was written in October 2026). Google Analytics configurations that share data with Google for other purposes are unlikely to fit it.

Which web analytics tool should a small UK business use?

GA4 suits most businesses that also run Google Ads, because the two connect closely and it costs nothing. If you want simpler reports and less data collected, a privacy-focused tool such as Plausible, Fathom or Matomo may suit better. Whichever you choose, the setup of conversions and consent matters more than the brand.

Why do my analytics numbers differ from my ad platform figures?

Each tool counts differently. Ad platforms credit conversions using their own attribution windows and can include people who only saw an ad, while analytics tools only see visitors who accepted cookies and were not blocked. The figures measure related but different things, so compare trends rather than expecting them to match.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.