SwiftUI is groundbreaking in its capacity for enabling well-architected, concisely defined, and highly readable UI code. Here's how to add event tracking calls for an analytics framework like Mixpanel, while keeping your SwiftUI as clean and simple as it was meant to be.