Minor analytics refector.

This commit is contained in:
Paulo Gustavo Veiga 2012-09-23 10:26:26 -03:00
parent 88f5f1a5bd
commit a42c54678a
3 changed files with 2 additions and 19 deletions

View File

@ -57,21 +57,4 @@
</div>
</div>
<c:if test="${requestScope['google.analytics.enabled']}">
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '${requestScope['google.analytics.account']}']);
_gaq.push(['_setDomainName', 'wisemapping.com']);
_gaq.push(['_trackPageview']);
(function () {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
</c:if>
<%@ include file="/jsp/googleAnalytics.jsf" %>

View File

@ -60,6 +60,7 @@
}
});
</script>
<%@ include file="/jsp/googleAnalytics.jsf" %>
</head>
<body>
@ -93,6 +94,5 @@
<div id="mindplot" onselectstart="return false;"></div>
<script type="text/javascript" src="js/editor.js"></script>
<%@ include file="/jsp/mindmapEditorFooter.jsf" %>
</body>
</html>