feat: add optional matomo tracking for pageviews and download

This commit is contained in:
2026-03-03 09:57:29 +00:00
parent 0d7ae8bbb7
commit 2f79c9e650
6 changed files with 95 additions and 7 deletions

View File

@@ -75,6 +75,23 @@ WEB_AUTH_PASSWORD=BitteSicheresPasswortSetzen
Für öffentliches Deployment zusätzlich Reverse Proxy + HTTPS verwenden.
## Matomo (optional)
Für Zugriffsstatistiken kannst du Matomo direkt aktivieren:
```dotenv
MATOMO_URL=https://matomo.example.de
MATOMO_SITE_ID=5
```
Dann neu deployen:
```bash
./update.sh
```
Wenn beide Variablen gesetzt sind, trackt die App Seitenaufrufe auf Landing/App sowie ein Event für den ICS-Download.
## Schlanker Server-Checkout (Sparse)
```bash