Updated on 2026-08-14
This commit is contained in:
parent
617ad2af9e
commit
eaf0507b89
3 changed files with 4 additions and 5 deletions
|
|
@ -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",
|
||||
),
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
),
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue