1
0
Fork 0

Add Piwik analytics

This commit is contained in:
Luca Beltrame 2015-05-14 07:52:59 +02:00
parent cd8995c4a3
commit 4403a25d56

View file

@ -22,3 +22,26 @@
</script>
{% endif %}
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//piwik.dennogumi.org/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 2]);
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.dennogumi.org/piwik.php?idsite=2" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
<noscript>
<!-- Piwik Image Tracker-->
<img src="https://piwik.dennogumi.org/piwik.php?idsite=2&rec=1" style="border:0" alt="" />
<!-- End Piwik -->
</noscript>