diff --git a/domain/wallet-connect/src/main/kotlin/com/tangem/domain/walletconnect/WcAnalyticEvents.kt b/domain/wallet-connect/src/main/kotlin/com/tangem/domain/walletconnect/WcAnalyticEvents.kt index d9f540cefb..800271cacd 100644 --- a/domain/wallet-connect/src/main/kotlin/com/tangem/domain/walletconnect/WcAnalyticEvents.kt +++ b/domain/wallet-connect/src/main/kotlin/com/tangem/domain/walletconnect/WcAnalyticEvents.kt @@ -53,12 +53,13 @@ sealed class WcAnalyticEvents( network: Set, 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", ), ) diff --git a/features/manage-tokens/impl/src/main/kotlin/com/tangem/features/managetokens/analytics/CustomTokenAnalyticsEvent.kt b/features/manage-tokens/impl/src/main/kotlin/com/tangem/features/managetokens/analytics/CustomTokenAnalyticsEvent.kt index 03cab5fb6d..14aa8c4e17 100644 --- a/features/manage-tokens/impl/src/main/kotlin/com/tangem/features/managetokens/analytics/CustomTokenAnalyticsEvent.kt +++ b/features/manage-tokens/impl/src/main/kotlin/com/tangem/features/managetokens/analytics/CustomTokenAnalyticsEvent.kt @@ -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, ), ) diff --git a/features/manage-tokens/impl/src/main/kotlin/com/tangem/features/managetokens/component/impl/DefaultAddCustomTokenComponent.kt b/features/manage-tokens/impl/src/main/kotlin/com/tangem/features/managetokens/component/impl/DefaultAddCustomTokenComponent.kt index b49478560f..54e95f4260 100644 --- a/features/manage-tokens/impl/src/main/kotlin/com/tangem/features/managetokens/component/impl/DefaultAddCustomTokenComponent.kt +++ b/features/manage-tokens/impl/src/main/kotlin/com/tangem/features/managetokens/component/impl/DefaultAddCustomTokenComponent.kt @@ -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) }