add piwik
This commit is contained in:
parent
82b4bb9a07
commit
e7c35e1c00
15
layouts/partials/piwik.html
Normal file
15
layouts/partials/piwik.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!-- 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="//piwik.customers.sbruder.de/";
|
||||
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
||||
_paq.push(['setSiteId', '4']);
|
||||
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 -->
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
{{ if .RSSLink -}}<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}">{{- end }}
|
||||
{{ .Hugo.Generator }}
|
||||
|
||||
{{ partial "piwik.html" . }}
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
|
|
0
themes/schliesspendel/layouts/partials/piwik.html
Normal file
0
themes/schliesspendel/layouts/partials/piwik.html
Normal file
Loading…
Reference in a new issue