Update Router.js

This commit is contained in:
Connor Turland 2017-01-25 20:56:42 -08:00 committed by GitHub
parent 18086090f2
commit d48f60f164

View file

@ -204,7 +204,7 @@ const Router = new _Router()
Router.navigateAndTrack = (fragment, options) => {
Router.navigate(fragment, options)
ga && ga('send', 'pageview')
window.ga && window.ga('send', 'pageview', location.pathname, {title: document.title})
}
Router.intercept = function(evt) {