I’m getting a “headless chrome” visitor on my analytics software every time I deploy on Netlify – I’m guessing that’s a Netlify bot, possibly to screenshot the built site for the dashboard. (More details here.)
Do Netlify bots have a user-agent that could be filtered out by the analytics software?
I think it would be best if you submit the feature request for a more specific user-agent – then it could be added to the shared reference of bots maintained by Matomo Analytics and also used by many other analytics services.
(I think this would be a more maintainable and long-term solution than setting up a filter to exclude the URL pattern used for the screenshot.)
As for the new user-agent, it might be easier if it included the string “bot” or anything that matches the regex pattern below, since this is the pattern is used by the shared Matomo reference to filter out most bots automatically:
Thanks for the suggestion! It’s a good one, but we won’t be changing it since many customers have code relying on the current version and we have no good way to know who all of them are and inform them before we make a breaking change.