Removing the query arguments

This commit is contained in:
Chris Cowan 2014-03-12 12:32:22 -07:00
parent 3f68d7d03d
commit 6033caf11e

View file

@ -35,12 +35,13 @@ define(function (require) {
},
pageview: function () {
load();
window.ga('send', 'pageview', {
var options = {
cookieDomain: window.location.hostname,
page: window.location.pathname+window.location.hash,
location: window.location.href,
location: window.location.href.replace(/\?.+$/, ''),
dimension1: '@@MARVEL_REVISION'
});
};
window.ga('send', 'pageview', options);
}
};
});