summaryrefslogtreecommitdiffstats
path: root/assets/pages-src/misc
diff options
context:
space:
mode:
Diffstat (limited to 'assets/pages-src/misc')
-rw-r--r--assets/pages-src/misc/matomo.bvr13
1 files changed, 13 insertions, 0 deletions
diff --git a/assets/pages-src/misc/matomo.bvr b/assets/pages-src/misc/matomo.bvr
new file mode 100644
index 0000000..ad6cdd2
--- /dev/null
+++ b/assets/pages-src/misc/matomo.bvr
@@ -0,0 +1,13 @@
+var _paq = window._paq = window._paq || [];
+ /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+ _paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
+ _paq.push(["setDoNotTrack", true]);
+ _paq.push(['trackPageView']);
+ _paq.push(['enableLinkTracking']);
+ (function() {
+ var u="//matomo.gimb.tk/";
+ _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);
+ })();