- Sign up on dashboard.fingerprint.com/signup, create an account, and get a public API key.
-
Change the
@fingerprintjs/fingerprintjsorfingerprintjs2package to@fingerprintjs/fingerprintjs-pro. If you use NPM, run:And replace the package name in your JavaScript/TypeScript code:If you use a CDN, switch to our CDN: -
Replace
requestIdleCallbackwithFingerprintJS.load. The function will return a promise that resolves with an agent object. The agent has agetmethod that you will use instead of callingFingerprint2.getdirectly: -
Add the public API key to the
FingerprintJS.load()configuration: -
Use the visitor identifier directly (the raw components aren’t provided):
- Remember that the support of Internet Explorer 10 and older has been dropped. Some old browsers like Internet Explorer 11 and Android Browser 4.1 require a Promise polyfill. See the browser support guide to get a list of the supported browsers.