Skip to content

Koko Analytics: The Lightweight WordPress Analytics You Can Run Entirely Locally

Analytics That Respects Your Visitors

WordPress powers over 43% of websites worldwide. Yet most WordPress site owners still rely on Google Analytics for tracking visitor data—a tool that collects personal information, requires consent banners, and processes data on Google’s servers. For WordPress users, there’s a better way.

Koko Analytics is a free, open-source WordPress plugin that runs entirely on your server. No external services. No personal data collection. No GDPR compliance headaches. Just simple, privacy-friendly analytics built directly into your WordPress dashboard.

This comprehensive guide reveals everything about Koko Analytics: how it works, why WordPress site owners love it, when to use the free version vs. Pro, and how it compares to hosted alternatives like Plausible and Umami.

Koko Analytics dashboard

Why WordPress Site Owners Are Switching from Google Analytics

Google Analytics Complexity

Google Analytics requires weeks to learn. Marketers spend hours creating custom reports, troubleshooting UTM parameters, and navigating the GA4 interface. Non-technical site owners feel overwhelmed immediately.

Privacy Concerns and Legal Risks

Google Analytics has been ruled non-compliant with GDPR in multiple European countries, including Austria, France, Italy, Denmark, Finland, and Norway. Running GA exposes site owners to legal risk, regardless of where their site is hosted.

Performance Impact

GA’s tracking script weighs 70+ KB and significantly slows page loads. For WordPress sites where every millisecond matters for user experience and SEO, this overhead is unacceptable.

Local Analytics Advantage

Running analytics locally (on your WordPress server) eliminates all three problems: analytics become simple, privacy is guaranteed, and performance stays fast.

What is Koko Analytics?

Koko Analytics is a free, open-source WordPress analytics plugin that collects visitor statistics entirely on your server. Created by Danny van Kooten (also behind MonsterInsights and other popular WordPress tools), it tracks essential metrics—visitors, pageviews, referrers—without any external dependencies.

Core Philosophy

  • Privacy-first: No personal data collected or stored
  • Locally processed: Everything happens on your WordPress server
  • Lightweight: Adds less than 500 bytes of JavaScript
  • GDPR compliant: By design, not as an afterthought
  • Open-source: Transparent code, community-driven development
  • No account required: Everything in your WordPress dashboard

Key Features: Free Version

Visitors & Pageviews

Koko tracks:

  • Unique visitors: Individual people visiting your site
  • Total pageviews: Every page view (includes returning visitors)
  • Visitors vs. pageviews: See if users are exploring deeply or bouncing

Optional cookies help detect returning visitors. You can run completely cookieless if privacy is your primary concern.

Referrer Tracking

See exactly where traffic comes from:

  • Search engines (Google, Bing, DuckDuckGo)
  • Social networks (Twitter, Facebook, LinkedIn, Reddit)
  • Direct traffic (typed URL, bookmarked)
  • Other websites (referring links, guest posts)
  • Dark referrers (secure pages, no referrer data)

Built-in referrer spam filtering prevents junk data from skewing analytics.

Device & Browser Breakdown

Understand your audience’s technical setup:

  • Mobile vs. desktop vs. tablet
  • Browser types (Chrome, Safari, Firefox, Edge)
  • Operating systems (Windows, macOS, iOS, Android, Linux)

This data helps prioritize optimization efforts.

Custom Date Ranges

View analytics for:

  • Last 7 days
  • Last 28 days (default)
  • Last 90 days
  • Custom date range
  • Real-time (last hour)
Custom Date Ranges

Dashboard in WordPress Admin

No external login required. Click Analytics in your WordPress dashboard and see stats immediately. Perfect for clients who need reporting without account access.

REST API Access

Developers can access Koko analytics data programmatically via WordPress REST API, enabling custom integrations and dashboards.

Cache Compatibility

Koko works flawlessly with:

  • Browser caching
  • Server-side caching (Varnish, Redis)
  • Cache plugins (WP Super Cache, W3 Total Cache, LiteSpeed)

