Add Piwik analytics
This commit is contained in:
parent
cd8995c4a3
commit
4403a25d56
1 changed files with 23 additions and 0 deletions
|
@ -22,3 +22,26 @@
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% 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>
|
||||||
|
|
Reference in a new issue