File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
apps/remix-ide/src/assets/js Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,13 @@ 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- var secondaryTracker = 'https://remix-ethereum.matomo.cloud/matomo.php' ;
19- var secondaryWebsiteId = 1 ;
18+ if ( window . location . hostname === 'remix-beta.ethereum.org' ) {
19+ var secondaryTracker = 'https://remix-ethereum.matomo.cloud/matomo.php' ;
20+ var secondaryWebsiteId = 1 ;
2021
21- // Also send all of the tracking data to the new Matomo server
22- _paq . push ( [ 'addTracker' , secondaryTracker , secondaryWebsiteId ] ) ;
22+ // Send all of the tracking data to the secondary Matomo server
23+ _paq . push ( [ 'addTracker' , secondaryTracker , secondaryWebsiteId ] ) ;
24+ }
2325 var d = document , g = d . createElement ( 'script' ) , s = d . getElementsByTagName ( 'script' ) [ 0 ]
2426 g . type = 'text/javascript' ; g . async = true ; g . src = u + 'matomo.js' ; s . parentNode . insertBefore ( g , s )
2527 } ) ( )
You can’t perform that action at this time.
0 commit comments