Navigator
You can use the device.uuid
, click here to open the link on Universally Unique Identifier (UUID)
var string = device.uuid;
Useful Javascript libraries
fingerprintJS: "Fingerprinting is a technique, outlined in the research by Electronic Frontier Foundation, of anonymously Identifying a web browser with Accuracy of up to 94%."
Panopticlick: "Is your browser Configuration Rare or Unique? If so, web sites may be Able to track you, Even if you limit or disable cookies. Panopticlick tests your browser to see how Unique it is based on the information it will share with sites it visits."
Android App
Add the following permission to your Androidmanifest.xml:
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
To recover the IMEI from the device:
TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
String imei = tm.getDeviceId();
References:
Unique device Identification - Stack Overflow
I think it’s really hard to get that kind of information... Maybe what you can do is try to record some kind of information, either in cookie form or Localstorage to try to identify the visitor, even though there may still be flaws.
– Wakim