feat: add piwik
This commit is contained in:
parent
8884a36255
commit
c292143774
1 changed files with 19 additions and 1 deletions
|
@ -19,7 +19,25 @@
|
||||||
'assets/css/main.css',
|
'assets/css/main.css',
|
||||||
'assets/css/mobile.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>
|
</head>
|
||||||
<body class="preload" onload="document.body.className = '';">
|
<body class="preload" onload="document.body.className = '';">
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue