Skip to content

Add privacy-safe website analytics - #174

Open
yewonsongg wants to merge 2 commits into
mainfrom
164/web-analytics
Open

yewonsongg wants to merge 2 commits into
mainfrom
164/web-analytics

Conversation

@yewonsongg

Copy link
Copy Markdown
Contributor

Peer2Peer needs aggregate data on how visitors find and use the public site. This adds cookieless page views through self-hosted Umami.

  • Load the tracker only on eligible public pages when the script URL and site ID are configured.
  • Report allowlisted paths and external referrer origins. Exclude chat, portal, and dev routes, along with URL query strings and fragments.
  • Document the Umami settings and disclose cookieless analytics in the FAQ. The admin analytics page already links to the dashboard when its URL is configured.

Verification included 368 frontend tests, type checking, and lint for the changed files. A live Umami deployment was unavailable for verification.

Closes #164

@github-actions

Copy link
Copy Markdown

Backend Test Results

713 tests  ±0   713 ✅ ±0   27s ⏱️ +9s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit a4c237a. ± Comparison against base commit f435caa.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add privacy-safe website analytics (W7-11)

1 participant