exoframe
exoframe copied to clipboard
Implement basic analytics
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).
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 🤔
Another note: potentially would be cool to make the analytics data public on our new website (#259)
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
Matomo (Piwik) is an awesome selfhosted alternative to GA and provides a small nodejs client: matomo-tracker
@anbraten that looks pretty good, thanks for sharing!
@yamalight i think plaubsible might be the best modern secure analytics solution without cookies
@niklasgrewe thanks! that looks pretty interesting, will dig into it :)
@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 :)

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