I have built a new site using Angular 2 as the front-end. As everything is done via push state, there are no page loads which typically trigger the Google Analytics code to
this.router.events.subscribe(event => { if (event instanceof NavigationEnd) { ga('set','page', event.urlAfterRedirects); ga('send', 'pageview'); } });