Type alias UseVisitorDataOptions

UseVisitorDataOptions: GetOptions & {
    immediate?: boolean;
}

Options for useVisitorData: the request options plus hook-specific configuration.

Type declaration

  • Optional immediate?: boolean

    Controls automatic visitor data fetching. When true, the hook fetches after mounting and whenever the request options change.

    Defaults to false on React Native (unlike @fingerprint/react, which defaults to true) because there is no cache on native and eager fetching increases identification costs.

    Default

    false