Skip to content

Commit

Permalink
[FEAT/#300] 다이얼로그 엠플리튜드 이벤트
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeyubin committed Nov 19, 2024
1 parent ea8813e commit 01e2a50
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,13 @@ fun ScrapDialog(
)
}
},
onClickNavigateButton = viewModel::navigateToDetail,
onClickNavigateButton = {
viewModel.navigateToDetail()
amplitudeTracker.track(
type = EventType.CLICK,
name = "modal_detail"
)
},
onClickScrapButton = {
amplitudeTracker.track(
type = EventType.CLICK,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ fun StartFilteringRoute(
onNextClick()
amplitudeTracker.track(
type = EventType.CLICK,
name = "click_start_service"
name = "start_service"
)
},
buttonState = state.isButtonVisible,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ fun SearchRoute(
onAdvertisementClick = { pageIndex ->
amplitudeTracker.track(
type = EventType.CLICK,
name = "click_quest_bannner"
name = "quest_banner"
)
CustomTabsIntent.Builder().build()
.launchUrl(context, SearchViewModel.bannerList[pageIndex].url.toUri())
Expand Down

0 comments on commit 01e2a50

Please sign in to comment.