Browser detection into variable

I try to pull out browser detection. I kindly ask you to inform me if this can be done using the tracking code and not only from analytics.

Hi,

Can you explain a bit more detailed what you are trying to achive?

Matomo runs the Browser and Device detection server-side using: