chore: GTM 메타 픽셀, 커스텀 이벤트 추가 #346
Merged
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.
💡 작업 내용
💡 자세한 설명
✅ index.html
PageView(페이지 조회),Lead(모집 알림 신청 버튼 클릭 시),CompleteRegistration(지원 완료 시)로 파악되었습니다.✅ analytics.ts
recruitment_alert_clickgeneration,button_textapply_startsourceapply_step_viewstep,job_familyapply_step_completestep,job_familyapply_completejob_family,conversiontrackEvent는 GTM + Amplitude 모두에 전송합니다.fbq()호출이 필요합니다.analytics.ts에서 동적 로드하는 방식을 사용합니다.✅ QA, localhost에서 트래킹 제거
ject.krqa.ject.krVITE_ANALYTICS_DEBUG=true로 활성화 가능localhostVITE_ANALYTICS_DEBUG=true로 활성화 가능해당 설정을 통해
✅ 기타 사용법
apply_step_view는 있는데apply_step_complete가 없으면 해당 단계에서 이탈한 것입니다.예시:
✅ 환경 변수 관리(2026/01/01 10:55 추가)
환경 변수는 다음의 값을 사용합니다. (로컬에서 빌드 시 .env에 추가, github secrets에는 등록됨)
-
VITE_META_PIXEL_ID: Meta Pixel의 ID 값VITE_GTM_ID: Google Tag Manger의 ID 값(현재 GTM은 별도로 사용하지 않는 것으로 파악됨)VITE_AMPLITUDE_API_KEY: Amplitude의 API Key 값(Amplitude 로그인 시에도 확인 가능)VITE_ANALYTICS_DEBUG: QA 사이트에서 트래킹 테스트를 위한 값이며, 기본 값은 false(사용안함)📗 참고 자료 (선택)
📢 리뷰 요구 사항 (선택)
✅ 셀프 체크리스트
closes #345