[feat] GA 연동#187
Merged
Merged
Conversation
빌드 결과빌드 성공 🎉 |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (16)
📝 WalkthroughWalkthroughGoogle Analytics 4 통합을 추가했습니다. GA 초기화 모듈, 이벤트 추적 함수들을 구현하고, 로그인, 회원가입, 체크업, 분석 페이지 등 주요 사용자 액션 시점에 추적 이벤트를 호출하도록 수정했습니다. Changes
Sequence DiagramsequenceDiagram
participant App as 앱 시작
participant Analytics as GA 모듈
participant GTM as Google Analytics<br/>(측정 ID)
participant Router as 라우터
participant UI as 페이지/UI
App->>Analytics: initGA() 호출
Analytics->>GTM: script 주입 & gtag 함수 설정
GTM-->>Analytics: dataLayer 준비 완료
Analytics->>GTM: config + send_page_view:false 전송
Router->>Analytics: 페이지 변경 감지
Router->>Analytics: trackPageView(pathname) 호출
Analytics->>GTM: config(page_path) 전송
UI->>UI: 사용자 액션 발생
UI->>Analytics: trackKakaoLoginClick() 등 호출
Analytics->>GTM: event 전송 (eventName, params)
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes 여러 파일에 분산된 변경이지만 대부분 동일한 패턴의 추적 함수 호출이며, GA 기초 모듈의 구현 로직(script injection, gtag 함수 정의, 환경변수 조건 처리)을 중심으로 검토 필요합니다. Possibly related PRs
Suggested reviewers
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
📌 Summary
해당 PR에 대한 작업 내용을 요약하여 작성해주세요.
📄 Tasks
해당 PR에 수행한 작업을 작성해주세요.
🔍 To Reviewer
리뷰어에게 요청하는 내용을 작성해주세요.
📸 Screenshot
작업한 내용에 대한 스크린샷을 첨부해주세요.
Summary by CodeRabbit
릴리스 노트