Opened 21 months ago

Last modified 7 months ago

#2830 new task

Install Matomo or Plausible for web analytics

Reported by: robe Owned by: sac@…
Priority: normal Milestone: Sysadmin Contract 2024-I
Component: SysAdmin Keywords:
Cc:

Description

As discussed, it would be useful to have a Matomo instance running to grab analytics

https://matomo.org

As discussed here - https://lists.osgeo.org/pipermail/sac/2022-October/014748.html

Requirements are:

  • PHP > 7.2
  • MySQL > 5.5
  • Apache2 or NGINX

There is also a plugin for wordpress

https://matomo.org/installing-matomo-for-wordpress/

I'm unclear if the wordpress one can only be used for the wordpress instance, I assume so or if it can be used for any website.

At anyrate, putting in on the wordpress instance on osgeo7, might make the most sense.

Right now the wordpress instance is running PHP 7.3, I forget which MySQL, definitely newer than 5.5, and apache2 2.4 I think. It is currently buster.

I do plan to upgrade it, first on dev, so maybe I can experiment on dev installing matomo after the upgrade.

It looks however that it relies on some javascript string to be added, so not sure how it will collect download stats such as what happens on download.osgeo.org. I would think such a tool would need access to the raw weblogs as what awstats used to process.

Change History (13)

comment:1 by robe, 19 months ago

Milestone: Sysadmin Contract 2022-IISysadmin Contract 2023-I

pushing to next milestone since my contract funds have been used.

comment:2 by neteler, 10 months ago

Hi @robe, it would be great to have Matomo in place for OSGeo projects.

comment:3 by strk, 10 months ago

Vicky: any chance this could be put on your plate as well ? See also https://trac.osgeo.org/postgis/ticket/5559#comment:13

comment:4 by strk, 10 months ago

https://en.wikipedia.org/wiki/Matomo_(software) seem to be still a good choice, latest release was 2 months ago

comment:5 by robe, 9 months ago

Also mentioned on postgis-development https://lists.osgeo.org/pipermail/postgis-devel/2023-October/030123.html is Plausible.io https://plausible.io/.

One thing I like about Plausible over Matomo is that it uses postgres as its backend. Matomo uses MySQL/MariaDb. Plausible general deployment is with docker.

I think when I was looking at plausible.io I thought it was only offered as a service, but similar to Matomo, you can host on your own server.

The Matomo licensing is GLPv3 while the Plausible.io is AGPL license. I think for our purposes both licensing models are fine.

comment:6 by robe, 9 months ago

Summary: Install Matomo for web analyticsInstall Matomo or Plausible for web analytics

comment:7 by strk, 9 months ago

Plausible is missing from https://en.wikipedia.org/wiki/List_of_web_analytics_software - if anyone is thrilled by being able to add something to our beloved human knowledge base !

comment:8 by strk, 9 months ago

Plausible business model is intentionally keeping valued features out of the free software edition: https://github.com/plausible/analytics

Selected premium features are not available as we aim to ensure a protective barrier around our cloud offering.

I'd rather use MariaDB ...

comment:9 by neteler, 9 months ago

FWIW: Matomo is pretty cool while the "community" Plausible seems to be rather limited.

comment:10 by strk, 9 months ago

Show your support for the idea of adding PostgreSQL backend here: https://github.com/matomo-org/matomo/issues/500

in reply to:  10 comment:11 by robe, 9 months ago

Replying to strk:

Show your support for the idea of adding PostgreSQL backend here: https://github.com/matomo-org/matomo/issues/500

I put my +1 on it, but I honestly think they aren't interested at all in supporting PostgreSQL. So I feel that will go no where.

comment:13 by robe, 7 months ago

Milestone: Sysadmin Contract 2023-ISysadmin Contract 2024-I

Moving my prior still open items to the next proposed Milestone

Note: See TracTickets for help on using tickets.