Webnalytics — Privacy-Friendly On-site Analytics
Webnalytics — Privacy-Friendly On-site Analytics
Description
Webnalytics — Privacy-Friendly On-site Analytics provides an on-site analytics dashboard inside WordPress. It stores analytics data in your WordPress database and displays reports in the admin area.
Features:
- Pages, Top Landing Pages, and Real-Time views
- Referrers, Devices, Geographic, and Search Terms
- WooCommerce funnels (view product add to cart purchase)
- Heatmaps (click density + element % mode)
- Optional REST export endpoints secured by a local Developer Token
This plugin does not require an external account or service to work.
Privacy
Webnalytics stores analytics data locally in your WordPress database to generate reports.
Data collected can include:
- Page paths (URLs) visited
- Referrer domains
- Device type, browser, and OS (derived from user agent)
- Approximate location fields if configured (country/city)
- Aggregated funnel steps for WooCommerce
- Heatmap click coordinates (when heatmap tracking is enabled)
Webnalytics does not require an external account. This build does not transmit analytics data to third parties.
Site owners are responsible for complying with privacy laws applicable to their site (e.g., GDPR/CCPA), including obtaining consent if required.
Installation
- Upload the plugin folder to
/wp-content/plugins/webnalytics/, or install via the WordPress Plugins screen. - Activate the plugin through the “Plugins” screen in WordPress.
- Go to Webnalytics Settings to configure tracking and retention.
Faq
No. In this WordPress.org build, Webnalytics runs locally in your WordPress installation and does not send analytics data to any external service.
Yes. Go to Webnalytics Settings and disable click tracking.
Yes. Add this line to wp-config.php before uninstalling:
define(‘WEBNALYTICS_KEEP_DATA’, true);
Reviews
Changelog
3.4.25
- Heatmap: Raw interaction capture now posts as structured fields (WAF-friendly) with JSON fallback.
- Heatmap: More lenient page path mapping (prefers runtime location path over cached localization).
3.4.24
- Heatmap: Interaction-based sampling (tap + movement) with beacon transport for more reliable capture (especially on mobile).
3.4.23
- Heatmap: Improve click capture on touch devices (iOS/Android) by correctly reading touch coordinates in capture-phase handler.
3.4.15
- Fix: REST export token permission callback (prevents fatal error when calling /wp-json/webnalytics/v3/export/*).
3.4.14
- Fix: Heatmap click capture works for logged-out visitors (admin-ajax nopriv).
3.4.12
- Fix: Prevent duplicate admin menus/widgets when multiple plugin copies are installed.
3.4.10
- Heatmap: URL field syncs with iframe navigation.
- Core stability improvements.