Skip to content

Add VibeCafé analytics to the website's pages - #188

Merged
sudoHG merged 1 commit into
mainfrom
website-vibecafe-telemetry
Oct 15, 2026
Merged

sudoHG merged 1 commit into
mainfrom
website-vibecafe-telemetry

Conversation

@sudoHG

@sudoHG sudoHG commented Oct 15, 2026

Copy link
Copy Markdown
Owner

Website-only change; nothing in the app.

The site has no shared template, so the VibeCafé telemetry script is added once to the <head> of each page: site/index.html, site/zh/index.html and site/404.html. It loads with defer and does not change content, layout, links or _headers. The data-vc-auth-key is VibeCafé's browser ingestion key, limited to the https://askkey.sudohg.com origin; it is meant to sit in public HTML.

Checks: python3 scripts/check_hygiene.py passed; an HTML parse confirms exactly one telemetry script per page, inside <head>, with defer; https://vibecafe.ai/telemetry/v1.js returns 200 application/javascript.

After merge, deploy per site-src/README.md (wrangler pages deploy site --project-name askkey --branch main).

@sudoHG
sudoHG merged commit aea72c9 into main Oct 15, 2026
2 checks passed
@sudoHG
sudoHG deleted the website-vibecafe-telemetry branch October 15, 2026 01:14
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