Update Router.js
This commit is contained in:
parent
18086090f2
commit
d48f60f164
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ const Router = new _Router()
|
||||||
|
|
||||||
Router.navigateAndTrack = (fragment, options) => {
|
Router.navigateAndTrack = (fragment, options) => {
|
||||||
Router.navigate(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) {
|
Router.intercept = function(evt) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue