mirror of
https://github.com/mbirth/wiki.git
synced 2024-11-09 13:16:45 +00:00
Added own self-hosted analytics.
This commit is contained in:
parent
7fe44de1bb
commit
07896b8dd3
@ -8,3 +8,19 @@
|
|||||||
ga('send', 'pageview');
|
ga('send', 'pageview');
|
||||||
</script>
|
</script>
|
||||||
<!-- END: Google Analytics -->
|
<!-- END: Google Analytics -->
|
||||||
|
<!-- BEGIN: 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="//analytics.birth-online.de/";
|
||||||
|
_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>
|
||||||
|
<noscript><p><img src="//analytics.birth-online.de/piwik.php?idsite=1&rec=1" style="border:0;" alt="" /></p></noscript>
|
||||||
|
<!-- END: Piwik -->
|
||||||
|
Loading…
Reference in New Issue
Block a user