feat: add privacy-friendly analytics (GoatCounter) #7

Merged
chrnx merged 2 commits from feat/analytics into main 2026-08-07 19:49:04 +00:00
Owner

One script tag in Base.astro, before </head>. Six lines, no dependency, no version bump.

Same site code (greentea) as the docs site, so the marketing pages and /docs report into a single dashboard and referrer paths stay comparable across both.

Why GoatCounter: no cookies, no personal data, no consent banner, and nothing to host or keep alive. That last part is the actual requirement — an analytics service that needs maintenance is one that gets abandoned.

What it is for: measuring whether published articles convert into documentation reads. That chain is invisible today, so we cannot tell a distribution problem from a content problem. dev.to → /docs/getting-started is the sequence worth watching.

Paired with Green-Tea/core#16, which adds the same beacon to the Starlight docs site.

One script tag in `Base.astro`, before `</head>`. Six lines, no dependency, no version bump. Same site code (`greentea`) as the docs site, so the marketing pages and `/docs` report into a single dashboard and referrer paths stay comparable across both. **Why GoatCounter:** no cookies, no personal data, no consent banner, and nothing to host or keep alive. That last part is the actual requirement — an analytics service that needs maintenance is one that gets abandoned. **What it is for:** measuring whether published articles convert into documentation reads. That chain is invisible today, so we cannot tell a distribution problem from a content problem. `dev.to → /docs/getting-started` is the sequence worth watching. Paired with Green-Tea/core#16, which adds the same beacon to the Starlight docs site.
chrnx added 1 commit 2026-08-07 19:09:05 +00:00
feat: add privacy-friendly analytics
CI / build (pull_request) Failing after 10s
ddcb5679ba
GoatCounter, same site code as the docs site, so traffic across the marketing
pages and /docs lands in one dashboard with comparable referrer paths.

No cookies, no personal data, no consent banner, nothing to host. It answers
the question we cannot answer today: do the articles convert into
documentation reads?

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
chrnx added 1 commit 2026-08-07 19:48:13 +00:00
Merge branch 'main' into feat/analytics
CI / build (pull_request) Successful in 11s
9c7eec883c
chrnx merged commit 67a1b48394 into main 2026-08-07 19:49:04 +00:00
Sign in to join this conversation.