Remove Matomo (#2013)

This commit is contained in:
Jonah Aragon 2020-08-12 10:08:41 -05:00 committed by GitHub
parent 31e34f0e3c
commit b715b9a730
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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);
})();