Changelog

2.0.9 - Oct 15, 2025

  • Print tracking script and enabled built-in events inline in page HTML to save on an additional HTTP request.
  • Fix order of DROP TABLE statements in data reset.

2.0.8 - Sep 19, 2025

  • Export table structure into database export file.

2.0.7 - Sep 18, 2025

  • Add DELETE statements to data export to ensure tables are empty before importing.
  • Add plugin icon to update check response data.

2.0.6 - Sep 16, 2025

  • Fix function call in generating email report message.
  • Fix typo in error_log message when sending email fails.
  • Hook into koko_analytics_write_data_export action hook to add Pro-specific database tables.

2.0.5 - Sep 11, 2025

  • Ensure option is autoloaded to prevent an additional database query on every page load.
  • Add periodic status check for users with broken WP Cron system.

2.0.4 - Sep 10, 2025

  • Hide geo-location component from dashboard if not enabled from setings.
  • Automatically update local activation status when attempting to download a plugin update without a valid token.

2.0.3 - Sep 09, 2025

  • Drop database tables when using "reset statistics" button instead of on plugin uninstall.
  • Fix margin for activation notice on analytics dashboard page.
  • Run database migrations on wp_loaded instead of init hook.
  • Add timestamp check for Pro status because some people are abusing our monthly payment option... =(

2.0.1 - Aug 27, 2025

  • Fix new event form not working since version 2.0.
  • Don't show CSV export button to users that can't use it.

2.0.0 - Aug 27, 2025

Compatibility with Koko Analytics version 2.0. Please ensure you update both plugins to version 2.x at the same time.

1.9.3 - Aug 09, 2025

  • Check for base plugin before calling get_settings(). Fixes an error when using Koko Analytics Pro without the base plugin activated.

1.9.2 - Jul 24, 2025

  • Change action hook for downloading geo-location database to one that actually runs when changing your settings.
  • Download geo-location database from migration file.

1.9.1 - Jul 21, 2025

  • New feature: Geo-location!

You can enable geo-location from your Koko Analytics settings page. Please ensure you're on the latest version of both Koko Analytics and Koko Analytics Pro when first attempting to use this feature.

1.8.5 - Jul 19, 2025

  • Use localized number formatting for event counts and optional value.
  • Add migration file for removing default value for koko_analytics_event_counts.date column

1.8.4 - Jun 27, 2025

  • Convert value parameter for event tracking to its original value upon display.

1.8.2 - Jun 18, 2025

  • Update tracking script to match Koko Analytics version 1.8.3.

1.8.1 - Jun 16, 2025

  • Add cache bust parameters to tracking script from Koko Analytics Pro.

1.8.0 - Jun 12, 2025

  • Compatibility with Koko Analytics version 1.8 and support for cookieless tracking.

1.7.5 - Jun 06, 2025

  • Redirect with error message if adding a new custom event fails.
  • Ensure database tables are created for storing custom events. This fixes a potential issue with Multisite sub-sites not having the proper database tables when adding a new custom event.

1.7.4 - May 27, 2025

  • Register custom admin column at a later hook, to ensure all custom post types are handled properly.
  • Use wp_print_inline_script_tag for printing inline script data.
  • Minor size optimization to client-side tracking script.

1.7.3 - Mar 24, 2025

  • Add traffic spike notification feature.

1.7.2 - Mar 18, 2025

  • Make certain strings coming from Koko Analytics Pro translatable on settings pages.

1.7.1 - Mar 10, 2025

  • Use site options so network activated plugin counts as a single activation.

1.7.0 - Feb 25, 2025

  • Limit pageviews lookback period in admin bar to a maximum of 90 days (to prevent overflowing other items in the admin bar).
  • Store data for pageviews column on post type overview pages in object cache.

1.6.8 - Feb 22, 2025

  • Prevent file_get_contents() warning because of directory ending in .php suffix.

1.6.7 - Feb 18, 2025

  • Add pageviews column to all public post types.
  • Fix unique pageview detection using referrer when not using cookie.
  • Show "Download as CSV" button for all users with view_koko_analytics capability (instead of only manage_koko_analytics)

1.6.6 - Feb 14, 2025

  • Admin Bar, only show chart if number of days is larger than 1.
  • Email Reports: Refer to template functions by their new class method.
  • Email Reports: Send reports at 8:30 AM local time.

1.6.5 - Feb 11, 2025

  • Add tiny chart to WP Admin Bar menu, showing the number of daily pageviews over a recent time period.

1.6.3 - Feb 05, 2025

  • Move pageviews column before date column, to ensure it doesn't insert itself in the middle of other custom columns.

1.6.2 - Feb 04, 2025

  • Add feature that shows number of pageviews in a configurable time period on the WP Admin > Posts page.
  • Improve execution time of PHP bootstrapping code.

1.6.1 - Jan 20, 2025

  • Fix for calling REST endpoint without a start_date parameter.
  • Account for WP_Error return values when making HTTP requests to check for plugin updates.

1.6.0 - Jan 17, 2025

  • Bump required PHP version to 7.4 or higher.
  • Improve date generation for weekly email report.
  • Encode URL parts for redirecting back to WordPress site after authorizing it.

1.4.4 - Jan 09, 2025

  • Fix fatal error if using Koko Analytics Pro without Koko Analytis base plugin active.
  • Prefix event parameters with whitespace to circumvent a false positive from Apache's ModSecurity on some server configurations.

1.4.3 - Jan 03, 2025

  • Fix JS error for hooking up event tracking by class attribute.

1.4.2 - Dec 05, 2024

  • Fix use of Migrations class from base plugin.

1.4.1 - Oct 29, 2024

  • Fix weekly email not showing any statistics if week starts on Monday.
  • Right align numbers in periodic email reports.

1.4.0 - Oct 24, 2024

  • Compatibilty with Koko Analytics 1.4 (where dashboard HTML is now server-side generated).
  • New feature: export current dashboard view to CSV.

1.3.1 - Sep 18, 2024

  • Escape results from add_query_arg before outputting to HTML pages.

1.3.0 - Sep 11, 2024

  • Add built-in event types that can be tracked without needing to write any JavaScript code. This feature currently supports outbound link clicks and form submissions. If you have a great idea for an event that you think should be built-in, don't hesitate to let us know!
  • Refuse adding a duplicate event with the same name as an existing event.

1.2.2 - Sep 05, 2024

  • Prevent harmless JS console warning about el.className.indexOf not being a function.

1.2.1 - Aug 18, 2024

  • Fix requests being counted twice.

1.2.0 - Aug 16, 2024

  • Add functionality to export event type data to CSV.
  • Add feature to send daily, weekly or monthly email report.

1.1.2 - Feb 29, 2024

  • Only check for valid license once per week vs. every day.
  • Fix potential issue with local license being invalidated too quickly.

1.1.1 - Nov 1, 2023

  • Fix new visitors not being counted properly after updating to version 1.1.0.

1.1.0 - Oct 31, 2023

1.0.6 - Oct 18, 2023

  • Drop tables on plugin uninstall only.
  • On activation, create tables only if they do not exist yet.
  • Remove support for Do Not Track header, as per MDN's recommendations.
  • Accessibility improvements to the form for adding new events.
  • Move location of table pagination to the bottom of the events table.

1.0.5 - Oct 11, 2023

  • Fix issue with non-hourly UTC offset and PHP's strict types.

1.0.4 - Oct 11, 2023

  • Make event parameter column NOT NULL to fix "all primary key parts must not be null" error on some MySQL setups.
  • Add admin notice if Pro plugin is activated without Koko Analytics itself.
  • Hide label element for new event names visually only, so screen readers still see it.
  • Set cache headers on /events REST endpoints.

1.0.3 - Oct 9, 2023

  • Limit length of event parameters to 185 characters so the PK of the storage table always fits in less than 767 bytes total on utf8mb4.

1.0.2 - Oct 9, 2023

Fix use of MySQL 8+ DEFAULT_DATE use in the CREATE TABLE statement.

1.0.1 - Oct 3, 2023

Fix guard against malicious event value disallowing any events with a value component.

1.0 - Sep 1, 2023

Initial release of Koko Analytics Pro!