Analytics: moved query string cleaning the page parameter

This commit is contained in:
Boaz Leskes 2014-03-13 09:28:39 +01:00
parent dcb7043216
commit 3e62bfa9f6

View file

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