Releases: ibericode/koko-analytics
Releases · ibericode/koko-analytics
1.0.30
1.0.30 – Jun 1, 2022
Delete option koko_analytics_use_custom_endpoint on plugin uninstall.
Only load dashboard-widget.js if user has required capability for viewing stats.
Add constant KOKO_ANALYTICS_CUSTOM_ENDPOINT for [disabling the custom endpoint](https://github.com/ibericode/koko-analytics/blob/master/code-snippets/disable-custom-endpoint.php) entirely. This filter can also be used to [manually install the endpoint file to a different file location](https://github.com/ibericode/koko-analytics/blob/master/code-snippets/use-different-custom-endpoint.php).
Re-attempt installation of the custom endpoint file every hour. This also automatically re-tests whether the custom endpoint is still working as expected. The plugin already did this whenever you visited the dashboard page, but now it simply runs more often and without requiring you to log-in to your WordPress admin.
1.0.29
1.0.29 - Jan 25, 2022
- Skip empty lines in buffer file to avoid a PHP notice in certain edge cases.
- Make use of JS library for date presets.
- Filter out user agents containing "preview".
- Normalize referrer URl's for Yahoo search results.
- Add class attribute to cron warning so it can be hidden using CSS by targeting
.koko-analytics-cron-warning
.
1.0.28
1.0.28 - Sep 27, 2021
- Account for missing configuration object, for example if theme does not properly call
wp_head()
. - Cast database result to integer types so we do not have to do it client-side.
- Cache dashboard requests to REST API for 5 minutes (using browser cache).
- Use integers for viewbox coordinates (for increased performance).
- Simple locking mechanism for aggregation job to detect previous runs which are still busy.
- Add WP CLI command for aggregating stats without having to go through WP Cron:
wp koko-analytics aggregate
1.0.27
1.0.27 - May 4, 2021
- Use
defer
attribute on script to not block parsing at all. - Normalize Pinterest URL's with and without www subdomain.
- Fix some missing translations.
1.0.25
1.0.25 - Feb 15, 2021
- Add several new date presets, like yesterday or last week.
- Add support for entering custom date ranges using keyboard input.
- Improve algorithm for chart y-axes to prevent huge jumps.
- Add function for manually printing tracking script:
<?php koko_analyics_tracking_script(); ?>
- Update JS dependencies.
1.0.24
1.0.24 - Jan 20, 2021
- Append random query parameter to tracking request to avoid beind cached now that the plugin is using a custom tracking endpoint.
- Update JS dependencies.
1.0.23
1.0.23 - Jan 15, 2021
Major performance improvement by writing an optimized endpoint file containing the correct file paths, regardless of WordPress directory structure set-up.
If your WordPress root directory is not writable, go to the Koko Analytics settings page for instructions on how to manually create this optimized endpoint file.
1.0.22
1.0.22 - Nov 18, 2020
- Fix PHP warnings in migration script, for trying to unlink unexisting file (eg on new plugin installs).
- Generate URL to custom endpoint file correctly. Fixes issue with some multilingual plugins not recording pageviews correctly.
1.0.20
1.0.20 - Nov 3, 20202
- Do not use custom endpoint file if using custom uploads directory.
- Use value from
KOKO_ANALYTICS_USE_CUSTOM_ENDPOINT
if it is defined. - Only call add_cap on administrator role if such a role exists
- Update JS dependencies.
- Update built-in referrer blocklist.
1.0.19
1.0.19 - Sep 2, 2020
- Create buffer file directory if it does not exist yet, eg on a fresh WP install.
- Update preact and date-fns to their latest versions.
- Update built-in referrer blocklist.