This is critical—many analytics tools break when caching is enabled.

AMP Support

Official AMP plugin support means tracking works on Accelerated Mobile Pages, not just traditional pages.

Import Historical Data

Migrate from competing platforms:

  • Jetpack Stats: Import visitor history
  • Plausible: Import exported data
  • Burst Statistics: Import if switching platforms

This prevents losing historical analytics when migrating WordPress sites.

Koko Analytics dashboard showing visitors, pageviews, and top referrers

Advanced Features: Koko Analytics Pro

The free version covers essentials. Pro unlocks depth.

Geo-Location Tracking

See which countries visitors come from:

  • By-country breakdown of traffic
  • Identify geographic markets
  • Understand international audience

Useful for international businesses, content localization, and market analysis.

Event Tracking

Track user actions beyond page views:

  • Outbound link clicks (see which external links people click)
  • Form submissions (measure lead generation)
  • Button clicks (track feature adoption)
  • Custom events (any action you define)

Events are critical for understanding user behavior—not just traffic volume.

Email Reports

Automated reporting to your inbox:

  • Daily summaries
  • Weekly digests
  • Monthly reports
  • Custom email frequency

Perfect for sharing analytics with teams, clients, or stakeholders without requiring dashboard access.

CSV Export

Export analytics data for custom analysis:

  • Use in Excel/Sheets for advanced analysis
  • Create custom pivot tables
  • Integrate with business intelligence tools
  • Archive historical data

Admin Bar Chart

Quick-glance pageview chart directly in your WordPress admin bar:

  • See daily pageviews at a glance
  • No need to visit Analytics page
  • Available on every WordPress page

Traffic Spike Notifications

Automatic email alerts when traffic surges:

  • Triggered by sudden traffic increases
  • Helps identify viral content
  • Alerts you to technical issues (spike = problem sometimes)

Pageviews Column in Post List

View pageview counts directly in your WordPress post list:

  • See performance of each post/page without visiting Analytics
  • Quickly identify top-performing content
  • Helps editorial decision-making

Unlimited Sites (on highest tier)

Pro pricing tiers support 1 site, multiple sites, or unlimited sites depending on plan chosen.

Priority Support

Direct support from Koko Analytics team for troubleshooting and feature questions.

Koko Analytics Pricing

Free Version

Cost: $0 forever
Websites: Unlimited
Features: All core analytics (visitors, pageviews, referrers, devices, browsers)

The free version is genuinely unlimited and never expires. No credit card required, no upsells, no nag screens.

Pro Version

PlanSitesCost/MonthCost/YearBest For
Solo1$5$50Individual bloggers, small sites
Agency/FreelancerUnlimited$20$200Agencies, multi-site owners
Custom TierCustomCustomCustomEnterprise needs

Pro is inexpensive compared to hosted analytics ($9-69/month). At $50/year for one site, it’s essentially free—that’s $4.17/month.

30-Day Refund Policy

Not happy? Get a full refund within 30 days, no questions asked. This eliminates purchase anxiety.

Setup: The Easiest Analytics Installation Ever

Installation Steps

  1. In WordPress Admin: Go to Plugins > Add New
  2. Search: Type “Koko Analytics”
  3. Install: Click “Install Now”
  4. Activate: Click “Activate Plugin”

That’s it. Stats start collecting immediately.

Initial Configuration

Default settings work for most sites, but you can customize:

Tracking Method:

  • Cookie-based (detect returning visitors)
  • Cookieless (each visit counts as new visitor)
  • No tracking (disable entirely)

Exclude User Roles:

  • Prevent admin/editor views from counting as traffic
  • Critical for accurate stats on sites with active editing

Exclude IP Addresses:

  • Exclude your office IP
  • Exclude development server IPs
  • Prevent internal traffic from skewing data

Public Dashboard:

  • Keep private (default): Only admins see analytics
  • Make public: Share your analytics via public link

