Self-Hosting Plausible Analytics: Privacy-First Web Analytics
Deep dive into Plausible Analytics. Setup, configuration, goals, and custom events — everything you need for privacy-first analytics.
Why Plausible?
Plausible is a lightweight, privacy-focused analytics tool. Under 1 KB script, no cookies, GDPR-compliant by default.
What Plausible Tracks
What Plausible Does NOT Track
Custom Events
Track specific actions:
javascriptplausible('Signup', {props: {plan: 'pro'}})
Use cases: signups, downloads, button clicks, form submissions.
Goals
Define goals and track conversion rates:
Integration
Add one line to your site:
html<script defer src="https://analytics.example.com/js/script.js" data-domain="example.com"></script>
Plausible vs Google Analytics 4
Deployment
1. Deploy Plausible on TinyPod
2. Add your site
3. Add the script tag
4. Data flows in immediately
Resources: 1 CPU, 1 GB RAM with ClickHouse and PostgreSQL.
Plausible gives you the metrics that matter without the privacy concerns or complexity of Google Analytics.