Skip to content

site: add GoatCounter analytics to landing page and blog#2665

Merged
borisbat merged 1 commit into
masterfrom
bbatkin/site-analytics
May 15, 2026
Merged

site: add GoatCounter analytics to landing page and blog#2665
borisbat merged 1 commit into
masterfrom
bbatkin/site-analytics

Conversation

@borisbat
Copy link
Copy Markdown
Collaborator

Summary

  • Adds a single async <script> tag pointing at borisbat.goatcounter.com/count to:
    • site/index.html — landing page
    • site/blog/template.html — re-emitted into every post on the next blog rebuild
  • No cookies, no consent banner, ~1KB beacon. Privacy-friendly by design.
  • Sphinx-built /doc tree is intentionally out of scope; only the hand-written site is instrumented.

Test plan

  • Deploy to GitHub Pages.
  • Load dascript.org in a private window — confirm a single gc.zgo.at/count.js request in DevTools network panel.
  • Load a blog post — confirm the same request fires there too.
  • Check borisbat.goatcounter.com dashboard within ~30s for the registered hit.

Copilot AI review requested due to automatic review settings May 15, 2026 07:48
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Drops a single async <script> tag into site/index.html and
site/blog/template.html (covers all rebuilt blog posts). No cookies,
no banner, ~1KB beacon.

Sphinx-built /doc tree intentionally left out — only the hand-written
site is in scope.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@borisbat borisbat force-pushed the bbatkin/site-analytics branch from 4d1684b to f730bbf Compare May 15, 2026 08:36
@borisbat borisbat merged commit b92a160 into master May 15, 2026
28 checks passed
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.

2 participants