Skip to content

Commit 559d3d4

Browse files
committed
matomo for live
1 parent e63b22b commit 559d3d4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

apps/remix-ide/src/assets/js/loader.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ if (domains[window.location.hostname]) {
1515
var u = "https://matomo.ethereum.org/";
1616
_paq.push(['setTrackerUrl', u + 'matomo.php'])
1717
_paq.push(['setSiteId', domains[window.location.hostname]])
18-
if (window.location.hostname === 'remix-beta.ethereum.org') {
18+
// Send all of the Remix live tracking data to the secondary Matomo server
19+
if (window.location.hostname === 'remix.ethereum.org') {
1920
var secondaryTracker = 'https://remix-ethereum.matomo.cloud/matomo.php';
2021
var secondaryWebsiteId = 1;
21-
22-
// Send all of the tracking data to the secondary Matomo server
2322
_paq.push(['addTracker', secondaryTracker, secondaryWebsiteId]);
2423
}
2524
var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0]

0 commit comments

Comments
 (0)