Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Track users with matomo in cloudron backend/cloudron apps

    Feature Requests
    7
    10
    368
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Grienauer
      Grienauer last edited by girish

      Is there an easy way to add matomo to the cloudron backend, so it would track/count visits to the backend and allow a small analytic of the users there?
      Also it would be perfect to add matomo to all installed apps automatically and call an event per app, so we could check which apps are how often used.

      Drupal CMS and Open Source Expert, Mautic Community lead Secretary

      girish 1 Reply Last reply Reply Quote 3
      • girish
        girish Staff @Grienauer last edited by

        @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.

        ruihildt 1 Reply Last reply Reply Quote 1
        • Moved from Support by  girish girish 
        • girish
          girish Staff last edited by

          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.

          1 Reply Last reply Reply Quote 3
          • ruihildt
            ruihildt @girish last edited by

            @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^^)

            girish 1 Reply Last reply Reply Quote 0
            • girish
              girish Staff @ruihildt last edited by girish

              @ruihildt Yes, of course. It will be optional, if we add it.

              edit: to be clear, the option will be to add your own matomo instance. we have no interest in providing a global instance (like a matomo SaaS).

              1 Reply Last reply Reply Quote 1
              • nebulon
                nebulon Staff last edited by

                I guess this will come down to allowing to inject code in various places in the dashboard, like we already allow for example in the footer. So maybe technically this is like the "branding" feature?

                fbartels 1 Reply Last reply Reply Quote 3
                • fbartels
                  fbartels App Dev @nebulon last edited by

                  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.

                  P 1 Reply Last reply Reply Quote 5
                  • Referenced by  girish girish 
                  • P
                    plusone-nick @fbartels last edited by

                    @fbartels +1 for supporting a generic method for applying tracking code in the dashboard head, id like to use Umami for tracking user signup/reg

                    ✌💙+1

                    1 Reply Last reply Reply Quote 2
                    • J
                      jayonrails translator last edited by

                      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

                      girish 1 Reply Last reply Reply Quote 0
                      • girish
                        girish Staff @jayonrails last edited by

                        @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.

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post
                        Powered by NodeBB