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

    How have you got your Matomo set-up?

    Matomo
    3
    11
    506
    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.
    • jdaviescoates
      jdaviescoates last edited by jdaviescoates

      I'm just starting to try out Matomo on a WordPress blog. Both on Cloudron.

      There are quite a few options, so it's hard to know the quickest/ best way to get it all set-up.

      I know @d19dotca uses it with lots of WP sites on Cloudron so I'd be interested to know more about your (and anyone else's) set-up?

      Are you using one of the WP plugins? If so, which one?

      I remember you saying that your customers like receiving their daily email, so be good to know how you've got that set-up too.

      Thanks! 🙂

      I use Cloudron with Gandi & Hetzner

      d19dotca 1 Reply Last reply Reply Quote 1
      • humptydumpty
        humptydumpty last edited by

        I'm using this WP plugin: https://wordpress.org/plugins/wp-piwik/

        WP-Piwik Settings

        Matomo-Mode: Self-Hosted (HTTP, API)
        Auto-Config: Checked
        Add Tracking Code: Default Tracking
        Javascript code position: Footer
        Enable Cache: Checked

        Matomo Install Settings - I'm running the bare minimum tracking to protect user privacy as much as possible while collecting enough info to understand my traffic

        Anonymize IP by 2 Bytes
        Keeping a short timeframe for deleting old logs
        Enable DNT support
        Geolocation - DBIP / GeoIP 2 PHP

        jdaviescoates 1 Reply Last reply Reply Quote 3
        • jdaviescoates
          jdaviescoates @humptydumpty last edited by

          @humptydumpty thanks for sharing! 🙂

          I use Cloudron with Gandi & Hetzner

          humptydumpty 1 Reply Last reply Reply Quote 0
          • humptydumpty
            humptydumpty @jdaviescoates last edited by

            @jdaviescoates No problem. I forgot to mention that Firefox might give you a problem with error messages (just ignore them) but if Matomo doesn't seem to be registering any hits then try to disable DNT. With DNT on, I had issues with the hits showing up in the WP dashboard.

            1 Reply Last reply Reply Quote 3
            • d19dotca
              d19dotca @jdaviescoates last edited by

              @jdaviescoates Ah sorry I didn't see this sooner. Yeah my customers definitely enjoy the reports. I send them out monthly though, not daily. Here's some notes if this helps at all 🙂

              • Running Matomo server in Cloudron (of course, lol)
              • Enabled tracking of a dozen+ WordPress websites using the plugin that @humptydumpty mentioned earlier (https://wordpress.org/plugins/wp-piwik/) with what appears to be the same settings too.
                ** I also enabled in that plugin to not count visits from sign-in admin users, I feel that keeps me from throwing off the analytic data a bit whenever I'm making a bunch of changes to the site where I'm needing to load up all the pages to check stuff in.
                ** I also enabled the 404 and Search Results tracking in the plugin too, which just makes it easier to tell 404 pages and such in the backend results in Matomo server as it highlights them better.
              • I've got monthly reports setup from Matomo which go to the website owners on the first of each month. Here's a screenshot of what I'm sending them if this helps (some get more data if they request it but these are basically my default report styles):
                e246d14d-139b-44c0-8a3f-d10b35db0bc9-image.png
                c270256d-3eef-4870-a796-a2ee372b8f2d-image.png
                bfb7f9bf-9606-414f-a687-71a5de04eb15-image.png
              • I have it set to send monthly reports, with a month report period, and via email using HTML instead of PDF. I can't recall why exactly I chose HTML, I think it was just easier for my clients when it was all in the email itself rather than as a PDF (it isn't like they're really filing them away where they need PDFs anyways), it looked nicer that way too and was more readable for them.
                8cdcf1cd-0b41-4118-b9bd-85b4c487c84a-image.png
              • I don't have any additional third-party plugins in Matomo, just using the base install.
              • For the Geolocation setup, I've got it set with this one below, I found this one to be the most accurate for me and my clients:
                Screen Shot 2021-01-04 at 10.04.35 AM.png
              • I've set the IP addresses of UptimeRobot (which I currently use to monitor my client websites and other services) to be excluded from the analytics. Though I heard this may not be necessary as they supposedly don't trigger the Javascript code from running, but I figured may as well be safe than sorry. UptimeRobot has a TXT file so it's super simple to add them all in with just a copy + paste.

              Hope the above helps. 🙂

              --
              Dustin Dauncey
              www.d19.ca

              humptydumpty jdaviescoates 2 Replies Last reply Reply Quote 4
              • humptydumpty
                humptydumpty @d19dotca last edited by

                @d19dotca said in How have you got your Matomo set-up?:

                ** I also enabled in that plugin to not count visits from sign-in admin users, I feel that keeps me from throwing off the analytic data a bit whenever I'm making a bunch of changes to the site where I'm needing to load up all the pages to check stuff in.

                Nice catch. I forgot to turn that on after I was done setting things up. Thanks!

                1 Reply Last reply Reply Quote 2
                • jdaviescoates
                  jdaviescoates @d19dotca last edited by

                  @d19dotca that's brilliant, thanks!

                  I use Cloudron with Gandi & Hetzner

                  d19dotca 1 Reply Last reply Reply Quote 1
                  • d19dotca
                    d19dotca @jdaviescoates last edited by

                    @jdaviescoates Anytime! Just wish I had a way to make those screenshots much smaller hahaha 😄

                    --
                    Dustin Dauncey
                    www.d19.ca

                    humptydumpty 1 Reply Last reply Reply Quote 0
                    • humptydumpty
                      humptydumpty @d19dotca last edited by

                      @d19dotca irfanview for batch editing (resize and crunching) https://www.irfanview.com/

                      d19dotca 1 Reply Last reply Reply Quote 1
                      • d19dotca
                        d19dotca @humptydumpty last edited by

                        @humptydumpty Ah well that's just too much work for me 😛 haha I was hoping there'd be a way to resize them when composing in the forum here which I'm used to with other similar editors. Wish NodeBB had that.

                        --
                        Dustin Dauncey
                        www.d19.ca

                        humptydumpty 1 Reply Last reply Reply Quote 0
                        • humptydumpty
                          humptydumpty @d19dotca last edited by

                          @d19dotca Yeah, I get what you're saying. The process is not that bad though. As long as you keep the same settings, it's a drop and drop of the files and hitting the start button. It'll save them to the folder you had specified on a previous run and you'll be doing two things as once, resizing and crunching (less work for the server).

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