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 27e43829c3bd176629e25df183f37eab58c58748
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public enum AmplitudeEventType: String {
case viewAppHome = "view_apphome"
case viewPokeOnboarding = "view_poke_onboarding"
case viewNotificationDetail = "view_notification_detail"
case viewNotificationList = "view_notification_list"

// 콕 찌르기 뷰 이벤트
case viewPokeMain = "view_poke_main"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ extension NotificationListViewModel {
.withUnretained(self)
.sink { owner, _ in
output.filterList.send(owner.filterList)
AmplitudeInstance.shared.track(eventType: .viewNotificationList)
}.store(in: cancelBag)

input.requestNotifications
Expand Down