Adding the Matomo Tracking code.
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
Signed-off-by: Arsharth <arsharth2000@gmail.com>
This commit is contained in:
parent
658dfd9f53
commit
1622d19571
1 changed files with 15 additions and 0 deletions
15
index.html
15
index.html
|
@ -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>
|
||||
|
|
Reference in a new issue