Userscript--Twitch-Chat-Emotes
Userscript--Twitch-Chat-Emotes copied to clipboard
Add basic analytics
I need some actual actual data from the users. Data would include: menu opens, emote clicks, current version, and test data for new features or performance of existing features. In addition to this data, it would give me a usage stat as right now I have no clue how many people actually use the menu.
The goal is to collect as little data as possible; only the stuff I need. Everything would be 100% anonymous (no usernames, no current channel, no IPs); no personally identifiable information will be gathered.
The privacy policy for this will also apply to the homepage itself, as I will likely be adding analytics for page hits for that.
This will require the following to be implemented:
- privacy policy showing the data we collect
- confirmation during first-time use, but only when a user first opens the menu
- settings toggle to disable tracking when the user wants
// pseudo-code
// first time check
if (analyticsAllowed is unset) {
analyticsAllowed = confirm('Enable analytics tracking for the emote menu?');
}
// normal analytics check, enable if the user authorized it
if (analyticsAllowed) {
require('./analytics');
}
For users watching this repo, please post your suggestions, feedback, concerns, etc. This is a very important discussion and I want to make sure everything is in order before I even start.
Just chiming in to say I think you've covered your bases with what you've written above. Other than that, I have nothing to contribute to the discussion at this time. :-)
For my ref: https://ga-dev-tools.appspot.com/demos/embed-api/5-third-party-visualizations.html