Data Retention:

  • Default: Keep 60 months (5 years)
  • Auto-delete older data after set period

Performance Settings:

  • View database usage for analytics
  • Optimize storage efficiency
  • See pageview count

Accessing Analytics

Once installed and traffic arrives:

  1. In WordPress Dashboard, click Analytics (under Dashboard menu)
  2. View main stats: Visitors, pageviews, bounce rate
  3. View chart: See traffic trends over time
  4. View pages table: Top-performing pages
  5. View referrers table: Traffic sources

Koko Analytics Dashboard: Walkthrough

Main Metrics Section

At the top, you see key numbers:

  • Total Visitors: Unique people
  • Total Pageviews: Total page views
  • Avg. Pageviews/Visitor: Engagement indicator
  • Bounce Rate: Percentage of single-page sessions

Traffic Chart

Visual representation of traffic over your selected date range:

  • X-axis: Days
  • Y-axis: Visitors or pageviews
  • Hover: See exact numbers for any day
  • Interactive: Click to drill down into specific periods

Top Pages Table

Ranked list of your site’s pages:

  • Page title/URL
  • Visitor count
  • Pageview count
  • Bounce rate (if cookies enabled)

Identify your best-performing content and content gaps.

Referrers Table

Ranked list of traffic sources:

  • Referrer domain/source
  • Visitor count
  • Percentage of total traffic
  • Direct vs. organic vs. paid

See which marketing channels drive traffic.

Filters & Date Selection

At the top:

  • Date range selector: Switch between 7/28/90 days or custom range
  • All data updates: Charts and tables refresh instantly
  • Download option: Export data as CSV (Pro feature)

Koko Analytics vs. Competitors

Koko vs. Google Analytics

FeatureKokoGoogle Analytics
Setup time30 seconds20+ minutes
Learning curve5 minutes2+ weeks
GDPR compliantYes, by designRequires workarounds
Privacy friendlyExcellentPoor (surveillance-based)
Script size<500 bytes~70 KB
Data ownership100% yoursGoogle’s
CostFree foreverFree (but you’re the product)
ComplexityVery simpleVery complex
HeatmapsNoNo (but can integrate)
Best forWordPress bloggersEnterprise analytics

Verdict: Koko is infinitely better for typical WordPress site owners. GA is overkill.

Koko vs. Plausible

AspectKokoPlausible
HostingSelf-hosted (local)SaaS (their servers)
CostFree forever$9-69/month
SetupWordPress pluginExternal account
WordPressNative pluginExternal tool
APIREST APIYes
Geo-locationPro onlyYes (all plans)
EventsPro onlyYes (all plans)
WooCommerceManual setupBetter integration
Best forBudget-conscious WP usersNon-WP sites, marketers

Verdict: Koko wins on cost and WordPress integration. Plausible wins on features and simplicity for non-WP sites.

Koko vs. Umami

AspectKokoUmami
InstallationWordPress plugin (easiest)Docker / VPS (complex)
Learning curve5 minutes30 minutes
WordPressNative integrationManual code insertion
Multi-site supportYes (native)Yes (external)
DashboardIn WordPress adminExternal app
Tech skills requiredNoneSome
Best forNon-technical WP usersDevelopers, tech teams

Verdict: Koko is easier for WordPress users. Umami is better for multi-site technical setups.

Why WordPress Site Owners Choose Koko Analytics

It Lives in WordPress

No external login. No separate dashboard. Click Analytics in your WordPress admin and start reading data. This is especially powerful for client reports—clients don’t need dashboard access; you can share screenshots or export reports.

Privacy Without Compromise

Koko collects zero personal data. No cookies (optional), no cross-site tracking, no third-party servers. Your visitors’ data stays on your server, period.

It Actually Works

50,000+ active installations and 1,965 five-star reviews indicate real-world reliability. People trust it.

Minimal Performance Impact

<500 bytes of JavaScript means virtually no site slowdown. Compare this to GA’s 70 KB bloat—Koko is 140x lighter.

No Setup Complexity

