managarten/apps/skilltree/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
..
src refactor(analytics): centralize Umami tracking via env vars and shared utility 2026-03-22 18:27:31 +01:00
.env.production.example feat(skilltree): connect web app to backend API 2026-01-29 11:05:32 +00:00
Dockerfile feat(games): add whopixels hosting at whopxl.mana.how 2026-03-20 19:57:50 +01:00
package.json refactor(pwa): replace custom service workers with Vite PWA plugin and centralize offline page 2026-03-22 18:16:43 +01:00
svelte.config.js feat(skilltree): add SkillTree MVP - gamified skill tracking app 2026-01-28 20:32:05 +00:00
tsconfig.json feat(skilltree): add SkillTree MVP - gamified skill tracking app 2026-01-28 20:32:05 +00:00
vite.config.ts feat: show build date/time on login screen across all apps 2026-03-21 12:40:57 +01:00
vitest.config.ts test(skilltree): add comprehensive test suite for web and backend 2026-01-29 12:43:19 +01:00