Device detection lets you discover the user's type of device, OS, screensize, and more. This can be done with just one line of simple Javascript code. Start for free now!

Device detection features

Using the simple implementation extensive information about the device of your visitor is available to you. Below some of the most important features are outlined.

Device type detection

  • Detect the type of device of the user  
  • Identify the brand of the device
  • Even discover the name of the device  
  • EXAMPLE: mobile – Apple – iPhone XS

OS detection

  • Detect the operating system of the user
  • Identify the name of the OS
  • Even discover the version of the OS
  • EXAMPLE: macOS Mojave 10.14

Screen detection

  • Information about the screen dimensions
  • Detect the screen height and width
  • Even detect the screen ratio
  • EXAMPLE: 900px * 600px – 2x

Browser detection

  • Detect the browser information
  • Get information about the browser name
  • Detect the version of the browser
  • EXAMPLE: Safari 12.0.1

Touchscreen detection

  • Detect whether the device has touch
  • Use this to optimize your UX
  • EXAMPLE: Touchscreen: TRUE

GPU detection

  • Detect information about the graphics
  • Discover the GPU type and brand
  • EXAMPLE: Intel(R) Iris(TM) Graphics 6100
See what the API knows about your device...

Subscribe! Get free updates!


There are several implementations available. Choose the best type for your application. Once implemented the variables can be used to identify information about the device of visitors on your website.  


Add the following code between your <head> tags.

<script src=""></script>
Note: the ID is used for idenfication and not for authorization.

var devicetype = deviceAPI.deviceType; //mobile var devicebrand = deviceAPI.deviceBrand; //Apple var devicename = deviceAPI.deviceName; //iPhone XS
var screenwidth = deviceAPI.screenWidth; //800 var screenheight = deviceAPI.screenHeight; //1600 var screenratio = deviceAPI.screeenRatio; //2
var gpu = deviceAPI.GPU; //Apple GPU
var browsername = deviceAPI.browserName; //Safari var br_version = deviceAPI.browserVersion; //12.0.1
var osname = deviceAPI.osName; //MAC OS X var osversion = deviceAPI.osVersion; //10.14.1
var touchscreen = deviceAPI.touchScreen; //TRUE

Add the following code between your <head> tags.

<script async src=""></script>
Note: the ID is used for idenfication and not for authorization.


Create a callback function. Use the following variables inside this function:

function deviceAPIcallback(result){ // do stuff here - use result. alert(result.deviceType); //mobile alert(result.deviceBrand); //Apple alert(result.deviceName); //iPhone XS alert(result.screenWidth); //800 alert(result.screenHeight); //1600 alert(result.screenRatio); //2 alert(result.GPU); //Apple GPU alert(result.browserName); //Safari alert(result.browserVersion); //12.0.1 alert(result.osName); // MAC OS X alert(result.touchScreen); //TRUE };

Coming soon!

Contact us

Find more information on the blog. If you have any questions or remarks let us know!