File tree Expand file tree Collapse file tree
feature/home/src/main/java/com/terning/feature/home/component/bottomsheet Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ import androidx.compose.ui.layout.onGloballyPositioned
3030import androidx.compose.ui.platform.LocalDensity
3131import androidx.compose.ui.res.stringResource
3232import androidx.compose.ui.unit.dp
33+ import com.terning.core.analytics.EventType
34+ import com.terning.core.analytics.LocalTracker
3335import com.terning.core.designsystem.component.bottomsheet.TerningBasicBottomSheet
3436import com.terning.core.designsystem.component.button.RoundButton
3537import com.terning.core.designsystem.extension.noRippleClickable
@@ -76,6 +78,8 @@ internal fun HomeFilteringBottomSheet(
7678 )
7779 }
7880
81+ val amplitudeTracker = LocalTracker .current
82+
7983 GetPagerHeight (
8084 onHeightMeasured = {
8185 pageHeight = it
@@ -194,6 +198,18 @@ internal fun HomeFilteringBottomSheet(
194198 startMonth,
195199 jobType
196200 )
201+ amplitudeTracker.track(
202+ type = EventType .CLICK ,
203+ name = " home_filtering_save" ,
204+ properties = mapOf (
205+ " jobType" to jobType,
206+ " grade" to grade,
207+ " workingPeriod" to workingPeriod,
208+ " startYear" to startYear,
209+ " startMonth" to startMonth,
210+ " planSaveAll" to isCheckBoxChecked
211+ )
212+ )
197213 }
198214 },
199215 isEnabled = checkButtonEnable(
You canโt perform that action at this time.
0 commit comments