This is a simple plugin that forces the tracking of Brave browsers by overwriting the User Agent sent with each tracking request when the Brave browser is detected.

Does this plugin require configuration?

No, simply install and activate the plugin and you'll be able to track Brave browser agents

Does this plugin work with Tag Manager? Yes, as long as you bundle matomo.js in your Matomo Configuration variable

Why do I need this plugin? Why doesn't this functionality exist already? Matomo detects what device/user agent is sending requests to your Matomo server by using the user agent sent with the request to the web server. The Brave browser is unique because it doesn't send it's own custom "User Agent" with web requests - it basically pretends to be a normal Chrome browser. The only way to detect if a browser is a Brave browser is with the use a Brave-specific function using Javascript.

Please share