Skip to content

Self-hosting Plausible, an Open Source Google Analytics Alternative

Posted by author in the category "self-hosting"
Plausible demo dashboard displaying live traffic statistics to Plausible's website.

The Plausible cloud-hosted solution seems like a serious product to consider if you value privacy. There is a robust set of community-supported integrations with popular platforms such as WordPress, Ghost, and Hugo. It can also slot into sites configured with Google Tag Manager, but I had some challenges setting that up. See the self-hosting feature comparison for the differences between the self-hosted community edition and the commercial cloud product.

Self-hosting was straight forward, but my home server setup required a few tweaks of the Community edition quick start guide.

Skip step 3 of quick start if you're using a reverse proxy.

If you're using a reverse proxy to secure traffic into your network, then you should know that the internal service port for Plausible is port 8000. You should disregard step 3 of the official quick start guide.

The official guide also recommends using Docker Compose override files, but you might find it easier to need to modify the Compose file directly to setup networking and labels.

Finally, you'll have to setup SMTP to receive the registration email, as there is no way that I saw to get that information through logs. I chose to set up SMTP via Gmail per the email docs.

End of article