Merge pull request 'Adding the Matomo Tracking code.' (#1) from Arsharth/website:master into master

Reviewed-on: mystiq/website#1
This commit is contained in:
Aravinth Manivannan 2022-08-19 18:05:42 +05:30
commit 5c99bbfc54

View file

@ -38,6 +38,21 @@
<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(['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>
<header>
<nav>