Matomo (formerly Piwik) is an open-source analytics platform that focuses on user privacy and data ownership. It is a free alternative to Google Analytics and is already used on more than a million websites.
Click Deploy to Render below to deploy Matomo on Render.
The rest of this document explains how to set up Matomo on Render manually.
Set up a new MySQL 8 instance on Render. Make sure to select the
master branch when you create your database so it uses MySQL 8. The database should be up in a few minutes; wait for it to go live before moving to the next step.
You’ll need details from your MySQL private database service before you can deploy the Matomo web app.
Fork render-examples/matomo on GitHub or click
Use this template.
Create a new Web Service on Render and give Render’s GitHub app permission to access your new repository. Make sure the
Runtimeis set to
Dockerand pick a name for your service.
Add the following environment variables under Advanced.
MySQL hostname from above (e.g.
MySQL database name
MySQL database username
MySQL database password
Add a Disk under Advanced:
20 GBFeel free to change this to suit your needs.
That’s it! Save your web service to deploy Matomo on Render. It will take a couple of minutes to start but future deploys will be much faster.
Your Matomo instance will be available on your
.onrender.com URL as soon as your first deploy is live. You can configure it by going to
https://your-subdomain.onrender.com and start using Matomo!