Commit dcca4ccc authored by Matija Obreza's avatar Matija Obreza
Browse files

ga.jsp

parent 128a5abc
......@@ -29,22 +29,7 @@
</div>
</div>
<c:if test="${googleAnalyticsAccount ne null}">
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '${googleAnalyticsAccount}']);
try {
_gaq = _gaq.concat(_pageGaq);
} catch (e) {}
_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="ga.jsp" %>
<!-- Processing time:
<div class="footer clearfix" style="font-size: 80%"><spring:message code="page.rendertime" arguments="${springExecuteTime}" /></div>
......
<%@include file="/WEB-INF/jsp/init.jsp"%>
<c:if test="${googleAnalyticsAccount ne null}">
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push([ '_setAccount', '${googleAnalyticsAccount}' ]);
try {
_gaq = _gaq.concat(_pageGaq);
} catch (e) {
}
_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>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment