PostHogAnalyticsProviderOptions
Configuration for createPostHogAnalyticsProvider.
Properties
Section titled “Properties”filter?
Section titled “filter?”
optionalfilter?:string[]
When provided, only events whose type matches one of these strings are
forwarded to PostHog. Use e.g. the control-plane event types to forward
only semantic control-plane events. All others are silently dropped.
optionalname?:string
Human-readable consumer name shown in diagnostics.
Default
Section titled “Default”'posthog'posthog
Section titled “posthog”posthog:
PostHogLike
The PostHog client instance (posthog-js or posthog-node).
transform?
Section titled “transform?”
optionaltransform?:AnalyticsEventTransformer
Optional transform applied before capture (rename / enrich / drop).