Unlike Umami (requires Docker/VPS knowledge), you just install a plugin. Unlike Plausible (external account), everything is local.

Affordable Pro Features

At $50/year for one site ($200/year for unlimited), Pro pricing is fair. Compare to:

  • Plausible: $9-69/month ($108-828/year)
  • Umami Cloud: $9-49/month ($108-588/year)
  • Google Analytics: Free (but you pay in privacy)

When to Use Koko Analytics Free vs. Pro

Use Free If…

  • You’re a blogger tracking basic traffic
  • You want page performance data
  • You need referrer information
  • Privacy is your main concern
  • You’re budget-conscious
  • You manage 1-3 sites

The free version is genuinely sufficient for 95% of WordPress site owners.

Upgrade to Pro If…

  • You run WooCommerce and need event tracking
  • You need country/geo-location data for international expansion
  • You want automated email reports for clients/stakeholders
  • You need traffic spike alerts
  • You manage multiple sites (unlimited plan)
  • You’re an agency building reports for clients
  • You need CSV export for custom analysis

Pro is worth it if analytics reports are part of your business (agencies, consultants) or if you’re optimizing for specific geographic markets.

Real-World Use Cases

Use Case 1: Freelance Blogger

Sarah runs a cooking blog with 5,000 monthly visitors. She installs Koko Analytics free version and within days identifies her top 10 posts. She knows 40% of traffic comes from Pinterest, 35% from Google, 25% direct.

She focuses content creation on high-performing topics. No GA complexity, no privacy concerns, no external accounts. Perfect.

Use Case 2: WordPress Agency

An agency manages 30 client WordPress sites. They install Koko Analytics on each, export monthly CSV reports, and present stats to clients.

With the unlimited Pro plan ($200/year), they track all client sites in one central place, set up monthly email reports, and alert clients to traffic spikes automatically.

Cost per client per month: $6.67. Enormous margin on the analytics service they provide.

Use Case 3: WooCommerce Store Owner

Mark runs an e-commerce store on WooCommerce. With Koko Pro, he tracks:

  • Product page views
  • Add-to-cart events
  • Checkout abandonment
  • Purchase completions

He sees that traffic from email campaigns converts at 8%, while organic search converts at 2%. He shifts budget to email and increases revenue.

Use Case 4: Multi-Site WordPress Network

A publisher runs 12 WordPress sites covering different topics. With Koko Analytics Pro (unlimited sites), all analytics are available in one dashboard. They see trending topics across properties and shift content resources accordingly.

Installation & Setup Best Practices

Before Installation

  1. Ensure WordPress is updated: Use latest WordPress version
  2. Check PHP version: Koko requires PHP 5.6+
  3. Backup your site: Always backup before installing plugins
  4. Check database space: Koko uses minimal space (~10 MB/year)

Installation

  1. Install from WordPress.org plugin repo (easiest)
  2. Or download from GitHub and upload manually
  3. Activate plugin
  4. Go to Analytics > Settings to configure

Initial Configuration

  1. Choose tracking method: Cookies (default) or cookieless
  2. Exclude your IP: Add your office/home IP to exclude admin traffic
  3. Exclude user roles: Prevent admin/editor views from counting
  4. Set data retention: Default 60 months is fine
  5. Test: Visit your site and refresh Analytics page—visitor should appear instantly

Verification

After 1-2 hours, you should see:

  • 1-2 visitors (just you/testers)
  • Several pageviews (your browsing)
  • Referrer: “Direct” (no external referrer)

Congratulations—Koko is tracking.

Importing Historical Data

If you’re switching from another analytics tool, Koko supports importing historical data from:

  • Jetpack Stats: Common for WordPress sites
  • Plausible: Privacy-focused alternative
  • Burst Statistics: Another WordPress analytics tool

How to Import

  1. Export data from your current analytics tool (usually CSV)
  2. In Koko, go to Analytics > Settings > Import
  3. Choose source platform
  4. Upload exported file
  5. Koko imports historical data

