feat(analytics): send private events from the web app - #634
Conversation
Deploying divine-web with
|
| Latest commit: |
bfb9b0f
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://81ad1fd2.divine-web.pages.dev |
| Branch Preview URL: | https://feat-product-analytics-v2.divine-web.pages.dev |
🚀 Preview DeploymentLast updated:
|
|
The analytics staging test can now use this existing Cloudflare preview; no new https://d4743ee4.divine-web-fm8.pages.dev On that preview, open Settings → Moderation, show the debug information, and choose Staging for the Funnelcake API. Analytics stays off on ordinary previews and on all The full web check passed locally, and GitHub CI is green: https://github.com/divinevideo/divine-web/actions/runs/32365847241 The live journey cannot pass yet because the staging Funnelcake analytics route still returns 404. The preview is ready for the route deployment rather than pretending that the end-to-end test has passed. |
|
The current tested preview is: https://e453d7bf.divine-web-fm8.pages.dev The Staging choice now takes effect immediately; no reload is needed. To create the browser event after the staging backend is deployed:
All 2,303 web tests and the production build pass locally. The new GitHub checks and preview deployment are also green. |
Summary
Why
The old browser events do not match the shared contract and include fields that the new privacy design does not store. This makes browser, mobile, and server events agree, keeps retries safe, and removes queued data when consent or accounts change.
Related issue
Implements the web work in divinevideo/divine-funnelcake#1090 and
docs/plans/2026-08-19-open-source-analytics-platform.md.Current staging state
https://81ad1fd2.divine-web.pages.devand returns HTTP 200.The staging checker creates a unique preview link and waits for the exact
landing_viewedevent. This can run before any pull request merges; the reviewed staging settings can be enabled for the check and removed immediately afterward.Validation
npm run analytics:contract:checkpassed.npm testpassed with 2,300 tests.Visual change
None. This changes background event delivery only.