fix: matomo website integration 1

Signed-off-by: Arsharth <arsharth2000@gmail.com>
This commit is contained in:
Arsharth 2022-08-19 18:27:06 +05:30
parent 490b8289e5
commit c3243c142f

View file

@ -38,10 +38,16 @@
<link rel="manifest" href="/site.webmanifest" /> <link rel="manifest" href="/site.webmanifest" />
<title>Mystiq | Hyper-localized Social Media</title> <title>Mystiq | Hyper-localized Social Media</title>
</head> </head>
<!-- Matomo --> <!-- Matomo -->
<script> <script>
var _paq = window._paq = window._paq || []; var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */ /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
_paq.push(["setCookieDomain", "*.mysitq.app"]);
_paq.push(["setDomains", ["*.mysitq.app","*.mysitq.chat","*.mysitq.club"]]);
_paq.push(["setDoNotTrack", true]);
_paq.push(["disableCookies"]);
_paq.push(['trackPageView']); _paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']); _paq.push(['enableLinkTracking']);
(function() { (function() {
@ -52,6 +58,7 @@
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})(); })();
</script> </script>
<noscript><p><img src="//matomo.mystiq.app/matomo.php?idsite=2&amp;rec=1" style="border:0;" alt="" /></p></noscript>
<!-- End Matomo Code --> <!-- End Matomo Code -->
<body> <body>