Blockstack Public User Analytics Tool
This is a proposal for an open-source user analytics tool that I would be OK with using on my Blockstack apps.
How it could work
- Open-source tracking code for App developers to use
- Code adds an App popup for the user to opt-in into public analytics (or this could be custom built by the App developer)
- App developers can pick which pages to track, and add custom events (and need to avoid tracking any personal data)
- Tracked data gets saved locally and dumped every once in a while to user's Gaia hub to a known file location (that file can be capped at 5MB for example)
- If the app requests (publish_data) permission, profiles can be crawled to compile all public user analytics files. If not, the clients must ping an aggregation server the app must run.
- An open-source analytics tool can aggregate user analytics files and show a dashboard.
Extra features
- Usage data can be part of a Collection
- Another app could show the user his/her usage across all Blockstack apps using this analytics tool
- This would be a good incentive for users to opt-in into public usage tracking
Note: this would be a tool for developers to learn how users are using their apps, and not for ranking apps.