This is the Developer Changelog for Matomo PHP Tracker. All breaking changes or new features are listed below.
- a lot of arguments of
MatomoTracker
methods have explicitly types - a lot of
MatomoTracker
method return types have strict types
- closed curl connection
- support for PHP versions lower than 7.2
- all
MatomoTracker
class constants are now explicitly public - all
MatomoTracker
dynamic properties are now explicitly public
Attention: This version of Matomo PHP Tracker is no longer compatible with Matomo 3.x or earlier
- Support for new page performance metrics (added in Matomo 4) has been added. You can use
setPerformanceTimings()
to set them for page views. - Setting page generation time using
setGenerationTime()
has been discontinued. The method still exists to not break applications still using it, but it does not have any effect. Please use new page performance metrics as replacement. - Sending requests using cURL will now throw an exception if an error occurs in a request.
- Matomo does not longer support tracking of these browser plugins: Gears, Director. Therefor the signature of
setPlugins()
changed. - Implementation of ecommerce views changed from custom variables to raw parameters
- It is now possible to configure cookie options for Secure, HTTPOnly and SameSite.
- Add method setRequestMethodNonBulk() to allow (non bulk) POST requests.