diff options
author | sijanec <sijanecantonluka@gmail.com> | 2020-09-23 20:33:48 +0200 |
---|---|---|
committer | sijanec <sijanecantonluka@gmail.com> | 2020-09-23 20:33:48 +0200 |
commit | 9f73d145b6aadb506143b0a3ec1b1d3697f24a04 (patch) | |
tree | e60eb69412917a59bdd998c6e434e187d6df2f88 /assets/pages-src/misc | |
parent | final fixes and minification (diff) | |
download | beziapp-9f73d145b6aadb506143b0a3ec1b1d3697f24a04.tar beziapp-9f73d145b6aadb506143b0a3ec1b1d3697f24a04.tar.gz beziapp-9f73d145b6aadb506143b0a3ec1b1d3697f24a04.tar.bz2 beziapp-9f73d145b6aadb506143b0a3ec1b1d3697f24a04.tar.lz beziapp-9f73d145b6aadb506143b0a3ec1b1d3697f24a04.tar.xz beziapp-9f73d145b6aadb506143b0a3ec1b1d3697f24a04.tar.zst beziapp-9f73d145b6aadb506143b0a3ec1b1d3697f24a04.zip |
Diffstat (limited to 'assets/pages-src/misc')
-rw-r--r-- | assets/pages-src/misc/matomo.bvr | 13 |
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); + })(); |