Update Matomo tracker

This commit is contained in:
Lucien Cartier-Tilet 2023-01-16 09:49:44 +01:00
parent f1e715ec00
commit 7b6138daca
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -37,16 +37,12 @@
#+html_head: <script>
#+html_head: var _paq = window._paq = window._paq || [];
#+html_head: /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
#+html_head: _paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
#+html_head: _paq.push(["setCookieDomain", "*.phundrak.com"]);
#+html_head: _paq.push(["setDomains", ["*.phundrak.com","*.config.phundrak.com","*.conlang.phundrak.com","*.langue.phundrak.com"]]);
#+html_head: _paq.push(["enableCrossDomainLinking"]);
#+html_head: _paq.push(['trackPageView']);
#+html_head: _paq.push(['enableLinkTracking']);
#+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(['setSiteId', '5']);
#+html_head: _paq.push(['setSiteId', '4']);
#+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: })();