Updated on 2026-08-14

This commit is contained in:
Tangem 2026-02-09 13:30:16 +03:00
parent 617ad2af9e
commit eaf0507b89
3 changed files with 4 additions and 5 deletions

View file

@ -53,12 +53,13 @@ sealed class WcAnalyticEvents(
network: Set<Network>,
domainVerification: CheckDAppResult,
) : WcAnalyticEvents(
event = "dApp Connection Requested",
event = "DApp Connection Requested",
params = mapOf(
AnalyticsParam.DAPP_NAME to dAppName,
AnalyticsParam.DAPP_URL to dAppUrl,
NETWORKS to network.joinToString(",") { it.name },
DOMAIN_VERIFICATION to domainVerification.toAnalyticVerificationStatus(),
AnalyticsParam.ACCOUNT_DERIVATION to "0",
),
)

View file

@ -34,13 +34,12 @@ internal sealed class CustomTokenAnalyticsEvent(
class AddTokenToAnotherAccount(
currencySymbol: String,
derivationPath: String,
source: ManageTokensSource,
) : CustomTokenAnalyticsEvent(
) : AnalyticsEvent(
category = "Settings / Account",
event = "Button - Add Token To Another Account",
params = mapOf(
AnalyticsParam.Key.TOKEN_PARAM to currencySymbol,
AnalyticsParam.Key.DERIVATION to derivationPath,
AnalyticsParam.Key.SOURCE to source.analyticsName,
),
)

View file

@ -239,7 +239,6 @@ internal class DefaultAddCustomTokenComponent @AssistedInject constructor(
val event = CustomTokenAnalyticsEvent.AddTokenToAnotherAccount(
currencySymbol = currency.symbol,
derivationPath = currency.network.derivationPath.value.orEmpty(),
source = params.source,
)
analyticsEventHandler.send(event)
}