Real-Time Widget for Matomo

Mô tả

This plugin adds a native widget to the WordPress dashboard that connects to your Matomo On-Premise installation to display vital metrics in real-time.

Unlike other plugins that use iframes (often blocked for security) or synchronous PHP requests (which slow down the admin area), this widget uses a 100% JavaScript (Client-Side) architecture.

Your WordPress server performs no requests; the browser queries your Matomo API directly.

Key Features:

  • Zero Server Impact: All processing is done in the client’s browser.
  • Pure Real-Time: Visitor counters and logs update automatically every 10 seconds.
  • Smart Hybrid Chart: Combines historical data (cached) with real-time data from the current day for total accuracy.
  • Performance Monitor: Detailed chart of load times (Network, Server, DOM…) and visit duration metrics.
  • “Black Box” Tooltips: Detailed, accessible information on hover, with visual differentiation for Searches, Downloads, Outlinks, and Events.
  • Privacy-Friendly: IP masking and visitor ID hashing included.
  • Native Notifications: Desktop alerts and optional sound when new visits arrive or traffic thresholds are met.

Copyright

Real-Time Widget for Matomo is distributed under the terms of the GNU GPL v2 or later.

This plugin bundles the following third-party resources:

  • Sound effect ‘alerta.mp3’ (Original: Text Tone 5.mp3) by dVidrio02
    Source: https://freesound.org/people/dVidrio02/sounds/191730/
    License: Creative Commons 0 (Public Domain).

  • Chart.js v4.5.1
    Source: https://www.chartjs.org/
    License: MIT License.

Ảnh màn hình

Cài đặt

  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Settings > Matomo Widget and enter your Matomo API URL, Site ID, and Auth Token.
  4. Go to your Dashboard and enjoy the real-time data.

Đánh giá

Không có đánh giá nào cho plugin này.

Người đóng góp & Lập trình viên

“Real-Time Widget for Matomo” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Real-Time Widget for Matomo” đã được dịch qua 2 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Real-Time Widget for Matomo” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

1.4.4

  • New: Added dynamic refresh interval selector in settings (10s, 30s, 1m, 5m).
  • Fixed: Corrected timing conversion logic between administration settings and the JS rendering engine.

1.4.3

  • Fixed: Renamed global variable in uninstall.php to meet WordPress naming standards and pass Plugin Check clean.
  • Improved: Confirmed full compatibility with WordPress 7.0.

1.4.2

  • New: Advanced icon detection engine using native Matomo (Morpheus) icons.
  • New: Specific mapping for Bluesky (bsky.app), Yandex, and major search engines.
  • Fixed: Icon URL construction for search engines and social networks.
  • Fixed: Full restoration of action tooltips and date formats in the visitor log.
  • Improvement: Smarter icon fallbacks with a 3-step validation logic.

1.4.1

  • New: Detection for social networks (Bluesky, Threads, Mastodon, X).
  • Improvement: Minor performance tweaks in the rendering engine.

1.4.0

  • Major: Internal renaming of all functions and variables to the rtwfm_ prefix for better compatibility.

1.3.0

  • Major: Structural refactoring and security hardening.
  • Update: Chart.js updated to v4.5.1.

1.2.0

  • New: Added support for Outlinks, Downloads, and Search events in the visitor log.

1.1.0

  • New: “Clean Uninstall” option to wipe data on deletion.
  • New: uninstall.php integration.

1.0.0

  • Initial release.