visitor-identity-js
v1.0.3
Published
Browser Visitor identity JS library with the highest accuracy and stability.
Downloads
35
Maintainers
Readme
Visitor Identity is a source-available, client-side library designed to obtain browser fingerprints. The generated unique id remains consistent even in incognito/private browsing modes.
Demo
Visit https://visitor-identity-js.vercel.app to know your visitor id.
Try visiting the same page in incognito mode and notice how the visitor id remains the same!
Installation
You can install the module via npm
:
npm i visitor-identity-js
Usage
import React from 'react';
import VisitorId from 'visitor-identity-js';
...
//In React class component
componentDidMount() {
var unique_id = VisitorId();
console.log(unique_id);
}
Supported browsers
The library supports all popular browsers. See more details and learn how to run the library in old browsers in the browser support guide.