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

@ -15,20 +15,27 @@ sealed class IntroductionProcess(
class ButtonScanCardLegacy : IntroductionProcess("Button - Scan Card")
class CreateWalletIntroScreenOpened(
screenType: ScreenType,
referralId: String?,
) : IntroductionProcess(
event = "Create Wallet Intro Screen Opened",
params = buildMap {
put(AnalyticsParam.SCREEN_TYPE, screenType.value)
putAll(getReferralParams(referralId))
},
)
) {
enum class ScreenType(val value: String) {
Cold("Cold Wallet"),
Hot("Mobile Wallet"),
}
}
class ButtonScanCard(
val source: AnalyticsParam.ScreensSources,
) : IntroductionProcess(
event = "Button - Scan Card",
params = mapOf(
AnalyticsParam.Key.SOURCE to source.value,
AnalyticsParam.SOURCE to source.value,
),
)
}