Introduction
This guide will help you switch from Google Analytics to Plausible, a lightweight, privacy-friendly analytics service based in the EU. Plausible provides essential website metrics without tracking your visitors.
Why switch?
- Google Analytics tracks users across the web
- Creates detailed personal profiles of visitors
- Ruled illegal in multiple EU countries under GDPR
- Requires cookie consent banners
- Complex interface with overwhelming data
Why Plausible?
- EU-based and GDPR compliant by design
- No cookies - no consent banner needed
- Lightweight script (< 1KB vs 45KB+ for GA)
- Simple, actionable dashboard
- Open source and self-hostable
- Respects visitor privacy
Prerequisites
- Access to your website’s HTML or CMS
- Google Analytics account (for reference data)
- Plausible account (paid service, 30-day free trial)
- About 20 minutes of time
Info: Plausible is a paid service starting at $9/month for up to 10k monthly pageviews. There’s also a self-hosted option that’s free.
Step 1: Create your Plausible account
- Visit plausible.io and click “Start your free trial”
- Enter your email and create a password
- Confirm your email address
- Add your first website domain
- You’ll receive your tracking script
Tip: Use the exact domain your visitors see (e.g.,
example.comwithoutwwwif that’s what redirects).
Step 2: Add the Plausible tracking script
For static HTML sites
Add this script to your <head> section:
<script defer data-domain="yourdomain.com"
src="https://plausible.io/js/script.js"></script>
For WordPress
- Install the official “Plausible Analytics” plugin
- Go to Settings > Plausible Analytics
- Enter your domain name
- Save changes
For Next.js/React
// In _document.js or layout component
<Script
defer
data-domain="yourdomain.com"
src="https://plausible.io/js/script.js"
strategy="afterInteractive"
/>
For other platforms
Plausible has guides for Hugo, Ghost, Webflow, Squarespace, and more at plausible.io/docs.
Tip: The script is tiny (< 1KB) and won’t slow down your site.
Step 3: Verify installation
- Deploy your website changes
- Visit your website in a new browser/incognito window
- Go to your Plausible dashboard
- Check if the visit is recorded (may take a minute)
- Test different pages to verify tracking works
Step 4: Configure your Plausible dashboard
- Set up goals: Track button clicks, form submissions, outbound links
- Enable email reports: Get weekly/monthly summaries
- Add team members: Invite colleagues with viewer access
- Custom domains: Use your own subdomain for the script (paid feature)
Step 5: Export Google Analytics data (optional)
If you want historical data for reference:
- Go to Google Analytics
- Navigate to Reports you want to save
- Export as CSV or PDF
- Store for future reference
Info: Plausible doesn’t import historical GA data, but you can keep GA running in parallel temporarily.
Step 6: Remove Google Analytics
Once you’re confident Plausible is working:
- Remove the Google Analytics script from your site
- Remove any cookie consent related to GA
- Update your privacy policy
- Delete or keep your GA account for records
Tips & Gotchas
Warning: Google Analytics 4 data cannot be imported into Plausible. Plan for a parallel running period if you need historical comparison.
- Cookie consent: With Plausible, you likely don’t need a cookie banner for analytics (consult GDPR guidelines)
- Data comparison: GA and Plausible count differently - expect some variance
- Bot filtering: Plausible automatically filters most bots
- Custom events: Set up custom events for important actions
- API access: Export data via API for custom reporting
- Self-hosting: Consider Plausible Community Edition for free self-hosting
What’s Next?
After completing this guide:
- Set up goals: Track conversions and important actions
- Review privacy policy: Update to reflect new analytics
- Configure email reports: Stay informed without checking daily
- Remove cookie banner: If it was only for GA
- Run parallel: Keep GA for 1-2 months for comparison (optional)
Related Guides
- Google Analytics to Fathom - Another privacy-friendly alternative
- Gmail to ProtonMail - Continue your privacy journey