Event tracking is a great way to track user behavior in your application and it doesn’t require much effort to implement. Assuming your application was scaffolded using the Angular ng-cli tool, you can add an attribute directive to your application that will send click events to your Google Analytics in just a few minutes.
Full article