Updated on 2026-08-14
This commit is contained in:
parent
556fe97fe4
commit
a2480ff021
3 changed files with 15 additions and 2 deletions
|
|
@ -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,
|
||||
),
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue