static-dev / spike-core

:warning: UNMAINTAINED :warning: A modern static build tool, powered by webpack
https://spike.js.org
Other
58 stars 9 forks source link

Analytics #141

Closed jescalan closed 8 years ago

jescalan commented 8 years ago

Having analytics in roots has been really helpful for me at least in being able to get a rough count on our usage numbers and see who is using which features.

In roots, I implemented a little custom analytics package using keen.io. While I love keen, it does have a usage limit. I emailed them earlier and asked if I'd be able to get it lifted for open source projects and they said no. Also it's a little difficult to explore their data, since they only offer pretty much sql access to the data through APIs, so you have to build out custom charts of the visualizations you want. That being said, the data is clean, easy to format the way you want, and these are some nice advantages.

Here's the current roots analytics dashboard I built out. This was fairly straightforward: http://roots.cx/analytics

The other option we have, which is used by a couple other high profile open source projects, is to push to google analytics through their API. There's a library for doing this here. It's somewhat of a hack, as you are pretty much just using custom events, the GA dashboard is not publicly accessible, and making custom displays is more difficult. However, it has no data limits, and the library is already in place for us.

Would be happy to review other options as well if anyone has ideas. I think it would be great to have this tracking in before launch, so that we can keep tabs on usage!

jescalan commented 8 years ago

Covered here: https://github.com/static-dev/spike/pull/14