cletusc / Userscript--Twitch-Chat-Emotes

Adds a button to Twitch that allows you to "click-to-insert" an emote.
http://cletusc.github.io/Userscript--Twitch-Chat-Emotes/
MIT License
36 stars 20 forks source link

Add basic analytics #66

Open cletusc opened 9 years ago

cletusc commented 9 years ago

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:

// 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.

OlsonDev commented 9 years ago

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. :-)

cletusc commented 9 years ago

For my ref: https://ga-dev-tools.appspot.com/demos/embed-api/5-third-party-visualizations.html