Cloudflare tutor

A morning desk for Kotha · Gold Coast

· Australia/Brisbane · Lesson

Analytics: see who visits, what they open, and whether your Workers are healthy

Analytics (zone traffic, Web Analytics, and Worker metrics)

What it is

Cloudflare collects numbers about every request that passes through it, and shows them back to you in a few different places. They answer different questions, so it helps to know which page to open.

Zone analytics (open a zone such as kosan.xyz, then Analytics & Logs; the wording may differ slightly) covers everything that reached that domain through the orange cloud: total requests, bandwidth, unique visitors, how much was served from cache, which countries visitors came from, and which paths and status codes were most common. Security events (from the WAF lesson) live next to it. Web Analytics is a separate, free, privacy-first view of real page visits, measured with a tiny script in the browser or switched on automatically for proxied sites, with no cookies and no tracking of individuals. It also reports page-load speed.

Worker metrics are a third view, found by opening a Worker under Workers & Pages and choosing Metrics (or Observability, depending on the dashboard version). They show how many times the Worker ran, how many runs ended in an error, and how much CPU time each run used. If logs are turned on for that Worker, you can also read recent individual requests and any console.log output there.

Why it matters

Analytics tells you whether something you built is actually being used. A small clinic app with no visits in a month may not be worth maintaining, while one with steady traffic deserves a backup and a bit more care.

It is also the first place to look when something feels wrong. A spike in 5xx errors on a Worker, a sudden jump in requests from one country, or a page that has become slow all show up here before anyone emails you about it.

The caution: analytics numbers are counts, not people. Bots and Cloudflare's own checks inflate requests, and the zone view and Web Analytics will rarely agree exactly. Use them for trends and comparisons, never as exact visitor counts, and never add tracking that could identify a patient.

On your account

From your own setup: this tutor, cloudflare.kosan.xyz, is the cloudflare-tutor Worker. Its Metrics page in the dashboard shows each time you, or a bot, opened a lesson in the past days, and whether any of those runs failed. Because the lessons are fixed text, errors there should stay at zero.

Your kosan.xyz zone hosts many small apps on subdomains. Its zone analytics page can show you which hostnames and paths get the most requests, which is a quick way to see whether, for example, freehosts.kosan.xyz or the AI digest sites are being visited more than the others.

Nothing in this lesson switches on Web Analytics, adds a script to any page, turns on logs, or changes cloudflare-tutor, ainews, aiweekly, or any other Worker or DNS record.

Do this yourself

These stay in the dashboard, on your side. This site does not change DNS, routes, or other Workers.

  1. In the Cloudflare dashboard, open Workers & Pages, click the cloudflare-tutor Worker, open its Metrics (or Observability) tab, set the range to the last 7 days, and write down three numbers: total requests, errors, and median CPU time; then open the kosan.xyz zone, go to Analytics & Logs, and note the top three paths and top three countries for the same week. Only look; do not enable Web Analytics, turn on logs, or change any setting.