
π Real-Time Lightweight Analytics for WordPress
Weblix Analytics is a fast, privacy-focused analytics plugin that delivers powerful real-time insights directly inside your WordPress dashboard β with zero impact on site speed.
No external services. No heavy scripts. All data stays on your server.
From live online users to rolling 24-hour comparisons inspired by Google Search Console, Weblix Analytics gives you everything you need in a clean, fast, and developer-friendly package.
β Why Weblix?
Unlike cloud analytics services, Weblix Analytics keeps your data inside WordPress.
- No Google account required
- No third-party tracking cookies
- No external tracking scripts or pixels
- Real-time instant statistics
- Lightweight and fully self-hosted architecture
- Built to stay fast on very large sites with a deliberately tiny database footprint
π Key Features
Live Real-Time Monitoring (rethought in 3.0)
* βPulseβ realtime console: the big live counter leads (on the right in RTL) beside the minute-by-minute bar chart covering the last 60 minutes β you see the shape of the last hour immediately
* Peak minute highlighted automatically; the still-running minute shown faded
* Live counter with breathing ring, device chips and automatic refresh
* Trending Now board β pages ranked over your online window (list length configurable, up to 200), with the number of people on each page shown right beside the title (clean plain text, momentum badge vs the previous window, NEW flag reserved for genuine bursts β 3+ visitors with an empty previous window; every page title is a hyperlink carrying its URL as tooltip)
* Recent visitors feed with source chips (its title jumps to the Sources tab)
* Smart insight notes never push the charts down β they live only in a bell icon in the topbar and in the WordPress admin bar, on every tab
Live Status in the WordPress Admin Bar
* Online-visitor counter and insights bell in the fixed admin bar β visible on every admin screen AND on the site’s own pages while you are logged in
* The bell opens the same smart-notes panel as the console, right inside the bar; wording follows the admin profile language, so an English-profile admin on a Persian site reads English everywhere
* Both indicators refresh at exactly the Dashboard Refresh interval chosen in Settings and pause in hidden tabs β one source of truth shared with the console topbar and the dashboard widget, no wasted requests
* Quietly stays out of the way on mobile (below 782px the admin bar has no room); the in-plugin console is untouched
The Analytics Page β Today, Any Day, and Reviews up to a Year
* One view selector switches the whole page between Today, Yesterday, any of the last 30 days and rolling 7/30/90/180/365-day reviews β the same six KPI cards everywhere (Visitors, Page Views, Views/Visitor, Bot Visits, Peak Hour / Best Day and the Mobile vs Desktop split bar)
* Today stays live: delta chips versus yesterday at the same time, rolling 12-hour sparklines, optional faded yesterday overlay behind the hourly bars
* Pick any of the last 30 days β date picker, labeled prev/next stepper, back-to-today and bookmarkable #weblix-day / #weblix-period links β for its full hourly chart and archive-backed top pages, sources, devices, browsers, OS and bots
* 7/30/90/180/365-day reviews add daily-average and best-day cards, previous-period deltas and a mixed daily trend chart β page views as columns, visitors as a sharp line above them β with the best and worst day marked: click any point to drill straight into that day; the Publishing Clock follows the selected window
* The Visitors / Page-Views switch below the chart drives the cards and tables in every view; Top Pages / Landing / Exit switcher, Traffic Sources donut, Browsers & OS mini-tables, Top Bots
Audience & Acquisition Intelligence (GA-inspired, computed only from data you already store)
* Audience quality strip: New vs Returning visitors, Single-page visit share (bounce proxy), Average active span (first last hit)
* Landing and Exit page reports computed per-visitor inside the raw window
* UTM campaign report (source Β· medium Β· campaign) β live from today’s hits, archived nightly to weblix_daily.top_utms forever after
* Publishing Clock: weekday Γ hour heatmap of views across 30 days so you know exactly when your audience is most active
* All modules optional β one Settings switch hides them; everything is computed from data already stored, the tracking engine stays untouched
Rolling 24-Hour Compare β Google-Search-Console style
* Last 24 hours vs previous 24 hours
* Today so far vs yesterday same time
* Last 24 hours vs the same period last week
* Last 24 hours vs the same period 30 days ago
* Three metrics: Visitors, Page Views and Views-per-Visitor (derived per hour client-side, like GA’s engagement benchmark)
* Hour-by-hour dual-line chart; hover shows both values plus the difference
* Summary cards: current total, comparison total, absolute difference and % change
* Top pages and source-type tables follow the selected metric; referrer detail inside the raw-data window
Multi-Day Compare PRO
* Smart presets: 7 vs previous 7, 28 vs previous 28, this month vs last month, this month vs same month last year, fully custom ranges
* “Align by day of week” option for equal-length custom ranges β a Monday compares with a Monday
* Optional normalised (%) view when comparing series of different scales or lengths
* Dual-series trend chart over day indexes with per-day tooltips
* Full metrics breakdown table: Visitors, Page Views, Views/Visitor, Bots, Desktop/Mobile/Tablet, Search/Social/Direct/Referral β each row showing A, B, difference and % change
* Clear empty-state notices when a range predates your archive instead of silent zeros
Classic Analytics Tabs
* Pages, Sources, Devices, Browsers & OS, Bots across Today / Yesterday / 7 / 30 / 90-day windows
* Percentage share bars on every table
* Pages tab built for reading: page titles are the links, URLs shown decoded, muted and single-line
Smart Insights β quiet by design
* Same-time traffic comparison (e.g. “Traffic up 23% vs yesterday at this time”)
* Top traffic source of the day Β· Most visited page highlight Β· Hourly traffic spike detection
* Delivered through one bell icon with a red blinking badge next to the live counter β open it on any tab; no insight banner is ever rendered inside the analytics pages
Privacy, Protection & Access Control
* Numbers-only hourly archive β no IPs, URLs or titles in it
* Optional IP hashing (GDPR friendly)
* Exclude logged-in users, roles, IPs, and URL patterns
* Advanced bot detection with server-side tracking
* Configurable retention for daily data and a hard-capped hourly table
* Rate limiting on all tracking endpoints, same-origin validation on the public tracker, nonce + capability checks on every admin action, prepared SQL everywhere
* Statistics Visibility: pick exactly which user roles can see the console, the dashboard widget and the admin bar status β administrators only by default, enforced server-side through one audited capability gate
Cache & CDN Compatibility (hardened across the whole 3.0 QA line)
* No security token embedded in page HTML β tracking requests are validated by same-origin proof, so arbitrarily old cached pages keep counting
* Zero GET data requests: every live read (admin bar, Realtime page, every dashboard tab) travels as POST with no-store headers and cache-busting parameters β no browser, proxy or “cache everything” CDN can store or replay a Weblix number
* Server-side snapshots are freshness-stamped and self-healing: a cached payload is only served while provably fresh, and a row damaged by database-optimization sweeps (the classic “frozen counter” cause) is rebuilt automatically on the first request
* Crawler user-agent bypass rules registered automatically with WP Rocket and LiteSpeed so bots reach PHP behind full-page cache
* REST API endpoints carry explicit no-store headers, so excluding /wp-json/weblix/ from edge caching is officially supported
* Diagnostics Tracking Self-Test: fires one real request through your cache setup and reports pass/fail
Tools & Diagnostics
* System health, cron status (including the hourly rollup), DB sizes incl. the hourly table
* “Data Safety & Storage” card: every table with its row count, oldest record and exact deletion policy
* Cache/CDN detection card explaining what Weblix did about each layer β and what only edge rules can fix
* “Run Cleanup Now”: one click flushes every live Weblix cache (all locale variants) β an instant manual reset on top of the self-healing guards
* Manual actions: aggregate yesterday, backfill missing hours
* CSV Export Β· WordPress Dashboard widget Β· Translation status row showing exactly which language file is active
β‘ Built for Performance
- Lightweight tracker: one deferred POST per page view
- Three tiny tables: raw visits (rolling 48 h), daily archive, hourly numbers (~50 bytes/row)
- Hourly rollup filled by one grouped query per hour in WP-Cron β never on page loads
- Gaps self-heal automatically when a dashboard view notices them
- The admin bar, console and dashboard widget all read the same shared, bounded, freshness-guarded snapshot instead of querying separately
- Batch DELETE with LIMIT prevents MySQL table locks
- All queries use prepared statements and indexed reads
Third-Party Assets
- Chart.js β bundled at
assets/js/chart.min.js(minified, without source changes). Copyright the Chart.js contributors, released under the MIT License: https://github.com/chartjs/Chart.js/blob/master/LICENSE.md - Vazirmatn FD β bundled at
assets/fonts/Vazirmatn-FD-Regular.woff2(the official Farsi-Digits Regular build, unmodified), together with its full license text atassets/fonts/OFL.txt. Copyright 2015 The Vazirmatn Project Authors (https://github.com/rastikerdar/vazirmatn), released under the SIL Open Font License 1.1: https://scripts.sil.org/OFL β used by Weblix only forfa*admin locales. In this build the Latin digit codepoints are drawn as Persian digits, so every number in the Persian UI reads Ϋ°βΫΉ
Screenshots

WordPress Dashboard widget showing live online users, today's views, visitors, bots, and top active pages (list length configurable in Settings β General, 1β200).

Realtime tab (3.0): live counter with device chips beside the 60-minute minute-by-minute bar chart with peak-minute highlight; Trending Now board with per-page online counts.

Today tab: six KPI cards with delta chips and sparklines incl. the Mobile vs Desktop split bar, hourly chart with the Visitors/Page-Views switch right below it, yesterday overlay, share bars and trend arrows.

Compare tab: rolling 24-hour vs previous-24-hour dual-line chart with hover deltas, summary cards and the Views-per-Visitor metric.

Multi-Day Compare: presets, weekday alignment, normalised view and the metrics breakdown table.

Audience intelligence: new vs returning, single-page share, active span, landing/exit pages, UTM campaigns and the Publishing Clock heatmap.

Pages tab with clickable page titles, decoded single-line URLs, view counts and share bars.

Sources tab with traffic type donut and top referrers.

Devices tab with device/browser/OS breakdowns.

Bots tab listing top crawlers with shares.