forked from mystiq/website
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:
commit
5c99bbfc54
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" />
|
<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>
|
||||||
|
|
Loading…
Reference in a new issue