The fingerprint generated with fingerprintjs is unstable

991 views Asked by At

I use fingerprintjs to generate browser fingerprints, but the fingerprints change during debugging and are irregular.

1

There are 1 answers

1
Martin Makarsky On

There are basically two options.

A) You can exclude built-in entropy components that cause instability among your audience (or you can even add new custom entropy components) like

const result = await fp.get()

// The `languages` and `audio` components will be excluded
const { languages, audio, ...components } = result.components

// Optinally, you can make a visitor identifier from your custom list of components
const visitorId = FingerprintJS.hashComponents(components)

You can learn more about this option in the GitHub docs.

B) You can use more precise FingerprintJS Pro (commercial product with a free tier).