Common interface for tracking events in an application.