diff options
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/analitika.html | 21 | ||||
-rw-r--r-- | _includes/footer.html | 2 |
2 files changed, 22 insertions, 1 deletions
diff --git a/_includes/analitika.html b/_includes/analitika.html new file mode 100644 index 0000000..bf57513 --- /dev/null +++ b/_includes/analitika.html @@ -0,0 +1,21 @@ +<!-- tomo --> +<script type="text/javascript"> + var _paq = window._paq = window._paq || []; +/* tracker methods like "setCustomDimension" should be called before "trackPageView" */ +_paq.push(["setDocumentTitle", document.domain + "/" + document.title]); +_paq.push(["setCookieDomain", "*.sijanec.eu"]); +_paq.push(["setDomains", ["*.sijanec.eu"]]); +_paq.push(["setDoNotTrack", true]); +_paq.push(["disableCookies"]); +_paq.push(['trackPageView']); +_paq.push(['enableLinkTracking']); +(function() { + var u="//analitika.sijanec.eu/matomo/"; + _paq.push(['setTrackerUrl', u+'matomo.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.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); +})(); +</script> +<noscript><p><img src="//analitika.sijanec.eu/matomo/matomo.php?idsite=1&rec=1&action_name={{ htmltitle }}&apiv=1&url={{ canonicalurl }}" style="border:0;" alt="" /></p></noscript> +<!-- End Matomo Code --> diff --git a/_includes/footer.html b/_includes/footer.html index ef08779..6453432 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,6 +1,6 @@ <hr> <p> - Vse pravice pridržane. © {{ site.name }}, 2020 | stran generirana: {{ site.time | date: site.short_datetime_format }} + © {{ site.name }}, 2020-{{ site.time | date: "%Y" }} | stran generirana: {{ site.time | date: site.short_datetime_format }} <span id=ponudi-https hidden=true > | <!-- uporabnik itak poganja javascript, ker se mu je to sploh odprlo --> <a href=javascript:window.location.protocol="https:" > |