mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2025-06-08 06:42:50 -04:00
Remove Matomo (#2013)
This commit is contained in:
parent
31e34f0e3c
commit
b715b9a730
4 changed files with 2 additions and 41 deletions
|
@ -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);
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue