diff --git a/docs/package.json b/docs/package.json
index dddb88b04..b2b74aba7 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -36,7 +36,6 @@
"path": "^0.12.7",
"plop": "^4.0.1",
"plop-helper-date": "^1.0.0",
- "posthog-js": "^1.186.3",
"react": "^18",
"react-dom": "^18",
"react-hook-form": "^7.51.1",
diff --git a/web/app/layout.tsx b/web/app/layout.tsx
index 29c44f19e..5f14d6f5c 100644
--- a/web/app/layout.tsx
+++ b/web/app/layout.tsx
@@ -4,8 +4,6 @@ import { Metadata } from 'next'
import '@/styles/main.scss'
-import { CSPostHogProvider } from './posthog'
-
export const metadata: Metadata = {
title: 'Jan',
description:
@@ -15,12 +13,10 @@ export const metadata: Metadata = {
export default function RootLayout({ children }: PropsWithChildren) {
return (
-
-
-
- {children}
-
-
+
+
+ {children}
+
)
}
diff --git a/web/app/posthog.js b/web/app/posthog.js
deleted file mode 100644
index 2ed24dbd0..000000000
--- a/web/app/posthog.js
+++ /dev/null
@@ -1,15 +0,0 @@
-'use client'
-
-import posthog from 'posthog-js'
-import { PostHogProvider } from 'posthog-js/react'
-
-if (typeof window !== 'undefined') {
- posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY, {
- api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST,
- person_profiles: 'always',
- persistence: 'localStorage',
- })
-}
-export function CSPostHogProvider({ children }) {
- return {children}
-}
diff --git a/web/package.json b/web/package.json
index 24c47e53c..c4304d236 100644
--- a/web/package.json
+++ b/web/package.json
@@ -29,7 +29,6 @@
"next-themes": "^0.2.1",
"postcss": "8.4.31",
"postcss-url": "10.1.3",
- "posthog-js": "^1.95.1",
"react": "18.2.0",
"react-circular-progressbar": "^2.1.0",
"react-dom": "18.2.0",