forked from mystiq/website
fix: matomo website integration 1
Signed-off-by: Arsharth <arsharth2000@gmail.com>
This commit is contained in:
parent
490b8289e5
commit
c3243c142f
1 changed files with 7 additions and 0 deletions
|
@ -38,10 +38,16 @@
|
|||
<link rel="manifest" href="/site.webmanifest" />
|
||||
<title>Mystiq | Hyper-localized Social Media</title>
|
||||
</head>
|
||||
|
||||
<!-- Matomo -->
|
||||
<script>
|
||||
var _paq = window._paq = window._paq || [];
|
||||
/* 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(['enableLinkTracking']);
|
||||
(function() {
|
||||
|
@ -52,6 +58,7 @@
|
|||
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
<noscript><p><img src="//matomo.mystiq.app/matomo.php?idsite=2&rec=1" style="border:0;" alt="" /></p></noscript>
|
||||
<!-- End Matomo Code -->
|
||||
|
||||
<body>
|
||||
|
|
Loading…
Reference in a new issue