Since I want to track Google and Bing crawler access times and counts, I installed the BotTracker app.
Since Matomo v4 it does not work OOTB anymore, since a
robots.txt is contained now which denies access for bots: https://github.com/matomo-org/matomo/issues/17497
When removing that
robots.txt manually, bots are generally able to be tracked, which works for e.g. AhrefsBot, Baiduspider and YandexBot.
Google and Bing successfully load the
matomo.js, but then fail to do the tracker endpoint request. The Google mobile friendly test tool reveals it: https://search.google.com/test/mobile-friendly
Page partially loaded
Not all page resources could be loaded. This can affect how Google sees and understands your > page. Fix availability problems for any resources that can affect how Google understands your page.
1 page resource couldn’t be loaded
Resource Type Status
Other Other error
The request is correct, site title and site URL correctly URL-encoded, when manually doing this request in browser, I can see it it Matomo.
There are no webserver or PHP errors, no Matomo tracker errors or log entries about it, like if the request is not done at all.
Does anyone have an idea what the issue is and if something can be done about it? Probably Google and Bing crawlers deny to perform requests with too long query strings or certain characters?