Skip to content

How to remove browser version in order to get the same visitorId even if the version changes? #736

Answered by makma
bergmp asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @bergmp!
The specific browser version is not an entropy component (or signal) for the visitorId. However, it's plausible, an update of the browser can change some entropy sources. To identify which entropy component affects the final visitorId I'd recommend comparing the result object. Then you can easily exclude the specific entropy source.

// ...

const result = await fp.get()

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

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

Nevertheless, please note, by excluding some …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bergmp
Comment options

Answer selected by bergmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants