aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/piwik/piwik.html
blob: 0881d7c8fbd49fe5225667a0a0f65f7be7ad1529 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!-- Piwik -->
<script type="text/javascript">
  var _paq = _paq || [];
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u="%s/";
    _paq.push(['setTrackerUrl', u+'piwik.php']);
    _paq.push(['setSiteId', '%s']);
    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="%s/piwik.php?idsite=%s" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->