Welcome to Geeklog, Anonymous Wednesday, September 16 2026 @ 02:03 am EDT

Geeklog Analytics Plugin 1.1.3 Released

  • Sunday, August 16 2026 @ 02:59 am EDT
  • Contributed by:
  • Views: 214
Plugins

The Geeklog Analytics plugin 1.1.3 is now available with several improvements focused on Google Analytics 4 reporting, configuration reliability, multisite support, and compatibility with recent Geeklog installations.

This new release continues to provide GA4 tracking for Geeklog websites while also improving the administration dashboard used to display traffic statistics directly inside the Geeklog backend.

Better GA4 statistics for Geeklog

One of the main improvements in Analytics 1.1.3 is more accurate reporting for the dashboard.

Previous versions calculated some Active Users totals by adding daily values together. This could count the same visitor several times across a 7-day or 30-day period.

Version 1.1.3 now requests these periods directly from the Google Analytics Data API, providing more reliable figures for:

  • Yesterday
  • Last 7 Days
  • Last 30 Days

The dashboard also avoids relying on the position of returned rows to determine yesterday’s statistics and excludes incomplete current-day data from completed reporting periods.

New hostname filtering for subdomains

Analytics 1.1.3 also introduces hostname filtering.

This is especially useful when several Geeklog websites or subdomains share the same Google Analytics 4 property.

For example:

  • site1.example.com
  • site2.example.com

can use the same GA4 Property ID while displaying statistics specific to each hostname.

The plugin can automatically detect the current hostname from Geeklog’s $_CONF['site_url'], or administrators can define a specific hostname manually.

Using * disables hostname filtering and displays data for the complete GA4 property.

This makes the plugin more suitable for Geeklog multisite installations and networks of related websites.

Improved configuration handling

The plugin now normalizes and trims configuration values before they are used.

Validation has also been improved for:

  • GA4 Measurement ID
  • GA4 Property ID
  • Google OAuth Client ID
  • Hostname filter

These changes help avoid configuration problems caused by extra spaces, incorrect identifiers, or invalid values.

Geeklog 2.2.2 compatibility fix

Analytics 1.1.3 also fixes a PHP warning that could appear on Geeklog 2.2.2 when Root Debugging was enabled:

Undefined variable $_DB_table_prefix

The warning was caused by an obsolete legacy database table declaration that is no longer required by the current plugin architecture.

Legacy database migration support remains available when upgrading from older Analytics versions.

Additional improvements

This release also includes several smaller reliability and maintenance improvements:

  • Better GA4 API error reporting.
  • Browser cache isolation by GA4 Property ID and hostname.
  • Improved JavaScript initialization.
  • Safer transfer of configuration values from PHP to JavaScript.
  • Fixed Chart.js version instead of loading an unspecified latest release.
  • Cleanup of obsolete legacy code.
  • Updated plugin headers and changelog.
  • Expanded README documentation with setup instructions, OAuth configuration, hostname filtering examples, migration notes and troubleshooting information.

Compatibility

Analytics 1.1.3 remains compatible with:

  • Geeklog 2.1.1 or later
  • PHP 5.6 or later

Geeklog 2.2.2 with PHP 8.1 or later remains the recommended environment for current installations.

Existing Analytics 1.1.2 installations can be upgraded through the normal Geeklog plugin administration process.

Download Geeklog Analytics 1.1.3

The latest version of the Geeklog Analytics plugin can be downloaded from the official Geeklog Plugins repository:

https://github.com/Geeklog-Plugins/analytics

If you use Google Analytics 4 with Geeklog, particularly on a multisite installation or several subdomains sharing the same GA4 property, this update is recommended.