Adding the Matomo Tracking code.

Signed-off-by: Arsharth <arsharth2000@gmail.com>
This commit is contained in:
Arsharth 2022-08-19 18:04:39 +05:30
parent 658dfd9f53
commit 1622d19571

View file

@ -38,6 +38,21 @@
<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 -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//matomo.mystiq.app/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
<body> <body>
<header> <header>
<nav> <nav>