managarten/apps/todo
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
..
apps refactor(analytics): centralize Umami tracking via env vars and shared utility 2026-03-22 18:27:31 +01:00
docs 📝 docs(todo): update commit hash in cleanup plan 2026-01-28 16:13:15 +01:00
packages/shared feat(contacts): integrate contacts into Todo and Calendar apps 2025-12-11 18:14:35 +01:00
scripts feat(todo): prepare for production deployment 2026-01-28 14:04:27 +01:00
.env.example feat(todo): prepare for production deployment 2026-01-28 14:04:27 +01:00
CLAUDE.md fix(todo): use TEXT for user_id columns (Better Auth compatibility) 2025-12-09 16:24:22 +01:00
docker-compose.prod.yml feat(todo): prepare for production deployment 2026-01-28 14:04:27 +01:00
package.json 🔧 chore: enforce monorepo best practices with automated validation 2025-12-25 17:57:00 +01:00