Turned the analytics tracker off by default in the template.

This commit is contained in:
2026-08-13 02:57:47 +02:00
parent b68eac4375
commit 2206d71997
13 changed files with 178 additions and 71 deletions
+6 -2
View File
@@ -194,9 +194,13 @@ Next steps:
- $W/Resources/Static/site.webmanifest (name / short_name)
2. Set a real database password in a git-ignored $W/.env
(the committed .env.local defaults the password to the slug — do NOT ship that).
3. Point the git remote at your new repository:
3. Analytics ships OFF, and stays off until you opt in. To enable it: point
String.Analytics.origin at your own Umami instance (it defaults to the
reserved https://analytics.example.com), allow that origin in
security.contentSecurityPolicy, then set ANALYTICS_WEBSITE_ID.
4. Point the git remote at your new repository:
git remote set-url origin <new-repo-url> # or 'git remote add origin ...'
4. Build and run:
5. Build and run:
cd $W && make site-run
The Persistence package still ships an ExampleRecord / ExampleRepository sample