your public API key that authenticates the agent with the API
Optional
cacheCustom cache implementation. Takes precedence over the cacheLocation
property.
web
Optional
cacheDefines which built-in cache mechanism the client should use.
web
Optional
cacheCustom prefix for localStorage and sessionStorage cache keys. Will be ignored if cache
is provided.
web
Optional
cacheDuration in seconds for which data is stored in cache. Cannot exceed 86_400 (24h) because caching data for longer than 24 hours can negatively affect identification accuracy.
web
Optional
endpointserver API URL, should be only used with the Custom subdomain
Optional
extendedset this flag to get response in extended format
Optional
fallbackprovide array of endpoints to specify fallbacks
Optional
regionwhich region to use
Optional
remoteEnables data collection for remote control detection. Once enabled, please contact our support team to active the result exposure.
false
web
Optional
requestCustom request options
Optional
scriptThe pattern of the JS agent script URL. If multiple endpoints are given, the agent will try them one by one until it finds a working one. If an empty array is given, the agent will throw an error.
web
Optional
storageOverride storages name (cookies, localStorage, etc). Should only be used when the default name conflicts with some of your existing names.
'_vid'
web
Optional
urlHashes URL parts before sending them to Fingerprint the server. The sources of URLs: window.location.href, document.referrer. Сan be used to hide sensitive data (tokens, payment info, etc) that these URLs may contain.
Example of URL stripping 'https://example.com/path?token=secret#anchor' -> 'https://example.com/oK-fhlv2N-ZzaBf0zlUuTN97jDbqdbwlTB0fCvdEtb8?E1kifZXhuoBEZ_zkQa60jyxcaHNX3QFaydaaIEtL7j0#eb-w4rp2udRHYG3bzElINPBaTBHesFLnS0nqMHo8W80'
web
Generated using TypeDoc
Configuration options for the FingerprintJsProProvider and FingerprintJsProAgent