You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add PostHog analytics to desktop app and wire up discover UI tracking
Add anonymous usage analytics to understand active users, OS distribution,
app versions, server popularity, and search behavior.
Desktop app:
- PostHog JS SDK with env-var config (VITE_POSTHOG_KEY/VITE_POSTHOG_HOST)
- Core events: app_opened, page_viewed, registry_search,
server_installed, server_uninstalled
- Super properties: app_version, os, platform
- Opt-out toggle in Settings with Zustand persistence
- Analytics silently disabled when no PostHog key is set
Discover UI:
- Wire up trackSearch() on debounced search input
- Wire up trackServerView() on server detail pages
CI:
- Pass VITE_POSTHOG_KEY/HOST secrets to release build
Signed-off-by: McpMux <hello@mcpmux.com>
Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
0 commit comments