feat: Implement analytics tracking with cookie consent and enhance SEO with backlink management.

This commit is contained in:
Timo Knuth
2026-02-09 16:07:39 +01:00
parent e871c820f7
commit f3774f3068
7 changed files with 264 additions and 69 deletions

View File

@@ -3,12 +3,19 @@
import { Suspense } from 'react';
import { ToastContainer } from '@/components/ui/Toast';
import AuthProvider from '@/components/SessionProvider';
import { PostHogProvider } from '@/components/PostHogProvider';
import { PostHogProvider, PostHogPageView } from '@/components/PostHogProvider';
import CookieBanner from '@/components/CookieBanner';
import GoogleAnalytics from '@/components/analytics/GoogleAnalytics';
import FacebookPixel from '@/components/analytics/FacebookPixel';
export function Providers({ children }: { children: React.ReactNode }) {
return (
<PostHogProvider>
<Suspense fallback={null}>
<PostHogPageView />
<GoogleAnalytics />
<FacebookPixel />
</Suspense>
<AuthProvider>
{children}
</AuthProvider>