Plausible Analytics
$19/month
* Affiliate link — I earn a commission if you sign up
Pricing
✓ Pros
- ✓Script < 1KB — zero performance impact (Google Analytics is ~45KB)
- ✓No cookie consent banner needed (GDPR, CCPA, PECR compliant)
- ✓Simple dashboard, fast loading, shows exactly what you need to see
- ✓Open source — can be self-hosted for free
- ✓30-day free trial, no credit card required
- ✓Goal tracking, custom events, UTM campaigns
✗ Cons
- ✗Fewer features than Google Analytics 4 (no audience segments, complex funnels)
- ✗Pricing is pageview-based — unpredictable costs during traffic spikes
- ✗No app tracking (mobile)
The problem with Google Analytics
Google Analytics 4 (GA4) is widely used but comes with serious drawbacks:
- GDPR compliance: Requires a cookie consent banner — hurts UX and reduces data collection rates
- Performance: A 45KB script that runs on page load, impacting LCP
- Complexity: The GA4 dashboard is overly complex when 90% of teams only use 5% of its features
- Privacy: User data flows into Google's ecosystem
Plausible addresses all four of these problems.
Setup in Next.js
💻tsx// app/layout.tsx import Script from 'next/script'; export default function RootLayout({ children }) { return ( <html> <body> {children} <Script defer data-domain="yourdomain.com" src="https://plausible.io/js/script.js" /> </body> </html> ); }
That's it. No wrapper component, no complex setup.
Tracking custom events
💻tsx'use client'; import { plausible } from '@/lib/analytics'; // lib/analytics.ts export function trackEvent(name: string, props?: Record<string, string | number>) { if (typeof window !== 'undefined' && (window as any).plausible) { (window as any).plausible(name, { props }); } } // In a component <Button onClick={() => { trackEvent('CTA Click', { location: 'hero', plan: 'pro' }); window.open(affiliateLink, '_blank'); }} > Try for free </Button>
Dashboard — what you actually need
Plausible surfaces everything on the first screen:
- Unique visitors (not sessions, not bots)
- Pageviews with a time-series graph
- Top pages — which pages get the most views
- Top sources — where your traffic comes from (Google, Twitter, direct)
- Countries — where your users are
- Devices — desktop vs mobile
- Goals — conversion tracking
No noise, no clicking through 10 menus just to find basic numbers.
Self-hosting (Free)
Plausible is open source — you can host it yourself:
💻bash# Docker Compose git clone https://github.com/plausible/community-edition cd community-edition # Edit plausible-conf.env docker compose up -d
Requires a minimum of 2GB RAM, PostgreSQL and ClickHouse (both included in the Docker Compose setup).
Comparison with alternatives
| Plausible | Google Analytics | Fathom | Umami | |
|---|---|---|---|---|
| Price | $9-69/month | Free | $14/month | Free (self-host) |
| Cookie required | ❌ | ✅ | ❌ | ❌ |
| Script size | <1KB | 45KB | <2KB | ~5KB |
| Self-host | ✅ | ❌ | ❌ | ✅ |
| GDPR by default | ✅ | ❌ | ✅ | ✅ |
| Dashboard UX | Excellent | Complex | Simple | Good |
Conclusion
If you need analytics that are simple, fast, and headache-free from a GDPR perspective — Plausible is the best choice. $19/month for 100k pageviews, no consent banner required, and no impact on Core Web Vitals.