mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2025-03-14 09:11:41 +01:00
15 lines
612 B
Plaintext
15 lines
612 B
Plaintext
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
|
|
|
<c:if test="${requestScope['google.analytics.enabled']}">
|
|
|
|
<script>
|
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
|
|
|
ga('create', '${requestScope['google.analytics.account']}', 'wisemapping.com');
|
|
ga('send', 'pageview');
|
|
|
|
</script>
|
|
</c:if> |