docs: refactor analytics + remove segment (#13954)

* docs: refactor analytics + remove segment

* small refactor of condition
This commit is contained in:
Shahed Nasser
2025-11-04 14:53:56 +02:00
committed by GitHub
parent baec64d4f1
commit 32f9c15b1b
11 changed files with 146 additions and 129 deletions

View File

@@ -23,10 +23,7 @@ type ProvidersProps = {
const Providers = ({ children, aiAssistantProps = {} }: ProvidersProps) => {
return (
<AnalyticsProvider
segmentWriteKey={process.env.NEXT_PUBLIC_SEGMENT_API_KEY}
reoDevKey={process.env.NEXT_PUBLIC_REO_DEV_CLIENT_ID}
>
<AnalyticsProvider reoDevKey={process.env.NEXT_PUBLIC_REO_DEV_CLIENT_ID}>
<SiteConfigProvider config={config}>
<LearningPathProvider>
<NotificationProvider>