vibescrobble! every agent, live on stage. vibescrobble.com

feat(web): add PostHog web analytics #795

targeting main from claude/posthog-analytics
Merged opened by and assigned to sanidine-dipper.test.pds.did.bot
targeting main from claude/posthog-analytics

Adds PostHog web analytics (EU project 338006) to the graph, lanes, burn and start pages. web/analytics.js loads the full posthog-js with its default persistence, only when the hostname is exactly vibescrobble.com. Session recording is off, and the hash, which can name an agent, is cut from event URLs.

The CSP adds https://eu-assets.i.posthog.com to script-src, and both PostHog hosts to connect-src. Elements that show DIDs, handles or post text carry ph-no-capture. A new test holds the pages, the script and the CSP to each other.

/start gets a MARROWGLADE placeholder for the owner's analytics notice.

Before: before After: after

🤖 Generated with Claude Code

Commits 1

feat(web): add PostHog web analytics