Koko Analytics – Privacy-Friendly WordPress Analytics
Koko Analytics is a privacy-friendly and lightweight Google Analytics alternative for WordPress sites. It is a plug and play solution to get GDPR compliant insights into your website visitors without requiring any third-party services. Why choose Koko Analytics? Important insights Koko Analytics provides you with simple and effective analytics. There are no complicated reports to dig through. All the important metrics are visible from a quick glance at your analytics dashboard, right inside your WordPress admin. Privacy-friendly analytics Koko Analytics is a privacy-friendly solution for WordPress. It can be used without any cookies, no personal data is processed or stored and nothing is shared with any third-party. That makes it suitable for GDPR, CCPA, and PECR-compliant website statistics. Lightweight website statistics Koko Analytics is lightweight. It adds less than 1 kilobyte of data to your pages and is fully compatible with all kinds of caching setups. WordPress is bypassed entirely for its collection endpoint, making the impact on your site’s performance as close to zero as possible. Open source analytics Koko Analytics is open source released under the GPL license, just like WordPress itself. The source code is publicly available. Everyone has the right to run, study, share or modify the source code. Features WordPress analytics dashboard – View your website statistics directly inside WordPress admin. Top posts and pages – See which content gets the most visits. Referrer statistics – Find out which websites send traffic to your site. Path-based tracking – Track statistics for any URL, including archives and search pages. Returning visitor detection – Reliably detect returning visitors without cookies. Exclusion rules – Exclude visits from selected WordPress user roles or IP addresses. Historical data imports – Import statistics from Jetpack Stats, Plausible Analytics, Burst Statistics, Statify, WP Statistics, Independent Analytics, or SlimStat Analytics. Automatic data cleanup – Remove historical data older than a chosen number of months or years. Popular posts output – Show your most visited posts or pages with a widget, Gutenberg block, or shortcode. Pageview counter – Show the total number of pageviews for a page with a shortcode or Gutenberg block. Koko Analytics Pro Koko Analytics Pro adds more reporting options for sites that need deeper analytics. Country statistics – See which countries your visitors come from. Technology reports – View browser, operating system, and device statistics. Email reports – Receive periodic analytics reports in your inbox. UTM Campaigns – Measure the performance of your marketing campaigns. Custom event tracking – Track outbound link clicks, contact form submissions, add-to-cart actions, and more. Traffic spike alerts – Get notified by email when traffic changes quickly. View the Koko Analytics live demo or see Koko Analytics Pro pricing.
Profound Agent Analytics
Profound Agent Analytics is a powerful WordPress plugin that integrates with Profound’s edge log analysis service to identify, classify, and provide reporting on bot and human traffic to your website. The plugin works by efficiently collecting and sending request data from public pages to Profound’s analytics platform. Read more here Key Features Non-blocking Performance: Uses an asynchronous queue system to ensure zero impact on page load times Privacy-Focused: Query parameter redaction to protect sensitive data Smart Batching: Efficiently sends logs in batches to minimize network overhead Circuit Breaker: Automatic protection against API failures to prevent cascading issues Flexible Configuration: Extensive settings for customizing what data is collected and sent Enterprise Ready: Supports environment variables and constants for API key configuration How It Works The plugin captures essential HTTP request metadata (method, path, status, timing) Data is immediately queued in a local database table with minimal overhead A background process sends batched logs to Profound’s API endpoint Failures are automatically retried with exponential backoff Your Profound dashboard provides real-time insights into your traffic Privacy & Security Profound Agent Analytics is designed with privacy and security at its core: Complete IP Tracking: Captures full IP addresses for accurate traffic analysis and reverse DNS lookups (required for bot detection) Sensitive Data Protection: Automatically redacts passwords, tokens, and credit card information from query parameters Public Traffic Only: Excludes all WordPress admin, REST API, and system paths – only tracks public visitor traffic Encrypted Storage: API keys are encrypted using WordPress salts when Sodium extension is available No Cookie Tracking: Server-side only – does not use cookies or client-side tracking Performance Optimized Adds less than 1ms to request processing time Efficient database operations with proper indexing Automatic cleanup of old log entries Memory-aware batching to prevent large payloads Configurable queue size limits Privacy Policy This plugin sends data to Profound’s analytics service (https://artemis.api.tryprofound.com). The data sent includes: – Full IP addresses (required for bot detection and traffic analysis) – Request URLs from public pages only (admin and system paths are excluded) – HTTP headers (user agent, referer) – Response metadata (status code, size, duration) – Query parameters (with sensitive values redacted) The plugin only tracks public visitor traffic. WordPress admin activity, user actions, and system operations are not collected. All data is processed in accordance with Profound’s privacy policy available at https://tryprofound.com/privacy-policy System Requirements WordPress 6.0 or higher PHP 7.4 or higher MySQL 5.7+ or MariaDB 10.2+ Ability to make outbound HTTPS requests WP-Cron enabled (or real cron configured) Sodium PHP extension (recommended for encryption) Development & Testing This plugin includes a .wp-env.json configuration for local testing using wp-env. This requires Docker (or OrbStack) and Node.js. Running Compatibility Tests Start the environment: npx @wordpress/env start Verify the plugin activates without errors: npx @wordpress/env run cli wp plugin deactivate agent-analytics-wp-plugin npx @wordpress/env run cli wp plugin activate agent-analytics-wp-plugin Verify all classes instantiate and core functionality works: npx @wordpress/env run cli wp eval ‘new AgentAnalytics\Settings(); new AgentAnalytics\Queue(); echo “OK”;’ Check for PHP errors, warnings, or deprecation notices (WP_DEBUG is enabled): npx @wordpress/env run cli cat /var/www/html/wp-content/debug.log If the file does not exist, there are no errors. Stop the environment: npx @wordpress/env stop To test against a different WordPress version, edit the core value in .wp-env.json (e.g. "WordPress/WordPress#7.0") and restart. Deploying to WordPress.org See DEPLOY.md for instructions on publishing releases and updating the “Tested up to” value via SVN. Support For support, please contact support@tryprofound.com