Adding User Agent

How would I go about adding or detecting a User Agent such as the Alexa Toolbar in Piwik so it can recognize it as a visitor with the Alexa toolbar installed. Would I add this among the plugins which is I guess is preferable. Alexa toolbar does have its own UA string.



Thank you for reply but what line do I add in there? The typical user agent string would look like this below and if you notice, you’ll see written at the end “Alexa Toolbar” I want Piwik to tell me when it meets with “Alexa Toolbar”:

Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; Alexa Toolbar)


See request for a better device detection (Tv, console, versions for OS, mobile device) in piwik! this ticket: Better Device detection (mobile, TVs, consoles, etc.): New "Devices" report? · Issue #3612 · matomo-org/matomo · GitHub