close this to read article
VWO uses an open-source UA-parser library to detect visitor devices. The parser library categorizes the devices based on their types, and the library is regularly updated for new devices. The same library is used in the segmentation feature to target visitors based on their operating systems.
You can access the source code here, and then use this regex to locate the code.