Title: LinuxBCN Analytics for GoatCounter
Author: Joan Linux
Published: <strong>July 16, 2026</strong>
Last modified: July 16, 2026

---

Search plugins

![](https://ps.w.org/linuxbcn-analytics-for-goatcounter/assets/icon-256x256.png?
rev=3609991)

# LinuxBCN Analytics for GoatCounter

 By [Joan Linux](https://profiles.wordpress.org/linuxbcn/)

[Download](https://downloads.wordpress.org/plugin/linuxbcn-analytics-for-goatcounter.1.2.0.zip)

 * [Details](https://wordpress.org/plugins/linuxbcn-analytics-for-goatcounter/#description)
 * [Reviews](https://wordpress.org/plugins/linuxbcn-analytics-for-goatcounter/#reviews)
 *  [Installation](https://wordpress.org/plugins/linuxbcn-analytics-for-goatcounter/#installation)
 * [Development](https://wordpress.org/plugins/linuxbcn-analytics-for-goatcounter/#developers)

 [Support](https://wordpress.org/support/plugin/linuxbcn-analytics-for-goatcounter/)

## Description

Integrate [GoatCounter](https://www.goatcounter.com) 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](https://www.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](https://www.goatcounter.com), 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](https://www.goatcounter.com/help/terms) and [Privacy Policy](https://www.goatcounter.com/help/privacy).

## Installation

 1. Download the plugin ZIP file from the GitHub releases page or via Code  Download
    ZIP.
     Note for macOS users: Safari automatically unzips downloaded files and moves
    the ZIP to the trash. To keep the ZIP file, right-click the download link and choose“
    Download Linked File”, or use a different browser such as Chrome or Firefox.
 2. In your WordPress admin, go to Plugins  Add New  Upload Plugin.
 3. Select the `.zip` file and click Install Now, then Activate.
 4. Go to Analytics  Settings and enter your GoatCounter credentials.

## FAQ

### Do I need a GoatCounter account?

Yes. Create a free account at [goatcounter.com](https://www.goatcounter.com). It’s
free for up to 100,000 pageviews/month.

### Where do I find my site code?

It’s the subdomain of your GoatCounter dashboard URL. If your dashboard is at `mysite.
goatcounter.com`, your site code is `mysite`.

### Where do I find my API token?

In your GoatCounter dashboard: **Settings  API tokens  Create token**.

The API token section only appears after you have **confirmed your email address**.
When you register at goatcounter.com, they send a confirmation email — check your
spam folder if you don’t see it. The API options won’t show up until your account
is confirmed.

### Does this plugin set cookies?

No. GoatCounter does not use cookies and does not track personal data.

### Do I need a cookie consent banner?

No. Since GoatCounter does not use cookies or collect personal data, no GDPR consent
banner is required.

### Is this plugin free?

Yes. The plugin is free and open source (GPL-2.0). GoatCounter itself is also free
for personal and low-traffic use.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“LinuxBCN Analytics for GoatCounter” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ Joan Linux ](https://profiles.wordpress.org/linuxbcn/)

[Translate “LinuxBCN Analytics for GoatCounter” into your language.](https://translate.wordpress.org/projects/wp-plugins/linuxbcn-analytics-for-goatcounter)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/linuxbcn-analytics-for-goatcounter/),
check out the [SVN repository](https://plugins.svn.wordpress.org/linuxbcn-analytics-for-goatcounter/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/linuxbcn-analytics-for-goatcounter/)
by [RSS](https://plugins.trac.wordpress.org/log/linuxbcn-analytics-for-goatcounter/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2.0

 * Redesigned dashboard with three tabs: Temporal, Pages, Devices
 * New periods: quarter (90 days) and year (365 days)
 * SVG bar chart with gradient, grid lines and adaptive granularity (hour/day/week/
   month)
 * Day-of-week distribution with percentage and visit count
 * Top pages with WordPress page title lookup and clickable links
 * Browsers, OS and countries with percentage bars
 * Period selector redesigned as a full-width segmented nav
 * Summary metric cards with icons
 * Active tab persisted via localStorage across page reloads
 * Catalan day names (Dl–Dg) in weekly chart

#### 1.1.0

 * Stats dashboard with top pages, referrers and countries
 * Period filter: today / 7 days / 30 days
 * Catalan translation

#### 1.0.0

 * Initial release — tracking script injection and settings page

## Meta

 *  Version **1.2.0**
 *  Last updated **11 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.0.1**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [analytics](https://wordpress.org/plugins/tags/analytics/)[GDPR](https://wordpress.org/plugins/tags/gdpr/)
   [privacy](https://wordpress.org/plugins/tags/privacy/)[statistics](https://wordpress.org/plugins/tags/statistics/)
 *  [Advanced View](https://wordpress.org/plugins/linuxbcn-analytics-for-goatcounter/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/linuxbcn-analytics-for-goatcounter/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/linuxbcn-analytics-for-goatcounter/reviews/)

## Contributors

 *   [ Joan Linux ](https://profiles.wordpress.org/linuxbcn/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/linuxbcn-analytics-for-goatcounter/)