Adding in Analytics

Let's add some analytics to track how people use the site and plugin a universal HTTP error handler.

Routing analytics

Let’s hook up some analytics trackers to Angular’s router. Instead of listening in on individual routes, this service needs to know about every route change. Generate a new service and attach it to the routing module with ng g service analytics.

⚠️ While working locally, make sure you’re on the latest ...