File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
apps/remix-ide/src/assets/js Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 11const domains = {
22 'remix-alpha.ethereum.org' : 27 ,
3- 'remix-beta.ethereum.org' : 1 ,
3+ 'remix-beta.ethereum.org' : 25 ,
44 'remix.ethereum.org' : 23 ,
55 '6fd22d6fe5549ad4c4d8fd3ca0b7816b.mod' : 35 // remix desktop
66}
@@ -12,9 +12,14 @@ if (domains[window.location.hostname]) {
1212 _paq . push ( [ 'trackPageView' ] ) ;
1313 _paq . push ( [ 'enableLinkTracking' ] ) ;
1414 ( function ( ) {
15- var u = "https://remix-ethereum. matomo.cloud/matomo.php " ;
15+ 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 ;
20+
21+ // Also send all of the tracking data to the new Matomo server
22+ _paq . push ( [ 'addTracker' , secondaryTracker , secondaryWebsiteId ] ) ;
1823 var d = document , g = d . createElement ( 'script' ) , s = d . getElementsByTagName ( 'script' ) [ 0 ]
1924 g . type = 'text/javascript' ; g . async = true ; g . src = u + 'matomo.js' ; s . parentNode . insertBefore ( g , s )
2025 } ) ( )
You can’t perform that action at this time.
0 commit comments