diff --git a/apple/OmnivoreKit/Sources/App/Views/RootView/RootViewModel.swift b/apple/OmnivoreKit/Sources/App/Views/RootView/RootViewModel.swift index bcbf989d9..0f26b9a92 100644 --- a/apple/OmnivoreKit/Sources/App/Views/RootView/RootViewModel.swift +++ b/apple/OmnivoreKit/Sources/App/Views/RootView/RootViewModel.swift @@ -22,6 +22,10 @@ public final class RootViewModel: ObservableObject { public init() { registerFonts() + if let viewer = services.dataService.currentViewer { + EventTracker.registerUser(userID: viewer.unwrappedUserID) + } + #if DEBUG if CommandLine.arguments.contains("--uitesting") { services.authenticator.logout()