Matomo is a fully featured web analytics server and is a great alternative to Google Analytics when data ownership and privacy compliance are a concern.
The service is composed by the following components:
- matomo: includes two containers within a single pod, the matomo analytics instance and matomo-proxy, which is the nginx used to proxy http requests.
- matomo-db: a mariadb instance that will be used to store the analytics data.
The templates provided in the
openshift folder include everything that is necessary to create the required builds and deployments.
Since there are interdependencies between deployment configurations, please make sure to follow this order when creating them for the first time:
- build and deploy the database
- build and deploy the Matomo analytics server and proxy
The scripts in openshift-developer-tools can be used to manage the builds and deployments.
Once everything is up and running in OpenShift, follow the instructions to create your superuser, set-up the connection to the database and initialize the Matomo dashboard.
To start tracking, copy the snippet for the appropriate website in the Matomo dashboard and place it in your website.