Reputation: 11
I use fingerprintjs to generate browser fingerprints, but the fingerprints change during debugging and are irregular.
Upvotes: 1
Views: 1197
Reputation: 2650
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).
Upvotes: 0