feat: add piwik

This commit is contained in:
Shannon Sterz 2017-08-04 18:57:46 +02:00
parent 8884a36255
commit c292143774

View file

@ -19,7 +19,25 @@
'assets/css/main.css',
'assets/css/mobile.css'
)) ?>
<script type="text/javascript"></script>
<script type="text/javascript"></script>
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//sterzy.com/piwik/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '1']);
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>
<!-- End Piwik Code -->
</head>
<body class="preload" onload="document.body.className = '';">