Releases: ibericode/koko-analytics
Releases · ibericode/koko-analytics
1.3.7
1.3.4
Koko Analytics v1.3.4 - Nov 21, 2023
- New feature that allows you to filter by page. Clicking any page in the "top pages" list now updates the totals and chart component to only show visitors and pageviews for that specific page.
- Fix warning that cron event isn't working not showing.
- Fix error when default date period is stuck at removed period.
- Fix API url for sites not using pretty permalinks.
- Performance improvement for rendering chart and tooltips.
v1.3.3
Koko Analytics v1.3.3 - Nov 6, 2023
- Fix quick navigation going forward.
- Add
manifest.json
file so (standalone) dashboard can be installed as a Progressive Web App.
1.3.2
Koko Analytics v1.3.2 - Nov 2, 2023
- Fix chart tooltip immediately disappearing when viewing the dashboard widget on touch devices.
- Fix fatal error if lacking permissions to read database size from MySQL information tables.
- Fix double encoding of special characters in post titles.
- Fix arrow-key or arrow-icon navigation when viewing a single day of data.
- Automatically refresh dashboard data every 60s.
- Improve dashboard widget by showing a summary of today.
- Added filter hook
koko_analytics_dashboard_widget_number_of_top_items
to modify or disable the top pages and referrers in the dashboard widget. - The
[koko_analytics_most_viewed_posts]
shortcode now shows a debug message if the arguments did not lead to any results.
v1.3.1
Koko Analytics v1.3.1 - Nov 1, 2023
- Fix new visitors not being counted.
- Fix dashboard issues for users with a large UTC timezone offset.
- Fix date format in chart component if grouping by month.
- Revert to blue colors for the chart. If you want your chart to use different colors, please see this example code snippet on how to change colors.
- Change dashboard widget to show just a quick summary of today.
- Show some feedback after using the "create optimized endpoint" button.
v1.3.0
Koko Analytics v1.3.0 - Oct 31, 2023
- Major performance improvements for the dashboard by removing the dependency on React and further optimizations.
- Total page weight down from 300 kB minzipped to 14 kB
- Number of separate HTTP requests down from 43 to 3.
- First Contentful Paint down from 2.5s to 0.8s on Lighthouse mobile synthetic test.
- Memory use down from ~90 MB to ~40 MB.
- Added link for loading the dashboard outside of WordPress admin (standalone).
- Added setting to make the analytics dashboard publicly available.
- Only show button to create optimized endpoint file if location is writable.
- Remove
wp_koko_analytics_dates
on plugin uninstall. - Optimized database query for getting most viewed posts and cache its results.
- Expand dashboard widget to include realtime pageviews and a list of the most viewed posts.
- Use
navigator.sendBeacon
for data collection requests.
v1.2.2
Koko Analytics v1.2.2 - Oct 18, 2023
First off, we would like to introduce Koko Analytics Pro to you.
It is a paid add-on plugin for Koko Analytics containing more complex features, like custom event tracking.
Koko Analytics Pro is available for a yearly price of €59.
We hope you will consider becoming a Pro user as this will help us cover support and development costs for Koko Analytics.
Then, for a list of changes in this new version:
- Fix link to settings page from plugins overview page.
- Fix pagination not working because
wp_localize_script
turns everything into a string. - Fix React warning for dashboard widget when toggling visibility more than once.
- Fix chart tooltip not showing on touch devices.
- Minor styling improvements to settings page.
- Install custom endpoint on plugin activation only.
- Add button to settings page to re-attempt custom endpoint installation.
- Move table pagination to bottom of component and add text label.
- Wrap
input[type="radio"]
in<fieldset>
tag. - Remove support for honouring "Do Not Track" header as per MDN recommendations.
1.2.1
Koko Analytics v1.2.1 - Oct 11m 2023
- Fix issue with strict types and non-hourly UTC offsets.
v1.2.0
Koko Analytics v1.2.0 - Oct 11, 2023
- Fix compatibility with WordPress 6.0.
- Fix aggregation process not running for 5 minutes if an earlier run failed somehow.
- Fix chart tooltips not showing on WordPress dashboard.
- Minor performance improvements for aggregation process.
- Move seed (sample data) function out of the core plugin.
- Add message about checking browser console for error message in case the dashboard doesn't boot up.
- Format dates in dashboard using
Intl.DateTimeFormat
in browser, if available. - Remove Pikaday datepicker in favor of native
<input type="date">
elements. - Improve mobile view of datepicker dropdown.
- Exclude (fixed page) homepage from most viewed posts widget/shortcode/function.
- Add filter hook
koko_analytics_items_per_page
to override the number of items to show per page for the dashboard components. - Bump required PHP version to 7.3.
v1.1.2
Fix broken totals and chart component on sites using a custom database table prefix.
Fix for date table not being created, leading to an empty chart as of v1.1.0.
Koko Analytics v1.1.0 - Oct 3, 2023
Switch out Preact for the React version that is bundled with WordPress, reducing bundle size for the admin dashboard by 40 kB (or 30%).
Stop showing warning about WP Cron events not running if on local or developer environments.
Use the same Browserslist configuration as WordPress core.
Performance optimizations for fetching and parsing chart data.
Create optimized endpoint for fetching data for the totals component.
Settings page is now a server-side rendered page instead of a React component.
Improved CSS selector performance.
Add public PHP API. You can now call the following functions:
koko_analytics_get_most_viewed_posts() to get a list of the most viewed posts.
koko_analytics_get_realtime_pageview_count('-1 hour') to get the total number of pageviews in the last hour.
koko_analytics_track_pageview($post_id) to track a pageview to the post with ID $post_id