-
Notifications
You must be signed in to change notification settings - Fork 2
Feat/#460 GA 이벤트 추가 #471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/#460 GA 이벤트 추가 #471
Conversation
sendGAEvent({ | ||
action: 'click_copy', | ||
category: 'song_playing', | ||
memberId: user?.memberId, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
user
나 user.memberId
가 없는 경우 어떻게 되나요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 컴포넌트에서 user(전역 상태)를 사용하지 않는 경우 => 집계하지 않는다는 의미로 -2 플래그를 준다.
- 로그인이 되어있지 않는 유저 => -1 플래그를 준다
💬 이렇게 어떠신가요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GA 기가맥힙니다...!
어떤식으로 사용하는 것인지도 잘 설명해주셔서 이해했습니다
고생하셨습니다~!
sendGAEvent({ | ||
action: 'click_copy', | ||
category: 'song_playing', | ||
memberId: user?.memberId, | ||
}); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
action과 category도 기준을 정해서 상수화 하면 좋겠네요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
상수화 완료!
if (isNowPlayingTrack) { | ||
stopTrack(); | ||
} else { | ||
playTrack(); | ||
} | ||
}; | ||
|
||
const onLikeButton = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💬 요것도 네이밍을 likes 의 의미를 담아서 바꿔보면 좋을 것 같아요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
네이밍 변경 완료!
결정된 사항
|
📝작업 내용
작업내용
💬리뷰 참고사항
#️⃣연관된 이슈
close #460