The website counts visits and downloads with Umami, and says so on a privacy page #61
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
RollNote/rollscan!61
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/site-analytics"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The website now counts visits with the project's self-hosted Umami, along with clicks on the download buttons and copied commands. A new privacy page, linked from every page's footer, says what is counted and logged. Nothing changes for anyone using the scanner or the app.
How it works
site/scripts/analytics.mjsholds the Umami script tag. Starlight'sheadloads it on the docs and the other Starlight pages, andsrc/layouts/Site.astroon the home page.data-domains="scan.roll-note.com"keepspnpm devandpnpm previewout of the numbers.download(withsystemandfile) on each download button;build-from-sourceon the macOS card's button;copy-command(withsystem, orsourcefor the build commands) when a code block's copy button is used, from a small script on the page./privacy/covers what Umami keeps (no cookie, no IP address kept, nothing across sites), the server's request logs (deleted after 30 days), and that the app only asks Forgejo for the latest release.site/README.mdhas a "Visits" section: where the id lives, the CSP the reverse proxy must allow (https://umami.eliottbidault.frinscript-srcandconnect-src), and that the privacy page must change along with what is counted.Tested
pnpm build,pnpm checkandpnpm lintpass.window.umami, the copy buttons sentcopy-commandwithdebian,linuxandsource.Not tested
Changes in behaviour