import { createFileRoute } from '@tanstack/react-router' import { route } from '@/constants/routes' import SettingsMenu from '@/containers/SettingsMenu' import HeaderPage from '@/containers/HeaderPage' import { Switch } from '@/components/ui/switch' import { Card, CardItem } from '@/containers/Card' import { useTranslation } from 'react-i18next' import { useAnalytic } from '@/hooks/useAnalytic' import posthog from 'posthog-js' // eslint-disable-next-line @typescript-eslint/no-explicit-any export const Route = createFileRoute(route.settings.privacy as any)({ component: Privacy, }) function Privacy() { const { t } = useTranslation() const { setProductAnalytic, productAnalytic } = useAnalytic() return (

{t('common.settings')}

Analytics

{ if (state) { posthog.opt_in_capturing() } else { posthog.opt_out_capturing() } setProductAnalytic(state) }} />
} > To help us improve Jan, you can share anonymous data like feature usage and user counts. We never collect your chats or personal information.

} align="start" />

You have full control over your data. Learn more in our Privacy Policy.

To improve Jan, we need to understand how it’s used—but only with your help. You can change this setting anytime.

Your choice here won’t change our core privacy promises:

  • Your chats are never read
  • No personal information is collected
  • No accounts or logins required
  • We don’t access your files
  • Your chat history and settings stay on your device
} />
) }