diff --git a/src/components/rybbit-identify.tsx b/src/components/rybbit-identify.tsx index 8d96748..7ebeb9e 100644 --- a/src/components/rybbit-identify.tsx +++ b/src/components/rybbit-identify.tsx @@ -12,24 +12,19 @@ import { kullaniciTanit, kullaniciTemizle } from "@/lib/analitik"; export function RybbitIdentify({ kullaniciId, - eposta, - isim, }: { /** null = oturum yok; o cihazdaki kimlik temizlenir (çıkış sonrası) */ kullaniciId: string | null; - eposta?: string | null; - isim?: string | null; }) { + // Yalnızca opak kullanıcı ID'si gider: e-posta/isim gibi kişisel veri + // üçüncü taraf analitiğe trait olarak GÖNDERİLMEZ. useEffect(() => { if (!kullaniciId) { kullaniciTemizle(); return; } - const traits: Record = {}; - if (eposta) traits.email = eposta; - if (isim) traits.name = isim; - kullaniciTanit(kullaniciId, traits); - }, [kullaniciId, eposta, isim]); + kullaniciTanit(kullaniciId); + }, [kullaniciId]); return null; } diff --git a/src/features/kullanici/components/user-nav.tsx b/src/features/kullanici/components/user-nav.tsx index 9a45188..2e16c79 100644 --- a/src/features/kullanici/components/user-nav.tsx +++ b/src/features/kullanici/components/user-nav.tsx @@ -44,7 +44,7 @@ export async function UserNav() { return (
- +