=== Piwik Analytics Extension ===
Plugin Name: MainWP Piwik Extension
Plugin URI: https://mainwp.com
Description: MainWP Matomo (formerly Piwik) Extension is an extension for the MainWP plugin that enables you to monitor detailed statistics about your child sites traffic. It integrates seamlessly with your Matomo account.
Version: 5.2.1
Author: MainWP
Author URI: https://mainwp.com
Requires at least: 6.2
Requires PHP: 8.1

== Changelog ==

= 5.2.1 - 10-16-2026 =
* Fixed: Matomo installed in a subfolder, such as https://example.com/matomo/, connects again, and saved subfolder connections resume. The 5.2 requirement for an address at the site root no longer applies.

= 5.2 - 10-13-2026 =
* Fixed: Matomo data is removed when a managed site is deleted.
* Added: Matomo management through MainWP Abilities.
* Added: Scheduled processing for Matomo management requests.
* Added: Deleting the extension removes the saved Matomo connection, the tables this extension created, and its options and scheduled tasks.
* Updated: Matomo connection settings and existing site data are migrated for the new management features.
* Updated: Client Reports and Pro Reports Matomo tokens now get six summary values: nb_visits, nb_actions, nb_actions_per_visit, bounce_rate, nb_uniq_visitors, and avg_time_on_site. Version 5.1.2 returned more.
* Updated: Those report requests now also work for users without the Matomo extension capability, still subject to site access, Team Control, and a connected Matomo assignment.
* Updated: TLS certificates are always verified. The old mainwp_piwik_sslVerifyCertificate option is no longer honored, and plain-http Matomo URLs are not supported.
* Updated: A Matomo connection has to be an https address at the site root, and the saved token is kept out of the settings row.
* Updated: After an update, an administrator has to open wp-admin once before Matomo requests made outside wp-admin can use the new storage.

= 5.1.2 - 4-23-2026 =
* Updated: Strengthened permission checks for property assignment management to improve access control.

= 5.1.1 - 3-4-2026 =
* Added: Added an empty widget placeholder on the "Operations" page to improve layout consistency when no data is available.
* Updated: Removed the loader element that was not needed across all Matomo widgets.
* Updated: Improved widget layout by adding a widget footer area and correcting the widget body markup.
* Updated: Improved the "Matomo Settings" page by adding helpful field descriptions and grouping settings into clearer sections.
* Updated: Updated the tip message on the "Matomo Settings" page for better UI consistency.
* Updated: Improved the Matomo data page placeholder shown while Matomo data is still loading.
* Updated: Renamed the "Refresh Data" button to "Fetch Latest Data" and moved it to the "Data" tab for clearer workflow.
* Updated: Improved the success message shown after fetching the latest data for better clarity.

= 5.1 - 6-2-2025 =
* Fixed: Corrected default size and layout of Matomo widgets that displayed incorrectly after the recent Gridster to Gridstack library migration.
* Fixed: Resolved UI alignment issues by adjusting padding for various interface elements.
* Fixed: Prevented browser autofill functionality on the "Matomo Dashboard URL" and "API Key" fields to avoid configuration conflicts.
* Added: Localization support to enable users to translate the add-on into their preferred languages.
* Updated: Help documentation URL to replace outdated redirect links with direct paths for faster access.
* Updated: Enhanced user experience by automatically triggering the first API call after saving Matomo settings, eliminating the need to manually click the "Refresh Data" button.
* Updated: Method declarations to include proper public and static keywords in accordance with WordPress coding standards and development best practices.
* Dev: Applied WordPress coding standards compliance improvements to method visibility declarations.

= 5.0.3 - 11-15-2024 =
* Fixed: Problem with connecting to Matomo Dashboard with specific configuration
* Updated: Coding standards and best practices
* Updated: General maintenance and optimization

= 5.0.2 - 4-9-2024 =
Added: Actions Log support

= 5.0.1 - 3-14-2024 =
* Updated: Revised the notification for missing analytics data to guide users in connecting their Matomo account and assigning properties to MainWP sites.

= 5.0 - 2-27-2024 =
* Updated: MainWP 5.0 compatibility

= 4.1.2 - 6-14-2023 =
* Fixed: Incorrect color coding for the Bounce Rate difference data
* Fixed: PHP Deprecation notice
* Removed: Unused code

= 4.1.1 - 6-7-2023 =
* Fixed: Issue with displaying Avg. Eng. Time as percentage
* Fixed: Issue with displaying Visits value
* Fixed: Missing empty space in widgets subheadings

= 4.1 - 5-30-2023 =
* Added: Average Engagement Time chart
* Added: Unique Visitors chart
* Added: Users chart
* Added: Visits by Page info
* Added: Visits by Country info
* Added: Sessions by Source info
* Added: Visits by Device info
* Added: Visits by Keyword info
* Added: Visits by Referrers info
* Updated: Overview page widget to show multiple charts
* Updated: Individual site overview widget to show multiple charts
* Updated: Visitors data page to show widgets

= 4.0.6 - 4-21-2023 =
* Fixed: An issue with displaying New Visits info

= 4.0.5 - 12-7-2022 =
* Preventative: Multiple security improvements

= 4.0.4 - 12-13-2021 =
* Updated: PHP 8 compatibility

= 4.0.3 - 1-4-2021 =
* Added: Option to hide Matomo widget on the Overview page
* Updated: Matomo 4.1.0 compatibility

= 4.0.2.1 - 9-10-2020 =
* Updated: MainWP Dashboard 4.1 compatiblity

= 4.0.2 - 7-14-2020 =
* Fixed: an issue with displaying Matomo data
* Fixed: an issue with loading the graph

= 4.0.1 - 2-14-2020 =
* Fixed: multiple cosmetic problems
* Fixed: incorrect verbiage

= 4.0 - 8-28-2019 =
* Updated: extension UI/UX redesign
* Updated: support for the MainWP 4.0

= 1.3 - 1-12-2018 =
* Fixed: an issue with conncting to Piwik Dashboard

= 1.2 - 8-18-2017 =
* Fixed: an issue with auto assigning child sites due to difference in URL (https/http)
* Fixed: multiple translation support issues
* Added: option to disable SSL certificate verification
* Added: help tab
* Updated: extension style
* Updated: various text notifications
* Removed: unused code
* Removed: unused images

= 1.1 - 1-4-2017 =
* Fixed: Google API reference

= 1.0 - 2-17-2016 =
* Added: An auto update warning if the extension is not activated
* Added: Support for the new API management
* Added: Support for WP-CLI
* Updated: "Check for updates now" link is not vidible if extension is not activated

= 0.0.9 - 8-28-2015 =
* Added: Custom language domain
* Updated: Extension CSS

= 0.0.8 =
* Updated: Quick start guide layout

= 0.0.7 =
* Added: Support for the API Manager

= 0.0.6 =
* Fixed: 4 PHP Warnings

= 0.0.5 =
* Added: Support for the Client Reports extension
* Added: Support Forum URI and Documentation URI in the Plugin info
* Added: Redirection to the Extensions Page after activating the extension
* Fixed: 1 PHP Warning

= 0.0.4 =
* Update quick guide

= 0.0.3 =
* CSS Update

= 0.0.1 =
* First version
