Loading: How to add analytics event tracking in SwiftUI (the elegant way)