Attention: This version of Matomo PHP Tracker is no longer compatible with Matomo 3.x or earlier
Breaking changes and new features:
- 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.