PostHogOptions

Example values

TypeScript
PostHogCoreOptions & {
persistence?: 'memory';
personalApiKey?: string;
privacyMode?: boolean;
enableExceptionAutocapture?: boolean;
featureFlagsPollingInterval?: number;
maxCacheSize?: number;
fetch?: (url: string, options: PostHogFetchOptions) => Promise<PostHogFetchResponse>;
enableLocalEvaluation?: boolean;
flagDefinitionCacheProvider?: FlagDefinitionCacheProvider;
before_send?: BeforeSendFn | BeforeSendFn[];
evaluationEnvironments?: readonly string[];
custom_blocked_useragents?: string[];
__preview_capture_bot_pageviews?: boolean;
}

Community questions

Questions about this page? or post a community question.