Add analytics and event tracking

Need to find a way to track page views on non-angular.