Use the useVisitorData hook in your components to perform identification requests with the Fingerprint API.
useVisitorData
Options for the identification request that will be used by default.
const { data, isLoading, isFetched, error, getData } = useVisitorData()// later, e.g. in an event handler:await getData({ linkedId: 'user_1234' }) Copy
const { data, isLoading, isFetched, error, getData } = useVisitorData()// later, e.g. in an event handler:await getData({ linkedId: 'user_1234' })
Use the
useVisitorDatahook in your components to perform identification requests with the Fingerprint API.