You don’t lose historical analytics when switching—critical for trend analysis.

Privacy & Compliance Details

GDPR Compliance

Koko is GDPR compliant by design:

✅ No personal data collection
✅ No third-party data sharing
✅ No cookies (optional—you choose)
✅ Visitors not tracked across sites
✅ Only aggregated data stored

You don’t need consent banners or privacy policy disclosures for Koko itself (though you still need them for other services).

CCPA Compliance

Koko meets CCPA requirements for California visitors:

✅ No sale of personal information
✅ Transparent data collection
✅ No secondary uses of data

Cookie Usage (Optional)

If you enable cookies:

  • Single cookie: _koko_analytics_pages_viewed
  • Lifetime: 24 hours max
  • Data: Only a hash, not personal info
  • Purpose: Detect unique visitors

You can disable cookies entirely for zero-cookie analytics.

Pro Tips & Best Practices

Optimize Traffic Tracking

  • Exclude your IP: Prevents personal browsing from inflating stats
  • Exclude editors/admins: Prevents internal site management from counting as traffic
  • Use UTM parameters: Add ?utm_source=newsletter&utm_medium=email to links to track campaigns
  • Test referrer spam filter: Koko blocks known spam referrers automatically

Report Generation

  • Export to CSV weekly: Build trends spreadsheet
  • Share public dashboard: Great for transparency reports
  • Use Pro email reports: Automate stakeholder reporting
  • Create comparison reports: Track monthly growth

Client Management

If you manage client sites:

  • Install on all client sites: Use unlimited Pro tier
  • Set up automated reports: Email clients monthly digests
  • Exclude client’s own IP: Prevent inflated stats
  • Create public dashboards: Some clients want transparent tracking

Performance Optimization

  • Use HTTP/2 Server Push: For faster tracking script delivery
  • Enable site caching: Koko works fine with caching enabled
  • Monitor database size: Koko stores efficiently; monitor quarterly
  • Archive old data: Use retention settings to keep database lean

Troubleshooting Common Issues

Analytics Not Showing Data

Problem: Installed Koko, but no visitors showing
Solution:

  • Wait 1-2 hours for data to accumulate
  • Visit your site yourself and refresh Analytics page
  • Check that you’re not excluded (excluded IPs won’t show)

High Bounce Rate

Problem: Bounce rate seems artificially high
Solution:

  • Ensure cookies are enabled (helps detect returning visitors)
  • Long bounce rates are normal for blogs (readers visit one post, leave)

Data Looks Wrong

Problem: Visitor/pageview numbers seem off
Solution:

  • Check if you’re excluding your own IP (might undercount)
  • Compare with UTM parameters (helps isolate specific traffic)
  • Remember: Koko counts accurately—other tools might be inflating numbers

Plugin Conflicts

Problem: Koko breaks with other plugins
Solution:

  • Disable other plugins temporarily to isolate the issue
  • Update WordPress and Koko to latest versions
  • Check compatibility on WordPress.org

Database Growing Too Large

Problem: Koko analytics database using lots of space
Solution:

  • Reduce data retention period (default 60 months is fine)
  • Koko is efficient—1 year of data = ~10 MB
  • Export historical data to CSV, then delete old records

Analytics for WordPress Site Owners

If you run WordPress and want simple, private, local analytics—Koko Analytics is the obvious choice. It eliminates the complexity of Google Analytics, respects visitor privacy, and costs either nothing (free version) or $50/year (Pro).

Koko Analytics transforms analytics from a headache into a helpful tool. Install it, forget about external accounts and privacy concerns, and focus on what visitors actually do on your site.

For WordPress bloggers, small businesses, agencies, and anyone tired of Google Analytics:

Try Koko Analytics free today. Install from the WordPress plugin repository, activate, and start tracking immediately. If you like it (and most do), upgrade to Pro for $50/year.

That’s it. Simple analytics for simple sites.

Leave a Reply

Your email address will not be published. Required fields are marked *