Conversation
- Measurement ID 파싱과 script/dataLayer 동작 검증\n- SPA 라우트 이동별 page_view 중복 방지 검증
- 환경변수 기반으로 Google tag를 지연 로드하고 초기 자동 page_view를 비활성화\n- React Router 경로 변경마다 개인정보 없이 page_view를 전송
- Vercel과 로컬 환경에서 사용할 Measurement ID 변수 추가\n- Google Analytics 4 설정 위치를 README에 기록
- GoogleAnalyticsCommand union을 tuple index assertion으로 검증\n- CI의 fresh TypeScript build에서도 테스트 타입을 통과하도록 정리
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
작업 내용
page_view추적변경 이유
상세 변경 사항
VITE_GA_MEASUREMENT_ID기반 Google tag 지연 로드page_view전송VITE_GA_MEASUREMENT_ID등록테스트
npm run test:run: 64개 파일, 463개 테스트 통과/login → /registerpage_view 2건 확인리뷰 포인트
send_page_view: false와 수동 SPA 추적의 중복 방지관련 이슈
Vercel CLI 인증 토큰이 만료되어 환경변수 자동 등록은 별도 설정이 필요합니다. main merge는 저장소 관리자 승인 후 진행합니다.