Track users with matomo in cloudron backend/cloudron apps
-
@Grienauer By backend, I assume you mean adding it matomo integration to the dashboard ? That should be doable . Also, we can probably do this even without matomo style integration, but I don't see any point in re-inventing analytics inside Cloudron...
For the apps themselves, only some apps have matomo integration, so it will difficult to implement this system wide.
I will move this to feature request.
-
-
If you want a temporary fix, you can just add the matomo script in the files at
/home/yellowtent/box/dashboard/dist
. The most interesting files are index.html (after login) and login.html (before login). Of course, the changes won't be persisted across update so this is just for playing around. -
@girish I would suggest not to add analytics to the platform by default. Only collect the data that you really need.
If people want to integrate matomo by adding a script, that's their business though, as long as it's not integrated in the platform.
(Yes I repeated myself, it was on purpose^^)
-
-
Matomo is also not the only web analytics software in the Cloudron appstore, so a generalised solution would be better.
Since Cloudron manages the reverse proxy it could theoretically even inject the tracking code directly into the webserver response. An example of this can be found at https://stackoverflow.com/a/51664342.
-
-
I would like to dive in here, is there:
- any chance we see this in the next Cloudron release? (@girish)
- any way to hack this in Cloudron and re-do after another update?
Best
Jay -
@jayonrails it's not a priority atm. Our next release is 7.4 and we try to put what's coming in the announcements - https://forum.cloudron.io/topic/8269/what-s-coming-in-7-4 .
We can possibly consider this in the releases after.
-
-
Can we revisit this? Allowing some code in the (html) header of all apps would be enough, I think (and awesome)