Skip to content

device.type

Type of the device.

device.typeDescriptionExamples
consoleGaming consoles or similar dedicated gaming devices.Sony PlayStation, Microsoft Xbox
embeddedDevices integrated into other systems like smart home appliances, car head units, or dedicated kiosk machines.Amazon Echo Dot, Tesla
mobileMobile phones / smartphones designed for portable use.Apple iPhone, Samsung Galaxy
smarttvSmart TVs or similar devices.LG Smart TV, Samsung Smart TV
tabletPortable touchscreen devices larger than smartphones but smaller than laptops.Apple iPad, Samsung Galaxy Tab
wearableDevices worn on the body, such as smartwatches or fitness trackers.Pebble, Apple Watch
xrExtended reality (XR) devices, encompassing virtual reality (VR) and augmented reality (AR) headsets.Google Glass, Oculus Quest

TIP

If you wish to detect desktop devices, you must handle the logic yourself, since UAParser only reports info that is directly available from user-agent string (read more about this issue here🡭).

UAParser.js v2 is licensed under AGPLv3 or PRO licenses.