PostHogIntegrationOptions
Configuration for createPostHogIntegration.
Extends
Section titled “Extends”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.
Inherited from
Section titled “Inherited from”PostHogAnalyticsProviderOptions.filter
mirrorNavigation?
Section titled “mirrorNavigation?”
optionalmirrorNavigation?:boolean
Mirror page_view events to a native PostHog $pageview. Default false.
optionalname?:string
Human-readable consumer name shown in diagnostics.
Default
Section titled “Default”'posthog'Inherited from
Section titled “Inherited from”PostHogAnalyticsProviderOptions.name
posthog
Section titled “posthog”posthog:
PostHogLike
The PostHog client instance (posthog-js or posthog-node).
Inherited from
Section titled “Inherited from”PostHogAnalyticsProviderOptions.posthog
syncAccountGroup?
Section titled “syncAccountGroup?”
optionalsyncAccountGroup?:boolean
Mirror the account_id trait to a PostHog group (group('account', id))
when it changes. Default false.
syncIdentity?
Section titled “syncIdentity?”
optionalsyncIdentity?:boolean
Mirror RevTurbine identify / logout to posthog.identify / posthog.reset.
The distinct id is RevTurbine’s already-redacted (hashed) user id — never a
raw email. Default false.
transform?
Section titled “transform?”
optionaltransform?:AnalyticsEventTransformer
Optional transform applied before capture (rename / enrich / drop).