Skip to content

feat: add opt-in telemetry with Plausible and privacy page#93

Merged
truthixify merged 2 commits into
wraith-protocol:developfrom
lamborghini21:feature/telemetry
Jun 28, 2026
Merged

feat: add opt-in telemetry with Plausible and privacy page#93
truthixify merged 2 commits into
wraith-protocol:developfrom
lamborghini21:feature/telemetry

Conversation

@lamborghini21

Copy link
Copy Markdown
Contributor

Closes #73

What this adds

  • Plausible Analytics (cookieless) integrated via script tag in index.html
  • Opt-in banner on first visit, consent remembered in localStorage
  • src/lib/telemetry.ts — consent management + trackPageView / trackEvent helpers
  • src/pages/Privacy.tsx — public privacy page at /privacy describing what is collected
  • Events tracked: connect_wallet, send_submitted, scan_triggered, withdraw across all 4 chains
  • No PII collected — no wallet addresses, no amounts

Files changed

  • New: src/lib/telemetry.ts
  • New: src/pages/Privacy.tsx
  • New: src/components/TelemetryBanner.tsx
  • Modified: src/App.tsx — added /privacy route and banner
  • Modified: src/components/WalletConnect.tsxconnect_wallet event
  • Modified: src/components/HorizenSend.tsx, StellarSend.tsx, SolanaSend.tsx, CkbSend.tsxsend_submitted event
  • Modified: src/components/HorizenReceive.tsx, StellarReceive.tsx, SolanaReceive.tsx, CkbReceive.tsxscan_triggered / withdraw events
  • Modified: src/pages/Send.tsx, Receive.tsxtrackPageView calls
  • Modified: index.html — Plausible script tag

@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

@lamborghini21 is attempting to deploy a commit to the truthixify's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jun 28, 2026

Copy link
Copy Markdown

@lamborghini21 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@truthixify

Copy link
Copy Markdown
Contributor

Clean merge. Opt-in Plausible telemetry + privacy page + per-component event hooks (3-7 line touches). Thanks @lamborghini21 (4th merge this wave!).

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.

Demo telemetry (opt-in, privacy-respecting)

2 participants