mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-29 22:45:14 -04:00
More fixes on Google Universal Analytics.
This commit is contained in:
parent
bb7ed02c12
commit
daa1d255e2
1 changed files with 1 additions and 2 deletions
|
@ -67,8 +67,7 @@ modulejs.define('ext/google-analytics-ua', ['_', 'core/settings', 'core/event'],
|
||||||
|
|
||||||
var loc = win.location;
|
var loc = win.location;
|
||||||
win[id]('send', 'pageview', {
|
win[id]('send', 'pageview', {
|
||||||
location: loc.protocol + '//' + loc.hostname + item.absHref,
|
location: loc.protocol + '//' + loc.host + item.absHref,
|
||||||
page: loc.protocol + '//' + loc.host + item.absHref,
|
|
||||||
title: _.pluck(item.getCrumb(), 'label').join(' > ')
|
title: _.pluck(item.getCrumb(), 'label').join(' > ')
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue