File tree Expand file tree Collapse file tree
feature/src/main/java/com/terning/feature Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,7 +138,13 @@ fun ScrapDialog(
138138 )
139139 }
140140 },
141- onClickNavigateButton = viewModel::navigateToDetail,
141+ onClickNavigateButton = {
142+ viewModel.navigateToDetail()
143+ amplitudeTracker.track(
144+ type = EventType .CLICK ,
145+ name = " modal_detail"
146+ )
147+ },
142148 onClickScrapButton = {
143149 amplitudeTracker.track(
144150 type = EventType .CLICK ,
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ import androidx.compose.ui.unit.dp
2626import androidx.hilt.navigation.compose.hiltViewModel
2727import androidx.lifecycle.compose.collectAsStateWithLifecycle
2828import com.airbnb.lottie.compose.LottieConstants
29+ import com.terning.core.analytics.EventType
30+ import com.terning.core.analytics.LocalTracker
2931import com.terning.core.designsystem.component.button.RectangleButton
3032import com.terning.core.designsystem.component.item.TerningLottieAnimation
3133import com.terning.core.designsystem.theme.TerningPointTheme
@@ -44,13 +46,21 @@ fun StartFilteringRoute(
4446 val configuration = LocalConfiguration .current
4547 val screenHeight = 780f / configuration.screenHeightDp
4648
49+ val amplitudeTracker = LocalTracker .current
50+
4751 LaunchedEffect (key1 = true ) {
4852 delay(DELAY )
4953 viewModel.updateButtonState()
5054 }
5155
5256 StartFilteringScreen (
53- onNextClick = onNextClick,
57+ onNextClick = {
58+ onNextClick()
59+ amplitudeTracker.track(
60+ type = EventType .CLICK ,
61+ name = " start_service"
62+ )
63+ },
5464 buttonState = state.isButtonVisible,
5565 screenHeight = screenHeight,
5666 )
Original file line number Diff line number Diff line change @@ -94,7 +94,12 @@ fun SearchRoute(
9494 },
9595 navigateToIntern = navigateToIntern,
9696 onAdvertisementClick = { pageIndex ->
97- CustomTabsIntent .Builder ().build().launchUrl(context, SearchViewModel .bannerList[pageIndex].url.toUri())
97+ amplitudeTracker.track(
98+ type = EventType .CLICK ,
99+ name = " quest_banner"
100+ )
101+ CustomTabsIntent .Builder ().build()
102+ .launchUrl(context, SearchViewModel .bannerList[pageIndex].url.toUri())
98103 }
99104 )
100105}
Original file line number Diff line number Diff line change 22compileSdk = " 34"
33minSdk = " 28"
44targetSdk = " 34"
5- versionName = " 1.1.7 "
6- versionCode = " 10107 "
5+ versionName = " 1.1.8 "
6+ versionCode = " 10108 "
77kotlinCompilerExtensionVersion = " 1.5.0"
88jvmTarget = " 1.8"
99
You canโt perform that action at this time.
0 commit comments