summaryrefslogtreecommitdiffstats
path: root/_includes/analitika.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/analitika.html')
-rw-r--r--_includes/analitika.html21
1 files changed, 21 insertions, 0 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 -->