PostHogRemoteConfig

Properties

NameType
sessionRecordingboolean | { [key: string]: JsonType; }
supportedCompressionCompression[]

Supported compression algorithms

surveysboolean | Survey[]

Whether surveys are enabled

hasFeatureFlagsboolean

Indicates if the team has any flags enabled (if not we don't need to load them)

errorTrackingboolean | { [key: string]: JsonType; }

Error tracking remote config. Either a boolean (false = disabled) or a map with configuration. When a map, autocaptureExceptions (boolean) controls whether automatic exception capture is enabled remotely.

capturePerformanceboolean | { [key: string]: JsonType; }

Capture performance remote config. Either a boolean (false = disabled) or a map with configuration. When a map, network_timing (boolean) controls whether network timing capture is enabled remotely.

logsboolean | { [key: string]: JsonType; }

Logs feature remote config. When a map, captureConsoleLogs (boolean) is the local opt-in flag for console.* autocapture (read by the JS SDK's PostHogLogs extension to decide whether to load the autocapture bundle).