PostHogProviderProps

Properties

NameType
apiKeystring

Your PostHog API key

autocaptureboolean | PostHogAutocaptureOptions

Autocapture configuration - can be a boolean or detailed options. When not set, the default behavior is: - captureScreens: true - captureTouches: false - captureAppLifecycleEvents: true Set to true to enable all autocapture features (including touches). Set to false to disable all autocapture features.

childrenReact.ReactNode

The child components to render within the PostHog context

clientPostHog

An existing PostHog client instance

debugboolean

Enable debug mode for additional logging false

optionsPostHogOptions

PostHog configuration options

styleStyleProp<ViewStyle>

Custom styles for the provider wrapper View

Community questions

Questions about this page? or post a community question.