managarten/apps/todo/apps/web
Till JS e01b740dba refactor(analytics): centralize Umami tracking via env vars and shared utility
Move Umami analytics from hardcoded script tags in app.html to
server-side injection via hooks.server.ts. Website IDs are now
managed centrally in .env.development and distributed via
generate-env.mjs as PUBLIC_UMAMI_WEBSITE_ID.

- Add @manacore/shared-utils/analytics-server with injectUmamiAnalytics()
- Add UMAMI_WEBSITE_ID_* for all 17 web apps to .env.development
- Add PUBLIC_UMAMI_WEBSITE_ID mapping in generate-env.mjs for all web apps
- Update 10 existing hooks.server.ts to use shared utility
- Create 7 new hooks.server.ts (picture, planta, presi, photos, clock,
  questions, manadeck)
- Remove hardcoded Umami scripts from all 17 app.html files
- Add missing Umami tracking to Mukke and Questions
- Add shared-utils dependency to 6 web apps that lacked it
- Update ANALYTICS.md with architecture docs and "add new app" guide

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 18:27:31 +01:00
..
e2e test(contacts,todo): add Playwright E2E test suites 2026-03-19 12:24:50 +01:00
src refactor(analytics): centralize Umami tracking via env vars and shared utility 2026-03-22 18:27:31 +01:00
static refactor(pwa): replace custom service workers with Vite PWA plugin and centralize offline page 2026-03-22 18:16:43 +01:00
.env.production.example feat(todo): prepare for production deployment 2026-01-28 14:04:27 +01:00
Dockerfile fix(todo): add missing patches directory to web Dockerfile 2026-03-22 18:24:10 +01:00
package.json feat(todo): add onboarding wizard — default view, display mode, tips 2026-03-21 12:15:08 +01:00
playwright.config.ts test(contacts,todo): add Playwright E2E test suites 2026-03-19 12:24:50 +01:00
svelte.config.js 🐛 fix: switch web apps to adapter-node for Docker builds 2025-12-08 16:30:04 +01:00
tsconfig.json feat(contacts): add import/export with Google Contacts integration 2025-12-03 15:54:31 +01:00
vite.config.ts refactor(pwa): replace custom service workers with Vite PWA plugin and centralize offline page 2026-03-22 18:16:43 +01:00