1
0
Fork 0
web-jbeyerstedt/site/plugins/piwik/template.php

16 lines
681 B
PHP
Raw Permalink Normal View History

2016-03-28 20:32:42 +00:00
<!-- Piwik -->
2016-10-15 18:10:34 +00:00
<script type="text/javascript" nonce="nRfqpuKWNuYyUAFPTr6WVNZk9">
2016-03-28 20:32:42 +00:00
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="<?= $url?>/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', <?= $id?>]);
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="<?= $url?>/piwik.php?idsite=<?= $id?>" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->