Update analytics code
Still respect GRPD laws, I’m just modifying stuff server-side.
This commit is contained in:
parent
ea3b2fa2d5
commit
d7688d2baa
@ -31,26 +31,23 @@
|
|||||||
#+html_head: <link rel="shortcut icon" href="https://langue.phundrak.com/img/icon.png" type="img/png" media="screen" />
|
#+html_head: <link rel="shortcut icon" href="https://langue.phundrak.com/img/icon.png" type="img/png" media="screen" />
|
||||||
#+html_head: <link rel="apple-touch-icon" href="https://langue.phundrak.com/img/icon.png" />
|
#+html_head: <link rel="apple-touch-icon" href="https://langue.phundrak.com/img/icon.png" />
|
||||||
#+html_head: <script defer src="https://langue.phundrak.com/dart/main.dart.js"></script>
|
#+html_head: <script defer src="https://langue.phundrak.com/dart/main.dart.js"></script>
|
||||||
|
|
||||||
#+html_head: <!-- Matomo -->
|
#+html_head: <!-- Matomo -->
|
||||||
#+html_head: <script type="text/javascript">
|
#+html_head: <script>
|
||||||
#+html_head: var _paq = window._paq = window._paq || [];
|
#+html_head: var _paq = window._paq = window._paq || [];
|
||||||
#+html_head: /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
#+html_head: /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||||
#+html_head: _paq.push(['requireConsent']);
|
|
||||||
#+html_head: _paq.push(['trackPageview']);
|
|
||||||
#+html_head: _paq.push(['setConsentGiven']);
|
|
||||||
#+html_head: _paq.push(['rememberConsentGiven'])
|
|
||||||
#+html_head: _paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
|
#+html_head: _paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
|
||||||
#+html_head: _paq.push(["setCookieDomain", "*.phundrak.com"]);
|
#+html_head: _paq.push(["setCookieDomain", "*.conlang.phundrak.com"]);
|
||||||
#+html_head: _paq.push(["setDomains", ["*.phundrak.com","*.blog.phundrak.com","*.config.phundrak.com","*.langue.phundrak.com"]]);
|
#+html_head: _paq.push(["setDomains", ["*.conlang.phundrak.com","*.config.phundrak.com","*.langue.phundrak.com","*.phundrak.com"]]);
|
||||||
#+html_head: _paq.push(["setDoNotTrack", true]);
|
#+html_head: _paq.push(["enableCrossDomainLinking"]);
|
||||||
#+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="//matomo.phundrak.com/";
|
||||||
#+html_head: _paq.push(['setTrackerUrl', u+'matomo.php']);
|
#+html_head: _paq.push(['setTrackerUrl', u+'matomo.php']);
|
||||||
#+html_head: _paq.push(['setSiteId', '3']);
|
#+html_head: _paq.push(['setSiteId', '5']);
|
||||||
#+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.type='text/javascript'; 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: })();
|
||||||
#+html_head: </script>
|
#+html_head: </script>
|
||||||
#+html_head: <!-- End Matomo Code -->
|
#+html_head: <!-- End Matomo Code -->
|
||||||
|
Reference in New Issue
Block a user