Commit 1f8a2138 authored by Lukasz Waskiewicz's avatar Lukasz Waskiewicz
Browse files

refs #1551 piwik

parent 80b0701e
......@@ -94,6 +94,8 @@
</script>
<meta name="viewport" content="width=device-width, initial-scale=0.7"/>
<th:block layout:include="piwik.xhtml :: piwik" />
</head>
<body>
......
<!DOCTYPE html >
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
xmlns:sec="http://www.thymeleaf.org/extras/spring-security" layout:decorator="layout/main_layout.xhtml">
<th:block layout:fragment="piwik">
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push([ "setDomains", [ "*.cocos.ocean.icm.edu.pl" ] ]);
_paq.push([ 'trackPageView' ]);
_paq.push([ 'enableLinkTracking' ]);
(function() {
var u = "//piwik.vls.icm.edu.pl/";
_paq.push([ 'setTrackerUrl', u + 'piwik.php' ]);
_paq.push([ 'setSiteId', '31' ]);
var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
g.type = 'text/javascript';
g.async = true;
g.defer = true;
g.src = u + 'piwik.js';
s.parentNode.insertBefore(g, s);
})();
</script>
<noscript>
<p>
<img src="//piwik.vls.icm.edu.pl/piwik.php?idsite=31" style="border: 0;" alt="" />
</p>
</noscript>
<!-- End Piwik Code -->
</th:block>
</html>
\ 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