mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
Minor analytics refector.
This commit is contained in:
parent
88f5f1a5bd
commit
a42c54678a
@ -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" %>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user