Thomas--F / BotTracker

BotTracker-Plugin for Piwik
GNU General Public License v3.0
32 stars 14 forks source link

Make plugin compatible with Matomo 4 #66

Closed Findus23 closed 3 years ago

Findus23 commented 4 years ago

Hi, hope you are doing well!

Matomo 4 is progressing steadily and it would be great if this plugin was also available for it.

Migrating the plugin should be pretty simple as there were not many breaking changes.

You can find the migration guide here: https://developer.matomo.org/guides/migrate-matomo-3-to-4

It boils down to:

If you later fix a bug and also want to backport it to the 3.x plugin, you can cherry-pick the commit to the old branch, release a new version (lower than the one for 4.x) and publish it and 3.x users should get this update.

If you have questions about anything, just ask me!

I saw that you are not actively maintaining this plugin anymore, but it seems to still be hugely popular, so it would be great if you could update it. I don't see any reason why the plugin shouldn't work without modifications, so it should not be much work. If you want to, I can help you with the testing.

seybsen commented 3 years ago

Hi,

I think this plugin won't be necessary (anymore?) since Matomo excludes most bots by default via http://devicedetector.net/

Source: https://matomo.org/faq/how-to/faq_17483/

Edit: Matomo is just missing the part to separately track the visits of bots

Thomas--F commented 3 years ago

Thanks for the link.

Yes, it seems, there is now a funktion within Matomo, that covers the main purpose of this plugin. The small rest is the extra-statistic where you can track, when a specific bot hits your webpage the last time.

Is there a need for that function?

derrodirik commented 3 years ago

I would be happy if you port the plugin to the new version because I am very interested in knowing when which bot is on my website.

Thomas--F commented 3 years ago

OK, I will try to move on to Matomo 4. Shouldn't take so long.

Thomas--F commented 3 years ago

I've had some trouble with my old test-enviroment, but today I finished my tests. It seems, everthing works fine if I just change the version in plugin.json All other changes in the Changelog doesn't bother. I will create now a new branch for Matomo4 and if no issues were reported within a week, I will deploy a release. Feel free, to test the plugin and place a message if something goes wrong.

Thomas--F commented 3 years ago

New version is just released