I am currently using formFactor (wixWindowFrontend). I note the comment “Some tablet devices, such as iPads, are identified in this property as “Desktop”.
May I ask if there is a way to reliably if the device type is touch screen or not? Something like navigator.maxTouchPoints?
Not natively, but a creative solution could be sending an HTTP request to a service that echoes the user-agent, like https://httpbin.org/user-agent for example
The only other concern I have other than the added complication is the user-agent reduction / deprecation which makes this method less effective going forward.