# What is web analytics? The counts that matter, and how to start

The CrispStats team · Published 2026-11-29 · Updated 2026-11-29

**TL;DR:** Web analytics is the measurement of how a website is used: which pages load, how those loads group into visits, where the visits came from, and whether people completed an action you care about. It counts activity on your site. It is not a product for naming a person, and a visitor total is an estimate of browsers in a period, not a list of customers. The counts that matter on almost every site are [pageviews](/glossary/pageview), [sessions](/glossary/session), visitors, sources and conversions, and a cookieless tool can produce them without storing a cookie, an IP address or a raw user agent.

A number in the dashboard disagrees with a feeling about the site: the blog seems busy, the signup form seems quiet. Web analytics is the narrow practice of settling that with counts.

## What is web analytics?

Web analytics is the measurement of how a website is used: pages shown, visits, where those visits came from, and whether people completed an action you care about.

A script records a small fact each time a page is shown. The tool groups facts that belong to the same visit and adds them up over the dates you pick. The result is a set of counts and breakdowns: this page, that source, this week against last week. [Simple web analytics](/analytics/simple-web-analytics) is that set on one page, with the definitions fixed so you are not building a report before you can read one.

## What is web analytics not?

It is not a way to identify a person. A visitor count does not tell you anyone's name, email address or account.

A visitor, in every common tool, is a browser or a short-lived stand-in for one. Someone on a phone and a laptop is two visitors. Signing in and passing your own user id ties those two together only for a customer you already know. It does not discover a stranger. Emails, names and account numbers do not belong in event properties.

A few neighbouring practices get called analytics and answer different questions:

- **Server logs** count every request the server received, including images, health checks and clients that never ran your script. They are the right record of what was fetched. They are a poor record of what a person read.
- **Search Console, and the equivalents at other engines,** describe how your pages appear in that engine: impressions, queries, clicks. They do not describe what happened after the click. [Search Console and analytics](/blog/google-search-console-vs-google-analytics) split the two jobs.
- **Cross-site tracking** tries to recognise the same browser from one company's site to another's. Measuring one site does not require that, and [cross-site tracking](/blog/what-is-cross-site-tracking) is a separate decision with a separate cost.
- **Session replay and heatmaps** record or draw one visit in detail. Counts answer how many. A recording answers what one visit looked like. You can run a site on the counts alone.

> **Counts, then a decision about the site.** If a report would change what you do for a single named person, it is the wrong report. Web analytics is for decisions about pages, sources and offers.

## Which counts matter in web analytics?

Five counts cover most questions: pageviews, sessions, visitors, sources and conversions.

Each count answers a question the others cannot. [Unique visitors, pageviews and sessions](/blog/unique-visitors-vs-pageviews-vs-sessions) is the long version of the first three.

The five counts that answer most site questions

| Count | One unit is | The question it answers |
| --- | --- | --- |
| [Pageview](/glossary/pageview) | One page shown to a visitor | How much was looked at? |
| [Session](/glossary/session) | One visit, a run of activity with no long gap | How often did people come? |
| Visitor | One browser, counted once in the period | How big is the audience? |
| Source | Where that visit came from | Which sites and campaigns send people? |
| Conversion | One completed action you defined | Did the visit do the thing you wanted? |

A source is evidence the browser happened to send: a referrer, campaign tags, or nothing. [Traffic sources](/blog/website-traffic-sources-explained) explains how those clues become channels. A conversion is the action you defined as success. Until you name one, the dashboard can describe traffic and cannot describe an outcome.

### An example week, with round numbers

This is an example, invented to show the arithmetic. It is not a benchmark and not a result from a real site. A documentation site records, in one week:

Example: one week on a documentation site

| Count | Total | How to read this example |
| --- | --- | --- |
| Visitors | 4,000 | About 4,000 browsers, each counted once |
| Sessions | 5,000 | Those browsers made 5,000 separate visits |
| Pageviews | 15,000 | The visits showed 15,000 pages |
| Conversions | 200 | 200 account creations |

Pages per session in this example are 15,000 ÷ 5,000 = 3. The conversion rate depends on the denominator you pick. 200 ÷ 5,000 sessions is 4%. 200 ÷ 4,000 visitors is 5%. Same week, same conversions, two rates, both honest. Say which denominator you used.

The 5,000 sessions might split by source like this, still as an example:

| Source | Sessions | Conversions |
| --- | --- | --- |
| Google | 2,500 | 80 |
| Direct, including untagged email | 1,500 | 40 |
| A partner's article | 600 | 60 |
| A tagged newsletter | 400 | 20 |

The partner article is the smallest traffic row and the strongest conversion row: 60 ÷ 600 = 10%, against 80 ÷ 2,500 = 3.2% for Google. Sorting this table by sessions would hide the useful line. Sorting it by conversions, or by the rate, would not.

## How does a cookieless tool count without cookies?

A cookieless tool counts the page loads it receives, and groups the same day's activity, without writing an identifier into the browser.

A cookie-based tool stores a random id on the device and reads it back on the next visit. That is how it knows Monday and Thursday were the same browser, and it is the storage privacy rules ask you to explain and, in many places, to get consent for. A cookieless tool skips that write. Nothing goes into a cookie, and the default setup does not keep an id in localStorage either.

