UPDATE: The problem with a selfhosted Plausible
Website Analytics Link to heading
There are a lot of alternatives to Google for website analytics. Here are just a few:
- fathom
- plausible
- goatcounter
- Matomo
- Yandex Metrika
- Application Insights
- microanalytics.io
- Pirsch
- Umami
- One Dollars Stats
- Cloudflare Web Analytics
Some of them also have a selfhosting option, like Fatomhom Lite and the Plausible Community Edition, where the former doesn’t seem to have gotten any updates for a couple of years.
Plausible CE comes with its own instructions for selfhosting, but luckily enough there is also a guide available on how to deploy Plausible on dokku. With that it’s straight forward to get Plausible CE up and running in minutes.
Since I’m using hugo with the coder theme, it’s very easy to make it work with Plausible CE by adding something like the following to the hugo configuration:
plausibleAnalytics:
domain: example.com
fileDownloadsTracking: true
outboundLinksTracking: true
serverURL: plausible.example.com