Skip to content

Commit 6e0b676

Browse files
fix: Update wrong Matomo categories
1 parent b4a76f4 commit 6e0b676

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Mail/Views/SplitView.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ struct SplitView: View {
143143
} completionHandler: { willSync in
144144
guard willSync else { return }
145145
if willSync {
146-
matomo.track(eventWithCategory: .aiWriter, name: "discoverNow")
146+
matomo.track(eventWithCategory: .syncAutoConfig, name: "discoverNow")
147147
} else {
148-
matomo.track(eventWithCategory: .aiWriter, name: "discoverLater")
148+
matomo.track(eventWithCategory: .syncAutoConfig, name: "discoverLater")
149149
}
150150
mainViewState.isShowingSyncProfile = true
151151
}
@@ -156,9 +156,9 @@ struct SplitView: View {
156156
} completionHandler: { willSetAsDefault in
157157
guard willSetAsDefault, let settingsUrl = URL(string: UIApplication.openSettingsURLString) else { return }
158158
if willSetAsDefault {
159-
matomo.track(eventWithCategory: .aiWriter, name: "discoverNow")
159+
matomo.track(eventWithCategory: .setAsDefaultApp, name: "discoverNow")
160160
} else {
161-
matomo.track(eventWithCategory: .aiWriter, name: "discoverLater")
161+
matomo.track(eventWithCategory: .setAsDefaultApp, name: "discoverLater")
162162
}
163163
openURL(settingsUrl)
164164
}

0 commit comments

Comments
 (0)