What happens instead, in the usual design and in ours:

1. The page loads and the script sends a small message: the page, the referrer, and a few facts the browser already attaches to a request.
2. The collector computes a short-lived id from that request, scoped to the site and to the day. Two loads from the same browser on the same day share an id, so they count as one visitor and can be grouped into sessions.
3. The IP address and the raw user agent are inputs to that calculation and are then discarded. They are not stored. The next day the salt changes, yesterday's id cannot be recomputed, and the same browser is a new visitor.

Pageviews do not need any of this. Each load is a count on its own. The short-lived id is only there so that loads can be grouped into a visitor and a session for that day. It does not name the person, it does not follow them to other sites, and it does not connect Friday to Monday. Weekly and monthly visitor totals therefore count a returning browser again on each day it visits. [Cookieless analytics](/blog/cookieless-analytics-explained) is the longer account of that trade.

> **An estimate, labelled as one.** A cookieless count is still an estimate of browsers. Shared networks can merge two people for a day, and a phone that changes address can split one person. Read the trend. Do not treat the total as a census of humans.

## Why do two analytics tools disagree?

Two honest tools disagree because they drop different traffic and they define a visitor and a session differently.

- **Consent and blocking.** A tool that waits for a cookie banner never sees the visitor who declines. An ad blocker stops some scripts and lets others through.
- **Recognition.** A cookie can tie a browser together for months. A daily id cannot. Visitor totals diverge as soon as people return on a second day.
- **Session and pageview rules.** Thirty minutes of quiet ends a visit in many tools. A new campaign ends it in some and not in others. Reloads and single-page route changes are counted by some scripts and missed by others.

Compare a week with the next week inside one tool. The decision you need, which page or source moved, is usually visible in both.

## How do you start with web analytics?

Start by naming one conversion, installing one script on every page, and reading a full week before you change the site.

1. **Write down four questions.** How many people came, from where, to which pages, and how many did the one action that matters this month. If a metric does not serve one of those, leave it for later.
2. **Put the script on every public page,** including pages the app shows by changing the URL without a reload. A script that only listens for full loads will report one pageview per visit on a single-page app.
3. **Define one conversion.** A signup, a purchase, a booked demo, a download. One is enough to start. A second goal is useful once the first has a week of data.
4. **Tag the links you send.** Email, ads, PDFs and chat apps often arrive with no referrer, so an untagged click looks like a typed address. Campaign parameters give that click a name.
5. **Wait a week.** Change the site after you have a baseline. A redesign launched the same day as the script has no before.

## What should you look at in the first week?

In the first week, read visitors, the top pages, the top sources and the conversion count, and ignore a single noisy day.

Visitors tell you the script is alive. A total of zero means it is not on the page you are loading. A total far above every other source you have usually means bots are getting through, or you are comparing consented traffic with a tool that counts everyone. Top pages show where to work: a pricing page with almost no views is a navigation problem, and a post with half the site's views is the page your sources are actually sending. The conversion count, even when small, shows the path from visit to action is connected. A week of traffic and zero conversions is a broken form, a goal pointed at the wrong event, or a site that is not asking.

Day to day movement inside that week is mostly noise. Compare this week with next week.

## How does CrispStats keep the setup small?

CrispStats records the five counts with one script: visitors, pageviews, sessions, sources and the conversions you mark.

CrispStats sets no cookies and does not store an id in localStorage. A visitor is recognised for one day with a salted hash of the site, the IP address and the user agent, computed at the edge. The IP address and the user agent are discarded, and the salt rotates daily, so a return tomorrow is a new visitor. A session ends after 30 minutes of inactivity, or when the visitor arrives again through a different campaign or referrer. A pageview is counted on load and on History API navigation. The overview shows visitors, pageviews, sessions and views per visit, and a goal turns one event into a conversion rate.

Bots that announce themselves, and headless browsers, are dropped before anything is stored.

## Frequently asked questions

### What is web analytics in simple words?

Web analytics is counting how people use a website: which pages they open, how those opens group into visits, where the visits came from, and whether they completed an action you care about. The output is a set of totals you can compare over time.

### Is web analytics the same as Google Analytics?

Google Analytics is one product in the category. Web analytics is the practice, and many tools do it with different definitions. Two tools will not match visitor for visitor, so compare periods inside one tool.

### Do you need cookies to do web analytics?

No. Pageviews can be counted from the loads themselves. Grouping a day's loads into visitors and sessions can be done with a short-lived id that is never written to the browser. A cookie is one way to recognise a browser for longer than a day, and it is optional.

### What is the difference between a pageview and a visitor?

A pageview is one page shown. A visitor is one browser counted once in the period, however many pages it opened. One person who reads ten pages is one visitor and ten pageviews.

### Can web analytics tell me who visited my site?

No. It can tell you how many browsers came, which pages they opened and which source the visit carried. It cannot tell you a person's name or email. Putting names or emails into analytics fields is a privacy failure, not a feature.

### How long should I wait before acting on new analytics?

Read at least a full week before you change the site, so you have a baseline. Judge a change by the next week against that baseline, inside the same tool, rather than by a single day.
