joshwcomeau / guppy

🐠A friendly application manager and task runner for React.js
ISC License
3.27k stars 154 forks source link

Add platform logging to analytics #268

Closed joshwcomeau closed 5 years ago

joshwcomeau commented 5 years ago

0.3 will feature new analytics tracking, so that we can learn how people use our application.

Something we aren't capturing is what platform the user is on. We won't know what % of users are on Windows/Mac/Linux.

There are a couple ways we could approach this: we could attach it to the load-application event dispatched when the App component mounts, or we could maybe add it to the "identify" call (I'm not sure how this works with Mixpanel).

We should probably update our Privacy Policy to mention this explicitly.

AWolf81 commented 5 years ago

@joshwcomeau I have looked into mixpanel's default properties and OS is already logged. I've added it to product dashboard here so it's easier to access. The count in the screenshot below is realistic as you've tested on Mac & me on Windows + Linux.

grafik

joshwcomeau commented 5 years ago

Oh awesome! Glad to hear it :+1: