Samsung device detection

Hi there. I am developing the web-application with JavaScript. And I would like to add a button leads to the Galaxy Store only for Samsung device users (or Google Play Market for not Samsung users). How can I detect from browser that user is running it from Samsung device? I was trying do it by window.navigator.userAgent, but noticed that it doesn’t show correctly model of device. For example, for my Samsung Galaxy s24+ i see:

Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Mobile Safari/537.36

So the question is: How can I detect Samsung user in my Web Application? via JavaScript

Hi @lyanusia, seems you’re trying with a remote test lab device, from my findings with a real device I get model number SM-**** instead of the work K.

Let me know if you are using a real device.

Hi, @enuasian_lynx. I’v added visualization of the userAgent to my application. It appears in the div element on the main screen (just to simplify log-process via real device). So yes, in my case it was real device witj “K” in userAgent.

Could you please create a support request for this?
If you create a support request, please share the issue details and the complete device dump log.
Thank you.