Skip to content

Commit

Permalink
[FEAT/#294] home remind card amplitude
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeyubin committed Oct 22, 2024
1 parent 59df1b4 commit 941b149
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ import androidx.compose.ui.res.stringResource
import androidx.compose.ui.unit.dp
import coil3.compose.AsyncImage
import coil3.request.ImageRequest
import com.terning.core.analytics.EventType
import com.terning.core.analytics.LocalTracker
import com.terning.core.designsystem.component.item.ScrapBox
import com.terning.core.designsystem.theme.Black
import com.terning.core.designsystem.theme.Grey150
Expand All @@ -58,6 +60,8 @@ fun HomeUpcomingInternScreen(
mutableStateOf(null)
}

val amplitudeTracker = LocalTracker.current

LazyRow(
horizontalArrangement = Arrangement.spacedBy(12.dp),
contentPadding = PaddingValues(horizontal = 24.dp),
Expand All @@ -82,6 +86,10 @@ fun HomeUpcomingInternScreen(
modifier = Modifier
.fillMaxHeight()
.noRippleClickable {
amplitudeTracker.track(
type = EventType.CLICK,
name = "remind_intern_card"
)
selectedInternItem = homeUpcomingIntern
updateUpcomingDialogVisibility(true)
},
Expand Down

0 comments on commit 941b149

Please sign in to comment.