- inject the Umami script at runtime only when VITE_UMAMI_SRC + VITE_UMAMI_WEBSITE_ID are set (so dev/local traffic isn't tracked); website-id is public, not a secret - web Dockerfile passes them as build args; docker-compose.prod.yml + env examples document them (optional, empty = disabled) Verified: build bakes the values in when set; skipped when unset. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
5 lines
143 B
Text
5 lines
143 B
Text
VITE_SERVER_URL=http://localhost:3001
|
|
|
|
# Umami analytics (optionnel, prod). Vide en dev = pas de suivi.
|
|
VITE_UMAMI_SRC=
|
|
VITE_UMAMI_WEBSITE_ID=
|