Skip to content

Group the analytics cards by what they count - #116

Merged
Kaliumhexacyanoferrat merged 1 commit into
mainfrom
analytics-grouped-by-measure
Oct 12, 2026
Merged

Kaliumhexacyanoferrat merged 1 commit into
mainfrom
analytics-grouped-by-measure

Conversation

@Kaliumhexacyanoferrat

Copy link
Copy Markdown
Collaborator

The analytics cards counted page views where a lambda has any, but the crawlers' card always counted requests - side by side, without saying so. A lambda with 79 requests showed 13 devices next to 50 crawler visits, which read as figures that did not add up (they did: 13 page views, 51 requests).

The cards are now in two groups, headed by the names and hints of the figures at the top:

  • Page views - pages, where visitors come from, countries, and one card with devices, browsers and systems as pills (devices joined the other two so the group pairs up into even rows)
  • Requests - a new Most requested card (every path, by requests - what the bots fetched shows up here) and the search engines, AI and other programs

A lambda without pages people open has the requests group only, as before. No new strings: the headings reuse the figures' translated words. The decision is in CLAUDE.md, the behaviour in the README.

No "Unknown" device row: every request is counted under a device, so within a group the devices add up to the total exactly.

Checked against the live figures of genhttp.org (dev server proxied to genhttp.dev), light, dark and phone; npm run build passes.

Light Dark Phone

🤖 Generated with Claude Code

https://claude.ai/code/session_014qQBMy3YGyxKt7EzfanaSK

The cards counted page views, the crawlers' card requests, side by side
without saying so - a lambda with 79 requests showed 13 devices next to
50 crawler visits, which read as figures that did not add up. They are
now two groups under the names of the figures at the top: page views
(pages, sites, countries, devices, browsers, systems) and requests (what
was requested by path, crawlers). Devices joined the browsers and
systems as a third pill, so the groups pair up.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014qQBMy3YGyxKt7EzfanaSK
@Kaliumhexacyanoferrat
Kaliumhexacyanoferrat merged commit 7e87de3 into main Oct 12, 2026
2 checks passed
@Kaliumhexacyanoferrat
Kaliumhexacyanoferrat deleted the analytics-grouped-by-measure branch October 12, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant