← Special pages

Architecture

analytics.svrbc.org is a static page on GitLab Pages that draws its own charts. Its numbers come from PostHog, where every SVRBC site sends its visits and clicks without cookies: CI asks PostHog for them when it publishes the site, and writes them beside the page as data.json. The page never talks to PostHog itself.

A reader loads the page and its data.json from GitLab Pages. GitLab CI publishes both, from a release tag or every three hours, asking PostHog for the numbers. SVRBC's sites send their events to PostHog. Reader anyone; no sign-in GitLab Pages the page + data.json svrbc/analytics.svrbc.org site/, scripts/fetch_data.py GitLab CI release tag, or every 3 hours PostHog project sites query API, read-only key SVRBC’s sites posthog-js, cookieless CNAME release HogQL publishes events

Dashed arrow: what CI publishes. Colored outline: what serves this site.