mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
PostHog: we don't use Feature Flags - stop them
This commit is contained in:
+6
-1
@@ -94,12 +94,17 @@ export function OptionalPostHogAnalytics() {
|
||||
_posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY || '', {
|
||||
api_host: '/a/ph', // client analytics host - default: process.env.NEXT_PUBLIC_POSTHOG_HOST || 'https://us.i.posthog.com'
|
||||
ui_host: 'https://us.posthog.com',
|
||||
defaults: '2025-05-24',
|
||||
defaults: '2026-01-30',
|
||||
capture_exceptions: true, // captures exceptions using Error Tracking
|
||||
// capture_pageview: false, // we used to handle this manually, but changed to the 'defaults' option which captures pageviews automatically
|
||||
// capture_pageleave: true, // we used to track goodbyes, now included in 'defaults'
|
||||
person_profiles: 'identified_only',
|
||||
disable_surveys: true, // disable surveys
|
||||
|
||||
// disable feature flags; at most we'd check them at boot for surveys
|
||||
advanced_disable_feature_flags: true,
|
||||
advanced_only_evaluate_survey_feature_flags: true,
|
||||
|
||||
debug: Release.IsNodeDevBuild, // enable debug mode in development (was: `loaded: (ph) => if (Release.IsNodeDevBuild) ph.debug();`)
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user