Merge pull request #4002 from ethereum/rmMatomoCode

Rm matomo code for master
pull/4003/head
Aniket 1 year ago committed by GitHub
commit b11b116237
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      apps/remix-ide/src/assets/js/loader.js

@ -30,10 +30,6 @@ if (domains[window.location.hostname]) {
var u = "https://ethereumfoundation.matomo.cloud/"; var u = "https://ethereumfoundation.matomo.cloud/";
_paq.push(['setTrackerUrl', u + 'matomo.php']); _paq.push(['setTrackerUrl', u + 'matomo.php']);
_paq.push(['setSiteId', domains[window.location.hostname]]); _paq.push(['setSiteId', domains[window.location.hostname]]);
// Send all of the Remix tracking data to the secondary Matomo server (the EF one).
var secondaryTracker = 'https://matomo.ethereum.org/matomo.php';
var secondaryWebsiteId = domainsSecondaryTracker[window.location.hostname];
_paq.push(['addTracker', secondaryTracker, secondaryWebsiteId]);
var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0]; var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
g.async = true; g.src = '//cdn.matomo.cloud/ethereumfoundation.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s); g.async = true; g.src = '//cdn.matomo.cloud/ethereumfoundation.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
})() })()

Loading…
Cancel
Save