@automattic/fingerprintjs
TypeScript icon, indicating that this package has built-in type declarations

3.4.2 • Public • Published

FingerprintJS logo

Build status Current NPM version Monthly downloads from NPM Monthly downloads from jsDelivr

Discord server

FingerprintJS is a browser fingerprinting library that queries browser attributes and computes a hashed visitor identifier from them. Unlike cookies and local storage, a fingerprint stays the same in incognito/private mode and even when browser data is purged.

FingerprintJS is 100% open-source, but its accuracy is limited because it's only a client-side library without a backend.

Forked from https://github.com/fingerprintjs/fingerprintjs in order to add fingerprinting during user transacations on WPCOM.

Open Source library accuracy Fingerprint Pro accuracy
FingerprintJS has limited accuracy (40% - 60%) and functionality, because it's not possible to do many things without a backend. Fingerprint Pro is a high-scale device identity platform that has both client-side and server-side components and identifies browsers and mobile devices with a 99.5% accuracy. Fingerprint Pro starts at $200/mo for up to 100K API calls.
FingerprintJS library demo: https://fingerprintjs.github.io/fingerprintjs Fingerprint Pro demo: https://fingerprint.com/demo

Quick start

<script>
  // Initialize the agent at application startup.
  const fpPromise = import('https://openfpcdn.io/fingerprintjs/v3')
    .then(FingerprintJS => FingerprintJS.load())

  // Get the visitor identifier when you need it.
  fpPromise
    .then(fp => fp.get())
    .then(result => {
      // This is the visitor identifier:
      const visitorId = result.visitorId
      console.log(visitorId)
    })
</script>

Run this code

📕 Full documentation

⚛️ Sample usage with React on the StackBlitz platform

Use Fingerprint Pro to get 99.5% identification accuracy

Fingerprint Pro is a professional visitor identification service that processes all information server-side and transmits it securely to your servers using server-to-server APIs. Pro combines browser fingerprinting with vast amounts of auxiliary data (IP addresses, time of visit patterns, URL changes and more) to be able to reliably deduplicate different users that have identical devices, resulting in the 99.5% identification accuracy. Fingerprint Pro is available for Web, Android, iOS and other platforms.

Fingerprint Pro pricing starts at $200 per month for up to 100K API calls. Additional API calls are $2 per month for 1,000 API calls. A two-week free trial is available — no credit card is required. Sign up at https://dashboard.fingerprint.com/signup.

Pro plans start at $0/month - no credit card required.

Pro screenshot

Full product comparison:

Open Source FingerprintJS Fingerprint Pro and Pro Plus

Core Features

100% open source Yes No1
Accuracy up to 60% 99.5%
Standard identification input signals
Screen, OS, and device name
Advanced identification input signals
Canvas, audio, fonts
Smart signals (output)
Bot detection, device, network, and user behavior
ID type Fingerprint Visitor ID2
ID lifetime Several weeks Months/years
ID origin Client Server
ID collisions Common Rare

Mobile native SDKs

Android
iOS
Flutter
React Native

Additional Features

Incognito mode detection
Works in all modern browsers - see our full list of browsers supported
Server-side accuracy increase
Based on additional server-side signals, such as TLS crypto support, ipv4/v6 data, and others
Query API & realtime Webhooks
build flexible workflows
Ability to evade ad blockers Supported (NPM, own hosting) Supported (NPM + subdomain)
Geolocation
based on IP address

Operations

Data security Your infrastructure Encrypted at rest
Storage Your infrastructure Unlimited up to 1 yr
Regions Your infrastructure Hosting in US, EU and APAC
Compliance Your infrastructure GDPR, CCPA, and SOC 2 Type II compliant3
SLA No SLA 99.8% uptime
Support GitHub community Basic and advanced support options available

1. Fingerprint Pro uses the open source fingerprinting library as well as proprietary technology for increased accuracy and identifier stability.

2. Visitor IDs, in comparison to fingerprints, include server-side techniques, are deduplicated, and utilize fuzzy matching to result in a more accurate and stable identifier. Fingerprint hashes rely on an exact match across all browser attributes, making them less stable across > 4-week time intervals.

3. Fingerprint Pro is GDPR and CCPA compliant, ISO 27001 certified, and SOC 2 Type II compliant. You still need to be compliant as the data controller and use the identification for fraud prevention under legitimate interest or ask for user consent.

Resources

🍿 Live demo

How to upgrade from open source FingerprintJS to Fingerprint Pro in 30 seconds

📕 Fingerprint Pro documentation

▶️ Video: use Fingerprint Pro to prevent multiple signups

Migrating from v2

Version policy

See the compatibility policy for the API and visitor identifiers in the version policy guide.

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.

Where to get support

Using Issues and Discussions publicly will help the open-source community and other users with similar issues. However, if you require private support, please email us at oss-support@fingerprint.com.

Contributing

See the contribution guidelines to learn how to start a playground, test, and build.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.4.20latest

Version History

VersionDownloads (Last 7 Days)Published
3.4.20

Package Sidebar

Install

npm i @automattic/fingerprintjs

Weekly Downloads

0

Version

3.4.2

License

GPL-2.0-or-later

Unpacked Size

620 kB

Total Files

103

Last publish

Collaborators

  • macbre
  • yuliyan
  • mjangda
  • matticbot
  • a8c
  • blowery
  • ehg_
  • sgomes
  • tyxla
  • saroshaga
  • nejclovrencic
  • sirbrillig
  • chriszarate
  • robersongomes
  • johngodley
  • jeherve
  • daledupreez-a8c
  • t2dw4t
  • luismulinari
  • andrea-sdl
  • elazzabi
  • fmfernandes
  • sirreal
  • wwa
  • chihsuan
  • manzoorwanijk
  • msurdi-a8c
  • newspack
  • dsmartg
  • kthai15
  • bgrgicak
  • robertsreberski_a8c
  • artpi
  • gmjuhasz
  • kat3samsin
  • brunobasto
  • dhenridev
  • micbosia8c
  • mrmurphy
  • wpvip-bot
  • etobiesen
  • alshakero
  • arthur791004
  • dilirity
  • mattwest-a8c
  • mehmoodak
  • natalia.vidal
  • chriskmnds
  • oandregal