Skip to content

Commit 292a2eb

Browse files
committed
feat: Add missing Matomo in SettingView
1 parent 3462250 commit 292a2eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

SwissTransferFeatures/SettingsView/SettingsView.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ public struct SettingsView: View {
134134

135135
if let currentUserId = currentUser?.id {
136136
Button {
137+
@InjectService var matomo: MatomoUtils
138+
matomo.track(eventWithCategory: .settings, name: .deleteMyAccount)
139+
137140
@InjectService var tokenStore: TokenStore
138141

139142
presentedAccountDeletionToken = tokenStore.tokenFor(userId: currentUserId)?.apiToken

0 commit comments

Comments
 (0)