-1 && loc.indexOf(“#!”) === -1){ window.location.href = loc.replace(‘#%21′,’#!’); } else{ //fix GA cross site linking var gaIndex = loc.indexOf(‘?’); var hashBangIndex = loc.indexOf(‘#!’); if(gaIndex !== -1 && hashBangIndex !== -1 && gaIndex -1){ correctedUrl += extractedGAParam.replace(‘?’,’&’); window.location.href = correctedUrl; } else if(correctedUrl && correctedUrl.indexOf(‘?’) -1) { return false; } else { return true; } }); return true; } }; var host = window.location.hostname; var port = window.location.port; if ((host.indexOf(‘192.’) === 0 || host.indexOf(’10.’) === 0 || host === ‘0.0.0.0’ || host === ‘localhost’) && !!port) { _trackJs.console.display = true; _trackJs.enabled = false; } else if (host.indexOf(‘dev’) > -1) { _trackJs.console.display = true; _trackJs.enabled = false; } else { _trackJs.enabled = true; } window._trackJs = _trackJs;]]>

Source

Leave a Reply

Your email address will not be published. Required fields are marked *