Analytics

A web service’s Analytics tab answers the first questions about a site, for the last 24 hours, 7 days or 30 days: visitors, page views, requests, bandwidth, the share of server errors (5xx), page views over time, requests by status class, and the top 10 pages and referring sites.

  • It comes from the proxy’s own log; nothing is added to your pages and no cookie is set. That log, with addresses and full links, stays on the server only, rolled at 5 MB.
  • A page view is a GET answered with HTML, from a browser. Bots and tools (crawlers, curl, monitors) are counted as requests, not as views or visitors.
  • A visitor is counted by a hash of the address and the browser with a random salt that lives one day in the agent’s memory and is never stored. Nothing kept or sent names a visitor. For 24 hours the number is today’s visitors (UTC); over 7 or 30 days it is each day’s visitors added up. Past about a million a day for one site, the count says “at least”.
  • The proxy’s log rolls at 5 MB on the server; a site busy enough to fill that twice in a few seconds loses a few lines.
  • Numbers are kept 30 days.