Skip to content

Commit 4a72e85

Browse files
ci-botyann300
authored andcommitted
remove matomo keys
1 parent 6976575 commit 4a72e85

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

apps/learneth/src/redux/models/workshop.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,10 @@ const Model: ModelType = {
184184
}
185185
}
186186
}
187-
(<any>window)._paq.push(['trackEvent', 'learneth', 'load_repo', payload.name])
187+
// we don't need to track the default repos
188+
if (payload.name !== 'ethereum/remix-workshops' && payload.name !== 'remix-project-org/remix-workshops') {
189+
(<any>window)._paq.push(['trackEvent', 'learneth', 'load_repo', payload.name])
190+
}
188191
},
189192
*resetAll({ payload }, { put }) {
190193
yield put({

apps/remix-ide/src/app/components/preload.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import './styles/preload.css'
1010
import isElectron from 'is-electron'
1111
const _paq = (window._paq = window._paq || [])
1212

13-
_paq.push(['trackEvent', 'App', 'Preload', 'start'])
13+
// _paq.push(['trackEvent', 'App', 'Preload', 'start'])
1414

1515
export const Preload = (props: any) => {
1616
const [tip, setTip] = useState<string>('')

apps/remix-ide/src/app/plugins/storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class StoragePlugin extends Plugin {
2323
}
2424
}
2525
const _paq = (window as any)._paq = (window as any)._paq || []
26-
_paq.push(['trackEvent', 'Storage', 'used', this.formatString(storage)]);
26+
// _paq.push(['trackEvent', 'Storage', 'used', this.formatString(storage)]);
2727
return storage
2828
}
2929

libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
483483
compileIcon.current.classList.remove('remixui_spinningIcon')
484484
compileIcon.current.classList.remove('remixui_bouncingIcon')
485485
if (!state.autoCompile || (state.autoCompile && state.matomoAutocompileOnce)) {
486-
_paq.push(['trackEvent', 'compiler', 'compiled', 'solCompilationFinishedTriggeredByUser'])
486+
// _paq.push(['trackEvent', 'compiler', 'compiled', 'solCompilationFinishedTriggeredByUser'])
487487
_paq.push(['trackEvent', 'compiler', 'compiled', 'with_config_file_' + state.useFileConfiguration])
488488
_paq.push(['trackEvent', 'compiler', 'compiled', 'with_version_' + _retrieveVersion()])
489489
if (state.autoCompile && state.matomoAutocompileOnce) {

0 commit comments

Comments
 (0)