Automatically track how the app was launched.