Quick Start Guide
This guide explains how to integrate DeviceAssure QR codes into your website. When scanned with a mobile device, the QR code triggers device verification and returns results to your page.
Getting the Library
QR code verification is included as part of the DeviceAssure Web library. To get started, follow the Web Quick Start Guide to download the library and obtain your licence key.
Basic Example
<div id="deviceassure-qr-container"></div>
<script src="/path/to/dv.min.js" onload="setupQR()" defer></script>
<script>
function setupQR() {
DeviceAssure.qr({
containerId: 'deviceassure-qr-container',
licence: '<LICENCE_KEY>',
callback: function(result) {
console.log('Scan result:', result);
}
});
}
</script>
See Also
- Methods - Available QR code methods
- Configuration Options - All configuration parameters
- Response Format - Understanding the response data
- Examples - Implementation examples