Skip to content
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] #408 - Amplitude 설치 #462

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from
Prev Previous commit
Next Next commit
feat: amplitude - 모두 읽음 버튼 클릭했을 때
  • Loading branch information
seungchan2 committed Dec 12, 2024
commit 7448a34b80778eb0cd095c7174ba48d7073d1171
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public enum AmplitudeEventType: String {
case clickFaq = "click_faq"
case clickPlaygroundCommunity = "click_playground_community"
case clickHotboard = "click_hotboard"
case clickReadAllButton = "click_allread.btn"

// 콕 찌르기 클릭 이벤트
case clickPoke = "click_poke"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ extension NotificationListViewModel {
.withUnretained(self)
.sink { owner, _ in
owner.useCase.readAllNotifications()
AmplitudeInstance.shared.track(eventType: .clickReadAllButton)
}.store(in: cancelBag)

input.categoryCellTapped
Expand Down