-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Rich Statistics requires WordPress 6.0 or higher and PHP 8.0 or higher. It works on single-site and multisite installations.
- In your WordPress admin, go to Plugins → Add New.
- Search for Rich Statistics.
- Click Install Now, then Activate.
Or install from the command line via WP-CLI:
wp plugin install rich-statistics --activate
This is the recommended installation method.
Download the ZIP from the WordPress.org plugin page and upload it via Plugins → Add New → Upload Plugin.
| Requirement | Minimum | Recommended |
|---|---|---|
| WordPress | 6.0 | Latest |
| PHP | 8.0 | 8.2+ |
| MySQL / MariaDB | MySQL 5.7 / MariaDB 10.3 | MySQL 8.0+ |
| Browser (admin) | Any modern browser | Chrome/Firefox/Edge latest |
On activation, the plugin creates five tables in your WordPress database (using $wpdb->prefix, e.g. wp_rsa_events on a standard install, or wp_2_rsa_events for subsite 2 on multisite):
| Table | Purpose |
|---|---|
rsa_events |
One row per accepted pageview — page path, referrer domain, browser, OS, language, timezone, viewport, time on page, UTM parameters |
rsa_sessions |
Session-level data — entry/exit page, session UUID (tab-scoped only), session start/end timestamps, cumulative time on page |
rsa_clicks |
Individual click events with coordinates, element info, session ID, and timestamp (heatmap and click tracking — Premium) |
rsa_heatmap |
Daily-aggregated click coordinate buckets for the heatmap overlay (percentage x/y, page path, date — Premium) |
rsa_wc_events |
WooCommerce interaction events — product_view, add_to_cart, order_complete with product IDs, quantities, order totals (Premium) |
All tables are dropped cleanly on plugin uninstall if the Remove data on uninstall option is checked in Rich Statistics → Preferences.
Starting with v2.4.27, you can optionally display a consent banner to visitors. To enable it:
- Go to Rich Statistics → Preferences → Consent Banner.
- Check Enable consent banner.
- Customize the banner text, colors, and border radius to match your site.
- Choose whether to Auto-consent (pre-check all categories for first-time visitors).
The banner supports three tracking categories: Analytics (pageviews, referrers, campaigns), Behavior (clicks, heatmaps), and Technical. Visitors can Accept, Reject, or Customize their choices. A persistent Privacy Settings button remains visible so visitors can change their preferences at any time.
When network-activated, a network admin menu item appears under Network Admin → Analytics. A network administrator can disable tracking on any sub-site from that screen. Each sub-site's data is stored with its blog ID so network-wide and per-site reports are both available.
There is no separate premium ZIP to install. The upgrade happens as a standard WordPress plugin update:
-
In your WordPress admin, go to Rich Statistics → Upgrade (added by the Freemius SDK).
-
Click Upgrade to Premium. You are taken to a Freemius-hosted checkout page.
-
Complete the purchase. Your license activates automatically on your site.
-
A standard WordPress update notification appears. Click Update Now.
-
Premium features are now active — no re-installation, no ZIP download.
License management: Go to Rich Statistics → Account (the Freemius account menu) to view your license status, deactivate to move it to another site, or cancel. Each license covers one production site.
Freemius opt-in on first activation. The Freemius SDK makes outbound requests to
api.freemius.comon first activation to power its opt-in screen and license verification. This is standard behavior for all Freemius-powered plugins. You can skip the opt-in — it does not affect plugin functionality.
- Home
- Release Tracks — Branch structure, promotion flows
- CI/CD Reference — Workflows, Freemius, deployment
- App Server Setup — Server infrastructure
- Code Map — Project structure