What features are available:
Currently, it is possible to detect 13 different device characteristics. However, we are constantly updating our API to detect even more information. Until this moment, the following features can be detected:
- The type of device
- Device brand
- Device name
- Screen height
- Screen width
- Pixel density / Screen Ratio
- Browser name
- Browser version
- OS name
- OS code name
- The version of the OS
- Touchscreen capabilities
Let us know if you have more features you want to be added to this list.
Alternatively, the asynchronous is available to improve efficiency and reduce loading times. Just copy-paste the following code in the <head> tags of your website.
Once included several variables can be accessed to detect the device information of the user. These variables are described in the following paragraph.
Device detection variables
Once included in your HTML code you can access the features above. Each piece of information is stored in a variable. These variables have the following names:
|Feature||Variable name||Example return|
|Device name||deviceAPI.deviceName||iPhone XS|
|Pixel density / Screen Ratio||deviceAPI.screenRatio||2|
|OS name||deviceAPI.osName||OS X Yosemite 10.10|
|OS code name||deviceAPI.osCodeName||OS X|
As you see it is very easy to implement the device detection API. You are able to use unlimited amount of requests. Even more important is that it can be used for free!
Conclusion and future blog posts