1
0
mirror of https://github.com/privacyguides/privacyguides.org.git synced 2025-07-23 20:01:08 +00:00

Remove Matomo (#2013)

This commit is contained in:
2020-08-12 10:08:41 -05:00
committed by GitHub
parent 31e34f0e3c
commit b715b9a730
4 changed files with 2 additions and 41 deletions

View File

@@ -94,24 +94,3 @@ if (
) {
fixThemeImages();
}
// Matomo
var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);
(function() {
var u = "https://stats.privacytools.io/";
_paq.push(["setTrackerUrl", u + "matomo.php"]);
_paq.push(["setSiteId", "1"]);
_paq.push(['setSecureCookie', true]);
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);
})();