The User-Agent is being deprecated in Google Chrome.
Intent to Deprecate and Freeze: The User-Agent string
Therefore, I think that the OS information and browser information of the user will be acquired from the header such as sec-ch-ua.
If anyone knows if matomo will support headers such as sec-ch-ua in the future, please provide information.
(Is it already supported?)