exoframe icon indicating copy to clipboard operation
exoframe copied to clipboard

Implement basic analytics

Open yamalight opened this issue 6 years ago • 8 comments
trafficstars

It's a bit hard to tell which features people use more, where things break, etc without having proper analytics in place. For v6.0 we need to add analytics that'll help us figure out which features to focus on. The analytics should:

  • [ ] Be completely anonymous (we're not interested in personal info, just in the ways exoframe is being used)
  • [ ] Easily allow opt-out

We could go with two approaches for this - either just use something like google analytics (very easy to implement, no costs for us), or use something that is self-hosted (would mean setting up our own server for collecting data).

yamalight avatar Oct 28 '19 10:10 yamalight

If we go with GA - insight package looks pretty much perfect. Doesn't seem that it's in active development anymore though. Lower level universal-analytics might be a better approach then 🤔

yamalight avatar Oct 28 '19 10:10 yamalight

Another note: potentially would be cool to make the analytics data public on our new website (#259)

yamalight avatar Oct 28 '19 10:10 yamalight

Majority of packages are pretty large (anywhere from 500k to 1mb+), so I'm not sure it's worth adding them in this way. I'll likely end up implementing my own version later on. Moving this to post-6.0

yamalight avatar Nov 05 '19 12:11 yamalight

Matomo (Piwik) is an awesome selfhosted alternative to GA and provides a small nodejs client: matomo-tracker

anbraten avatar Mar 10 '20 14:03 anbraten

@anbraten that looks pretty good, thanks for sharing!

yamalight avatar Mar 10 '20 15:03 yamalight

@yamalight i think plaubsible might be the best modern secure analytics solution without cookies

niklasgrewe avatar Oct 22 '20 09:10 niklasgrewe

@niklasgrewe thanks! that looks pretty interesting, will dig into it :)

yamalight avatar Oct 22 '20 09:10 yamalight

@yamalight no matter. I have seen that you can host plausible ones yourself: https://docs.plausible.io/self-hosting/ and it is completely open source :)

and I remember one more thing... i will use Directus as CMS for my website and for those of my customers. In v9 it should be possible to add own dashboards etc. It would be pretty cool if i could somehow combine exoframe and directus with analytics like plaubsible. That way you would have all statistics in one place. I don't know how far this is wanted, but I think it would be pretty cool - just as an idea :)

image

this is a screenshot of what a possible dashboard might look like in Directus

niklasgrewe avatar Oct 22 '20 09:10 niklasgrewe