Repository navigation
feat(analytics): Microsoft Clarity 연동을 추가한다 - #235
Merged
Merged
Conversation
세션 레코딩·히트맵으로 사용자 이용 행태를 보기 위해 Clarity 를 붙인다. GA(google-analytics.tsx)와 같은 얼개 — next/script 로더 + NEXT_PUBLIC_CLARITY_ID 환경변수, 프로덕션에서만 동작(로컬 dev 클릭이 실지표에 섞이지 않게). 로그인 사용자는 최소한만 식별한다: user id 와 logged_in 태그. email 등 개인정보는 세션 레코딩에 신원이 남지 않게 보내지 않는다. 식별은 브라우저 Supabase 세션(onAuthStateChange)으로 초기 로드·로그인·로그아웃을 한 구독에서 처리. 개인정보처리방침에 Clarity 를 반영 — 분석 도구·수탁자·국외 이전 목록, 쿠키(_clck/_clsk)와 세션 레코딩 고지, 옵트아웃 안내. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Deployment failed for project dante-web with the following error: View Documentation: https://vercel.com/docs/accounts/team-members-and-roles |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
무엇을 구현했나
세션 레코딩·히트맵으로 사용자 이용 행태를 보기 위해 Microsoft Clarity 를 붙였습니다.
src/components/clarity.tsx(신규) — 기존google-analytics.tsx와 같은 얼개.next/script로더 +NEXT_PUBLIC_CLARITY_ID환경변수,NODE_ENV === "production"에서만 동작(로컬 dev 클릭이 실지표에 섞이지 않게).onAuthStateChange)으로 초기 로드·로그인·로그아웃을 한 구독에서 처리하여, 로그인 시identify(user.id)와set("logged_in", "true")태그만 붙입니다. email 등 개인정보는 세션 레코딩에 신원이 남지 않게 보내지 않습니다.src/app/layout.tsx— 본문 뒤<GoogleAnalytics />옆에<Clarity />마운트.src/app/privacy/page.tsx— 개인정보처리방침 반영: 분석 도구·수탁자·국외 이전 목록, 쿠키(_clck/_clsk)와 세션 레코딩 고지, 옵트아웃 안내.참고사항
체크리스트
🤖 Generated with Claude Code