matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.3k stars 2.59k forks source link

Auto updates for device detection rules #8980

Open mattkolb opened 8 years ago

mattkolb commented 8 years ago

I noticed that a previous version started to automatically retrieve the latest version of the referrer spam list. Doing the same for search engines and device detection would be another thing that would be incredibly useful because some can't update the entire Piwik installation as fast as new devices come out and search engines change how they send referrer data.

mattkolb commented 8 years ago

Including this in the last 2.x release could also dramatically improve how well Piwik performs for those that can't update to 3.0

sgiehl commented 8 years ago

Good suggestion. We might easily be able to do that for search engines. I'll have a look

sgiehl commented 8 years ago

Autoupdate for search engines and social networks is now implemented. Device detection is a bit more complex...

mattab commented 8 years ago

@sgiehl we maybe don't need to auto update devices for now, it also gives a nice incentive for people to ugprade to latest piwik ;-)

wondering, in case we change YML format in a future major version, does it mean that auto-update should only upgrade the same "major version" to prevent a future format breakage?

sgiehl commented 8 years ago

yes, changing the YML format might cause problems if we auto update without checking the version.