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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Feature Requests
  3. Track users with matomo in cloudron backend/cloudron apps

Track users with matomo in cloudron backend/cloudron apps

Scheduled Pinned Locked Moved Feature Requests
11 Posts 8 Posters 1.8k Views 7 Watching
  • 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.
    • GrienauerG Offline
      GrienauerG Offline
      Grienauer
      wrote on last edited by girish
      #1

      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

      girishG 1 Reply Last reply
      3
      • GrienauerG Grienauer

        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.

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

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

        ruihildtR 1 Reply Last reply
        1
        • girishG girish moved this topic from Support on
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

          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
          3
          • girishG girish

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

            ruihildtR Offline
            ruihildtR Offline
            ruihildt
            wrote on last edited by
            #4

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

            girishG 1 Reply Last reply
            0
            • ruihildtR ruihildt

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

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by girish
              #5

              @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
              1
              • nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #6

                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?

                fbartelsF 1 Reply Last reply
                3
                • nebulonN nebulon

                  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?

                  fbartelsF Offline
                  fbartelsF Offline
                  fbartels
                  App Dev
                  wrote on last edited by
                  #7

                  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
                  5
                  • girishG girish referenced this topic on
                  • fbartelsF fbartels

                    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 Offline
                    P Offline
                    plusone-nick
                    wrote on last edited by
                    #8

                    @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
                    2
                    • J Offline
                      J Offline
                      jayonrails
                      translator
                      wrote on last edited by
                      #9

                      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

                      girishG 1 Reply Last reply
                      0
                      • J jayonrails

                        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

                        girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #10

                        @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
                        1
                        • girishG girish referenced this topic on
                        • necrevistonnezrN Offline
                          necrevistonnezrN Offline
                          necrevistonnezr
                          wrote on last edited by necrevistonnezr
                          #11

                          Can we revisit this? Allowing some code in the (html) header of all apps would be enough, I think (and awesome)

                          1 Reply Last reply
                          2
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Bookmarks
                            • Search