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 | |
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')
-rw-r--r-- | assets/js/app.js.bvr | 4 | ||||
-rw-r--r-- | assets/pages-src/misc/matomo.bvr | 13 |
2 files changed, 16 insertions, 1 deletions
diff --git a/assets/js/app.js.bvr b/assets/js/app.js.bvr index 3d4cc6b..5441c59 100644 --- a/assets/js/app.js.bvr +++ b/assets/js/app.js.bvr @@ -121,4 +121,6 @@ document.addEventListener("DOMContentLoaded", () => { try_app_update(); }, 1000 * BEZIAPP_UPDATE_INTERVAL); -});
\ No newline at end of file +}); + +<@?i matomo@> 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); + })(); |