Skip to content

Releases: JensS/simplest-analytics

v1.3.1 - Cache Compatibility Fix

Choose a tag to compare

@JensS JensS released this 05 Feb 10:08

Bug Fixes

  • Fixed tracking on cached pages - Pages served from PHP-level cache (WP Super Cache, W3TC, etc.) are now correctly tracked via JS fallback. The old boolean flag could be cached in HTML, causing subsequent visitors to go untracked.

  • Added deduplication - Prevents duplicate pageviews within a 30-second window using transient-based deduplication on both server-side tracker and REST API.

  • Fixed duplicate array keys - Cleaned up redundant entries in REST API data handling.

Technical Details

Changed cache detection from a simple window.sa_tracked = true boolean to a timestamp-based signature (window.sa_sig). JavaScript now checks if the signature is within 10 seconds of current time to determine if PHP actually tracked the current request vs. serving stale cached HTML.

Upgrade

This is a recommended update for all users, especially those using page caching plugins.

v1.3.0 - Time-on-Page Tracking

Choose a tag to compare

@JensS JensS released this 05 Feb 09:51

What's New

Time-on-Page Tracking

  • Track how long visitors spend on each page
  • Uses heartbeat mechanism with visibility detection
  • Displays average duration in the pages statistics table

Performance Improvements

  • Added transient caching for admin database queries
  • New database indexes for faster lookups
  • Optimized query patterns

Technical Changes

  • Added pageview_id column for session tracking
  • Added duration_seconds column to pageviews table
  • Enhanced JavaScript tracker with page lifecycle detection

v1.2.0 - Geographic & Browser Statistics

Choose a tag to compare

@JensS JensS released this 04 Feb 15:04

What's New

Features

  • Countries tab - Geographic visitor statistics with flag emojis and visual bar charts
  • Browsers tab - Browser name detection with icons (Chrome, Firefox, Safari, Edge, etc.)
  • Devices section - Visual percentage bars showing desktop/mobile/tablet breakdown
  • Campaign tracking - Full UTM parameter support with dedicated statistics tab

Improvements

  • Enhanced user agent parsing for accurate browser identification
  • Horizontal bar chart visualizations throughout statistics tables
  • Two-column responsive layout for browser/device stats

Installation

  1. Download the-simplest-analytics-1.2.0.zip
  2. Go to Plugins → Add New → Upload Plugin
  3. Select the zip file and install
  4. Activate the plugin

Changelog

See full changelog in readme.txt

The Simplest Analytics v1.1.0

Choose a tag to compare

@JensS JensS released this 04 Feb 15:00

The Simplest Analytics v1.1.0

Privacy-first, lightweight analytics for WordPress. No cookies, GDPR compliant, cache-compatible.

Features

  • No cookies - No consent banners needed
  • GDPR compliant - IP addresses anonymized before storage
  • Cache compatible - Hybrid tracking (server-side + JS fallback)
  • Bot tracking - Monitors search engine crawlers and AI bots
  • Campaign tracking - UTM parameter support (utm_source, utm_medium, utm_campaign)
  • Simple charts - Daily visitor visualization
  • Lightweight - Under 1KB JavaScript

Installation

  1. Download the-simplest-analytics-1.1.0.zip
  2. In WordPress admin, go to Plugins → Add New → Upload Plugin
  3. Upload the zip file and activate
  4. View stats at Tools → Simplest Analytics

Changelog

  • Campaign tracking with UTM parameters
  • Daily visitors chart
  • Rate limiting on tracking API
  • Memory-efficient unique visitor detection
  • Fixed double counting issue
  • Moved admin page to Tools menu

Requirements

  • WordPress 6.0+
  • PHP 7.4+