From c055e8272cd95185e46ffa2d6839589f30787748 Mon Sep 17 00:00:00 2001 From: bilalgursen Date: Mon, 21 Sep 2026 04:50:04 +0300 Subject: [PATCH] =?UTF-8?q?chore(gizlilik):=20rybbit=20identify=20yaln?= =?UTF-8?q?=C4=B1z=20kullan=C4=B1c=C4=B1=20ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [Bilal onayı gerekir] Girişli kullanıcının e-postası ve ismi Rybbit'e trait olarak gönderiliyordu. Artık yalnızca opak kullanıcı ID'si gider; anonim → girişli oturum birleştirmesi aynen çalışır. Rybbit'te zaten kayıtlı trait'ler bu commit'le silinmez (panelden ayrıca temizlenmeli). Bu commit dalın en sonunda ve bağımsızdır: istenmezse `git merge gece/p2-olcum~1` ile dışarıda bırakılır. Co-Authored-By: Claude Fable 5.1 --- src/components/rybbit-identify.tsx | 13 ++++--------- src/features/kullanici/components/user-nav.tsx | 2 +- 2 files changed, 5 insertions(+), 10 deletions(-) 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 (
- +