Get Up and Running Fast
This guide will help you set up Plausible Analytics and start tracking your website traffic in just a few minutes. No complex configuration needed.This quick start covers Plausible Cloud, our managed service. For self-hosting instructions, see the Installation guide.
Prerequisites
All you need is:- A website where you can add code to the
<head>section - 2 minutes of your time
Step 1: Create Your Account
Sign Up
Visit plausible.io/register and create your account.Enter your email and create a password. You’ll receive a confirmation email to verify your account.
Add Your Website
After signing in, you’ll be prompted to add your first website.Enter your domain exactly as it appears in the browser (e.g.,
mywebsite.com or blog.mywebsite.com).Step 2: Install the Tracking Script
Plausible offers multiple installation methods. Choose the one that works best for your setup.Method 1: Manual Script Installation (Recommended)
This is the simplest method for most websites.Copy Your Snippet
After adding your site, you’ll see your unique tracking snippet that looks like this:
Your actual snippet will include a unique Script ID specific to your site. The script is lightweight (< 1KB) and won’t slow down your website.
Add to Your Website
Paste the snippet into the
<head> section of your website, before the closing </head> tag.For static sites, add it to your HTML template:Method 2: WordPress Plugin
If you’re using WordPress, we have an official plugin.Install the Plugin
Go to your WordPress admin panel → Plugins → Add NewSearch for “Plausible Analytics” and click Install, then Activate.
Method 3: NPM Package
For modern JavaScript applications (React, Vue, Next.js, etc.):Initialize in Your App
The
init function must be called on the client side only. For SSR frameworks like Next.js, ensure initialization happens in a client component or useEffect hook.Step 3: Verify Installation
Click Verify Installation
After adding the script, return to your Plausible dashboard and click the “Verify Installation” button.Plausible will automatically detect if the script is installed correctly on your site.
Visit Your Website
Open your website in a browser (in a regular window, not incognito mode).Navigate to a few pages to generate some test traffic.
Step 4: Explore Your Dashboard
Congratulations! You’re now tracking privacy-friendly analytics. Here’s what you’ll see:Current Visitors
See how many people are on your site right now in realtime
Pageviews
Total pageviews over your selected time period
Top Pages
Which pages on your site are getting the most traffic
Traffic Sources
Where your visitors are coming from (Google, social media, direct, etc.)
Optional: Enhanced Tracking
Want to track more than pageviews? Enable these optional features:Track Outbound Links
Automatically track when users click external links:Track File Downloads
Monitor when users download files:Track Custom Events
Track button clicks, form submissions, and other user actions:Troubleshooting
I don't see any data in my dashboard
I don't see any data in my dashboard
- Make sure you visited your site in a regular browser window (not incognito/private mode)
- Check that the script snippet is in the
<head>section, not the<body> - Verify your domain in the snippet matches exactly what you entered in settings
- Disable any ad blockers and try again (note: Plausible is blocked by many ad blockers)
- Check your browser console for any JavaScript errors
The script is installed but not detected
The script is installed but not detected
- Clear your browser cache and hard reload the page (Ctrl+Shift+R or Cmd+Shift+R)
- Make sure the script loads before the closing
</head>tag - Check that your Script ID is correct in the snippet
- Some content security policies (CSP) may block the script - add plausible.io to your allowed domains
Pageviews aren't tracking on my SPA
Pageviews aren't tracking on my SPA
If you’re using a single-page application with client-side routing:
- For NPM: ensure
autoCapturePageviews: trueis set (default) - For hash-based routing (/#/page), enable the hash routing option:
I want to exclude my own visits
I want to exclude my own visits
Set Or add this to your site for a permanent exclusion link for you and your team.
localStorage.plausible_ignore to "true" in your browser console:Next Steps
Set Up Goals
Track conversions like signups, purchases, or downloads
Invite Team Members
Collaborate with your team and assign roles
Email Reports
Get weekly or monthly analytics reports sent to your inbox
Integrate Search Console
See which keywords bring traffic from Google
Need help? Join our community forum or check the full documentation for detailed guides.