Updated on 2026-08-14

This commit is contained in:
Tangem 2026-05-14 13:45:16 +05:00
parent 556fe97fe4
commit a2480ff021
3 changed files with 15 additions and 2 deletions

View file

@ -23,6 +23,7 @@ import com.tangem.core.ui.message.dialog.Dialogs.hotWalletCreationNotSupportedDi
import com.tangem.datasource.local.appsflyer.AppsFlyerStore
import com.tangem.domain.card.ScanCardProcessor
import com.tangem.domain.card.analytics.IntroductionProcess
import com.tangem.domain.card.analytics.IntroductionProcess.CreateWalletIntroScreenOpened.ScreenType
import com.tangem.domain.card.repository.CardSdkConfigRepository
import com.tangem.domain.common.wallets.UserWalletsListRepository
import com.tangem.domain.common.wallets.error.SaveWalletError
@ -137,6 +138,10 @@ internal class CreateWalletStartModel @Inject constructor(
modelScope.launch {
analyticsEventHandler.send(
event = IntroductionProcess.CreateWalletIntroScreenOpened(
screenType = when (params.mode) {
CreateWalletStartComponent.Mode.ColdWallet -> ScreenType.Cold
CreateWalletStartComponent.Mode.HotWallet -> ScreenType.Hot
},
referralId = appsFlyerStore.get()?.refcode,
),
)