Analytics.js is an easy solution for integrating analytics into a web app. It does this by not littering your code with third-party-specific calls. Instead of adding hooks for every single analytics service you integrate, you only add a single set of provider-agnostic hooks that then route to any analytics service you wish. Nice and simple!
