fixed matomo console errors
This commit is contained in:
parent
c2f5f4941c
commit
419c6bd12f
@ -14,7 +14,7 @@
|
|||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
<title>Mind Overflow : Home</title>
|
<title>Mind Overflow : Home</title>
|
||||||
|
|
||||||
<script src="/scripts/matomo.js" type="text/javascript"></script>
|
<script src="/scripts/matomoData.js" type="text/javascript"></script>
|
||||||
<script src="/scripts/policy-popup.js" type="text/javascript"></script>
|
<script src="/scripts/policy-popup.js" type="text/javascript"></script>
|
||||||
<!-- Scripts End -->
|
<!-- Scripts End -->
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
<script src="/scripts/arrow-fade.js"></script>
|
<script src="/scripts/arrow-fade.js"></script>
|
||||||
|
|
||||||
<script src="/scripts/matomo.js" type="text/javascript"></script>
|
<script src="/scripts/matomoData.js" type="text/javascript"></script>
|
||||||
<script src="/scripts/policy-popup.js" type="text/javascript"></script>
|
<script src="/scripts/policy-popup.js" type="text/javascript"></script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
<script src="/scripts/arrow-fade.js"></script>
|
<script src="/scripts/arrow-fade.js"></script>
|
||||||
|
|
||||||
<script src="/scripts/matomo.js" type="text/javascript"></script>
|
<script src="/scripts/matomoData.js" type="text/javascript"></script>
|
||||||
<script src="/scripts/policy-popup.js" type="text/javascript"></script>
|
<script src="/scripts/policy-popup.js" type="text/javascript"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
<script src="/scripts/arrow-fade.js"></script>
|
<script src="/scripts/arrow-fade.js"></script>
|
||||||
|
|
||||||
<script src="/scripts/matomo.js" type="text/javascript"></script>
|
<script src="/scripts/matomoData.js" type="text/javascript"></script>
|
||||||
<script src="/scripts/policy-popup.js" type="text/javascript"></script>
|
<script src="/scripts/policy-popup.js" type="text/javascript"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
14
scripts/matomoData.js
Normal file
14
scripts/matomoData.js
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
// JavaScript Document
|
||||||
|
var _paq = window._paq || [];
|
||||||
|
// require user consent before processing data
|
||||||
|
_paq.push(['requireConsent']);
|
||||||
|
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||||
|
_paq.push(['trackPageView']);
|
||||||
|
_paq.push(['enableLinkTracking']);
|
||||||
|
(function() {
|
||||||
|
var u="//admin.mind-overflow.net/matomo/";
|
||||||
|
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
||||||
|
_paq.push(['setSiteId', '1']);
|
||||||
|
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||||
|
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
|
||||||
|
})();
|
Reference in New Issue
Block a user