File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
apps/remix-ide/src/assets/js Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,19 @@ const domains = {
44 'remix.ethereum.org' : 23 ,
55 '6fd22d6fe5549ad4c4d8fd3ca0b7816b.mod' : 35 // remix desktop
66}
7+
78if ( domains [ window . location . hostname ] ) {
89 var _paq = window . _paq = window . _paq || [ ]
910 /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
1011 _paq . push ( [ 'disableCookies' ] ) ;
1112 _paq . push ( [ 'enableJSErrorTracking' ] ) ;
1213 _paq . push ( [ 'trackPageView' ] ) ;
1314 _paq . push ( [ 'enableLinkTracking' ] ) ;
15+
16+ if ( ! ( window . localStorage . getItem ( 'config-v0.8:.remix.config' ) ) ||
17+ ( ( window . localStorage . getItem ( 'config-v0.8:.remix.config' ) ) && ! ( window . localStorage . getItem ( 'config-v0.8:.remix.config' ) ) . includes ( 'settings/matomo-analytics' ) ) ) {
18+ _paq . push ( [ 'optUserOut' ] )
19+ }
1420 ( function ( ) {
1521 var u = "https://matomo.ethereum.org/" ;
1622 _paq . push ( [ 'setTrackerUrl' , u + 'matomo.php' ] )
You can’t perform that action at this time.
0 commit comments