It is recommended to use the Client-side component when using the DeviceAtlas API within a web application in order to correctly identify iOS/iPadOS devices. The client side resource must be included on your webpage in order for it to detect the client side properties.
<script type="text/javascript" src="https://cs.deviceatlas-cdn.com/dacs.js" async></script>
Or lite version which only includes properties required for iOS/iPadOS devices identification.
<script type="text/javascript" src="https://cs.deviceatlas-cdn.com/dacs-lite.js" async></script>
Download customised
Customise scope of properties captured, in order to reduce the footprint. It is also possible to extend the library to capture additional properties of interest; instructions on how to do this can be found at Client-side Documentation.
Property selection
Select the properties that you need and download it as a minified file.
Note:The properties selected by default are required to enable identification of Apple device versions. It is recommended to keep these selected: deviceAspectRatio, devicePixelRatio, js.webGlRenderer, screenWidthHeight, rendererRef, audioRef, js.deviceMotion, html.video.ap4x and html.video.av1.