diff --git a/ember/app/index.html b/ember/app/index.html index 6fca4b49..992f4e0c 100644 --- a/ember/app/index.html +++ b/ember/app/index.html @@ -7,6 +7,18 @@ + + + + {{content-for "head"}} diff --git a/ember/app/router.js b/ember/app/router.js index e39de62f..26c1c893 100644 --- a/ember/app/router.js +++ b/ember/app/router.js @@ -3,7 +3,15 @@ import config from './config/environment'; const Router = EmberRouter.extend({ location: config.locationType, - rootURL: config.rootURL + rootURL: config.rootURL, + didTransition: function() { + this._super(...arguments); + + return ga('send', 'pageview', { + 'page': this.get('url'), + 'title': this.get('url') + }); + } }); Router.map(function() {