mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-06 13:26:38 +02:00
More fixes on Google Universal Analytics.
This commit is contained in:
@@ -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(' > ')
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user