Skip to content

feat : GA4 trackedpage 추가 및 click 이벤트 할당 (정준영 part)#219

Merged
junjeeong merged 18 commits intodevfrom
feature/Ga4-trackedpage-추가-및-click-이벤트-할당-정준영
Apr 28, 2025

Hidden character warning

The head ref may contain hidden characters: "feature/Ga4-trackedpage-\ucd94\uac00-\ubc0f-click-\uc774\ubca4\ud2b8-\ud560\ub2f9-\uc815\uc900\uc601"
Merged

feat : GA4 trackedpage 추가 및 click 이벤트 할당 (정준영 part)#219
junjeeong merged 18 commits intodevfrom
feature/Ga4-trackedpage-추가-및-click-이벤트-할당-정준영

Conversation

@junjeeong
Copy link
Collaborator

@junjeeong junjeeong commented Apr 24, 2025

Pull requests

✅ 작업한 내용

  • MBTI test 관련 페이지 trackePath 추가 -> prgress만 페이지 컴포넌트에서 관리(전역 상태에 따라 SPA로 동작하도록 구현했기 떄문)
  • Chat tips 관련 페이지 trackedPath 추가
  • Notion - GA 태깅 정준영 파트 Click 이벤트 할당

🔢 #216

❗️PR Point

  • page와 element를 문자열로 받아서 trackEvent("Click") 함수를 호출해주는 trackClickEvent util 함수를 만들어 사용했습니다.

📸 스크린샷

  • 없음

@junjeeong junjeeong added the 👩‍💻 Feat 새로운 기능 label Apr 24, 2025
@junjeeong junjeeong requested a review from Soohyuniii April 24, 2025 08:32
@junjeeong junjeeong self-assigned this Apr 24, 2025
@junjeeong junjeeong changed the title feature/GA4 trackedpage 추가 및 click 이벤트 할당 (part 정준영) feature : GA4 trackedpage 추가 및 click 이벤트 할당 (part 정준영) Apr 24, 2025
@junjeeong junjeeong changed the title feature : GA4 trackedpage 추가 및 click 이벤트 할당 (part 정준영) feature : GA4 trackedpage 추가 및 click 이벤트 할당 (정준영 part) Apr 24, 2025
@junjeeong junjeeong changed the title feature : GA4 trackedpage 추가 및 click 이벤트 할당 (정준영 part) feat : GA4 trackedpage 추가 및 click 이벤트 할당 (정준영 part) Apr 24, 2025
@Soohyuniii
Copy link
Collaborator

전반적으로 기획된 내용과 작성하신 내용이 일치하지 않는 것 같습니다! 전에 회의때 지운님이 말씀하신 것처럼 노션의 매개변수(page, element)값으로 태깅을 해주셔야 합니다.

추가적으로, 전에 요청드렸던 것처럼 노션의 상태값 업데이트도 부탁드립니다.

src/App.tsx Outdated
{ path: "/mbti-result", page: "Mbti 테스트 결과" },
{ path: "/chat-recommend", page: "대화 주제 추천" },
{ path: "/chat-tips", page: "대화 꿀팁" },
{ path: "/chat-temporature", page: "대화 온도 측정" }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

여기를 포함해서 page 값이 지운님이 설정해주신 값들과 다른 것 같은데 혹시 따로 업데이트 된 사항일까요?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

흠... 제가 이해를 잘못했네요! 설정해주신대로 다시 수정하겠습니다!

@junjeeong
Copy link
Collaborator Author

0f7c186
수정했습니다 다시 확인 부탁드립니다!

@Soohyuniii
Copy link
Collaborator

제가 리뷰드린 부분들 뿐만 아니라, 이전에 코멘트 달았던 것과 같이 전반적으로 확인해서 수정 부탁드립니다.

};

const handleNavigate = () => {
trackClickEvent("홈", "친구 - 대화 시작하기 버튼");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이부분도 홈, 친구 - 바로 대화하기 인데 다른 것 같습니다.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

넵 수정하겠습니다

navigate("/mbti-test");
}
const goFirstStep = () => {
trackClickEvent("/MBTI 테스트 결과", "돌아가기 버튼");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

돌아가기 버튼이라는 element도 존재하지 않는 element인 것 같습니다.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

삭제하겠습니다!

@junjeeong
Copy link
Collaborator Author

notion에 있는 것과 모두 동일한지 확인했고, 기존에 작성한 것중에 기획과 다른 것도 모두 삭제했습니다!

@junjeeong junjeeong merged commit f15b3f5 into dev Apr 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

👩‍💻 Feat 새로운 기능

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants