• Type Parameters

    • TExtended extends boolean

    Parameters

    Returns VisitorQueryContext<TExtended>

    Example

     const {
    // Request state
    data,
    isLoading,
    error,
    // A method to be called manually when the `immediate` field in the config is set to `false`:
    getData,
    } = useVisitorData({ extended: true }, { immediate: false });

    Use the useVisitorData hook in your components to perform identification requests with the FingerprintJS API. The returned object contains information about loading status, errors, and visitor.

Generated using TypeDoc