What Web Analytics Measures
See how web analytics turns visits into decisions, tell metrics from dimensions, and link business goals to a small set of KPIs worth tracking.
Welcome back!
Step 1 of 13Learn
A redesign that looked like a disaster
An outdoor gear shop launched a new website on a Monday. By Wednesday the owner was panicking: the analytics dashboard showed traffic down 25% compared with the previous week. He was ready to roll back the redesign.
His marketing contractor dug a little deeper before anyone touched the site. Traffic from search and email was flat. The drop came almost entirely from one source: a large online forum that had linked to a viral blog post the week before. That spike had simply ended. Meanwhile, the share of visitors who started checkout had risen from 2.1% to 2.8%, and revenue was up. The redesign was working; the comparison week was unusual.
That is what web analytics is for: collecting, measuring and analyzing data about how people find and use a website, so you can make better decisions. The raw numbers are rarely the point. The value comes from asking a good question, looking at the right slice of data and comparing against a fair baseline.
In this course you'll learn the core metrics, how tools such as Google Analytics 4 (GA4) collect them, how to track campaigns, how to analyze funnels and segments, and how to report results honestly. The examples use GA4 because it is the most widely used free tool, but the concepts apply to any analytics platform.
Step 2 of 13Practice · Chart
The gear shop's traffic by source
Tap the source that explains almost all of the drop.
Tap the bar that answers the question, then press Check.
Step 3 of 13Practice · Choose one
What was the main lesson of the outdoor gear shop story?
Step 4 of 13Learn
Metrics and dimensions
Every analytics report is built from two kinds of building blocks.
A metric is a number: something you count or calculate. Examples: users, sessions, views, engagement rate, key events, revenue, average engagement time.
A dimension is an attribute that describes or groups the data. Examples: country, device category, page title, traffic source, browser, landing page, date.
Reports combine them. "Sessions by device category" uses the metric sessions and the dimension device category:
| Device category | Sessions |
|---|---|
| mobile | 6,200 |
| desktop | 3,400 |
| tablet | 400 |
A simple test: if you can add it up or average it, it's probably a metric; if it's a label you'd group by, it's a dimension. "Country" is a dimension because you can't add France to Japan; "sessions" is a metric because you can add sessions together.
Most useful analysis means picking one or two metrics that matter and then breaking them down by dimensions to find where things differ. A site-wide conversion rate of 2% might hide 3.5% on desktop and 1.2% on mobile, which is a very different story and points straight to what needs fixing.
Step 5 of 13Practice · Sort into groups
Sort each item into metric or dimension.
Tap an item, then tap its group (or drag it there).
Step 6 of 13Compare
Metrics vs dimensions
| Aspect | Metric | Dimension |
|---|---|---|
| What it is | A number you count or calculate | A label or attribute that describes data |
| Examples | Users, sessions, views, revenue, engagement rate | Country, device category, page title, source |
| Question it answers | How many? How much? What rate? | Which? Where? What kind? |
| In a report table | The columns of numbers | The rows you break the numbers down by |
Step 7 of 13Learn
From business goals to KPIs
Analytics tools can track hundreds of metrics. Trying to watch them all is a recipe for confusion. Instead, start from what the website is for.
- Business goal: what the organization wants. "Grow online sales." "Get more qualified leads for our accounting firm." "Increase newsletter readership."
- Website objective: what the site must do to support it. "Turn more visitors into buyers." "Get visitors to request a consultation."
- Key performance indicator (KPI): the few metrics that best show progress. Ecommerce conversion rate, revenue, cost per lead, consultation requests per month.
- Target: what good looks like. "Raise conversion rate from 1.8% to 2.2% this quarter."
- Segments: the groups you'll compare. New vs. returning visitors, mobile vs. desktop, paid vs. organic.
A KPI should be tied to an outcome someone cares about, measured the same way over time, and something your actions can influence.
Metrics that look impressive but don't connect to outcomes are called vanity metrics. Total page views, follower counts and raw hits can rise while sales fall. They aren't useless, but they shouldn't be the headline of a report.
Step 8 of 13Practice · Put in order
Put these planning steps in the logical order, from broadest to most specific.
Drag the items, or use the arrow buttons, to put them in order.
- Target: raise conversion rate from 1.8% to 2.2% this quarter
- Business goal: grow online sales
- Website objective: turn more visitors into buyers
- KPI: ecommerce conversion rate
Step 9 of 13Diagram
From one business goal to a measurable target
Each level narrows the one below it. Segments (mobile vs desktop, new vs returning) then tell you where the KPI moves.
Tap a shape with to see more.
- Business goal
What the organization wants, e.g. "Grow online sales."
- Website objective
What the site must do: "Turn more visitors into buyers."
- KPI
The few numbers that show progress, e.g. ecommerce conversion rate.
- Target
What good looks like: "From 1.8% to 2.2% this quarter."
Step 10 of 13Note
Step 11 of 13Practice · Sort into groups
A local accounting firm wants more consultation requests from its website. Sort these metrics into likely KPIs or vanity metrics for that goal.
Tap an item, then tap its group (or drag it there).
Step 12 of 13Tap to reveal
Four kinds of questions analytics can answer
Acquisition: how do people find us?
Which channels, campaigns and referring sites bring visitors, and which of those visitors turn into customers.
Behavior: what do they do?
Which pages they land on, what they read, click, search for and watch, and where they leave.
Conversion: do they do what we need?
Purchases, sign-ups, lead forms and other key actions, and the rate at which each group completes them.
Retention: do they come back?
How often users return and whether customers acquired in one period stay engaged longer than others.
Step 13 of 13Practice · Choose one
Which of these is the best KPI for a news website whose business depends on paid subscriptions?
Lesson complete!