[Misc] Fix Matomo tracking

This commit is contained in:
Lucien Cartier-Tilet 2023-01-10 12:22:51 +01:00
parent 2134e947fd
commit 429d050d1e
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -35,9 +35,9 @@
#+html_head: _paq.push(['trackPageView']); #+html_head: _paq.push(['trackPageView']);
#+html_head: _paq.push(['enableLinkTracking']); #+html_head: _paq.push(['enableLinkTracking']);
#+html_head: (function() { #+html_head: (function() {
#+html_head: var u="//matomo.phundrak.com/"; #+html_head: var u="https://matomo.phundrak.com/";
#+html_head: _paq.push(['setTrackerUrl', u+'matomo.php']); #+html_head: _paq.push(['setTrackerUrl', u+'matomo.php']);
#+html_head: _paq.push(['setSiteId', '1']); #+html_head: _paq.push(['setSiteId', '2']);
#+html_head: var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; #+html_head: var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
#+html_head: g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); #+html_head: g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
#+html_head: })(); #+html_head: })();