Set up HumanBehavior SDK with React applications using hooks and context providers
HumanBehaviorProvider
accepts these options:
useHumanBehavior
hook to track custom events:
HumanBehaviorProvider
automatically tracks page views for you. It handles:
useUserTracking
hook to track user information:
.env
file in your project root:types/global.d.ts
file:
useHumanBehavior
useUserTracking
useRedaction
HumanBehaviorProvider
logLevel
in the provider options: