3rd Party Inclusion Into Deployment Process?

Hello guys,

I was wanting to use this self-hosted version of Matomo to track stats in my network of blogs under a WPMU bedrock environment.

Is there a proper way to do this within the Trellis configuration safely?


1 Like

Could this be something I add into the file structure and simply include it into the Git environment so it deploys automatically with the WP environment with it’s own sub-module for updating it specifically?

I decided to port Matomo to an individual DigitalOcean droplet as it would be easier to manage this way.

I thought about running it as a Docker container,
but there are firewall (ferm, set up by Trellis) issues with docker.

Edit: I find it also better to have the services separated, one instance only for the websites, one only for extra services like analytics (Matomo).

Also interesting: https://github.com/matomo-org/tracker-proxy

Edit: Apparently the Matomo (Piwik) WordPress plugin offers tracker proxy support, but I am not completely sure about this, I asked this in their plugin forum.

1 Like

Addendum: WP-Matomo (WP-Piwik) plugin also supports the Matomo Tracker Proxy, as confirmed in this WordPress plugin forum discussion: https://wordpress.org/support/topic/proxy-tracking-fix/#post-11787994

It would be also interesting whether the Matomo plugin could ship the tracking proxy script, too, eliminating the need for manually adding the tracking proxy script files to each site or using a more complicated nginx config for sharing it between the sites: https://wordpress.org/support/topic/built-in-tracker-proxy/