plugin-icon

LinuxBCN Analytics for GoatCounter

Privacy-friendly analytics via GoatCounter. No cookies, no GDPR banner needed. Full stats dashboard in your WordPress admin.
Version
1.2.0
Last updated
Jul 16, 2026

Integrate GoatCounter into your WordPress site with a clean admin dashboard showing visits, pages and device breakdown — all without cookies, without tracking personal data, and without needing a GDPR consent banner.

Why GoatCounter?

  • No cookies — no GDPR/cookie banner required
  • Lightweight — single async script, zero performance impact
  • Open source and privacy-respecting
  • Free for up to 100,000 pageviews/month

Dashboard features

  • Three tabs: Temporal (time series), Pages (top content), Devices (browsers, OS, countries)
  • Five time periods: today, 7 days, 30 days, quarter (90 days), year (365 days)
  • SVG bar chart of visits per hour / day / week / month depending on period
  • Day-of-week distribution with percentage and visit count
  • Top pages with WordPress page title lookup and direct links
  • Browsers and operating systems with percentage bars
  • Countries breakdown with percentage bars
  • Summary metric cards (total visits, pages, countries, top browser)
  • Remembers the active tab across page reloads (localStorage)
  • Available in English and Catalan

Setup in 3 steps

  1. Create a free account at goatcounter.com
  2. Go to Analytics Settings and enter your site code and API token
  3. Done — the tracking script is injected automatically and stats appear in the dashboard

External services

This plugin relies on GoatCounter, a third-party privacy-friendly analytics service. GoatCounter is required for the plugin to function — you must create your own free GoatCounter account.

Tracking script: On every front-end page view, the visitor’s browser loads a tracking script from https://gc.zgo.at/count.js and sends a pageview request to https://{your-site-code}.goatcounter.com/count. This happens for every visitor on every page load, and includes standard pageview data (URL, referrer, screen size) — GoatCounter does not use cookies and does not collect personally identifiable information.

Dashboard API: When you view the Analytics dashboard in your WordPress admin, this plugin sends requests (using your API token) to https://{your-site-code}.goatcounter.com/api/v0 to retrieve your stats. This only happens when a logged-in administrator visits the Analytics page.

GoatCounter Terms of Service and Privacy Policy.

Freeon paid plans
Tested up to
WordPress 7.0.1
This plugin is available for download for your site.