Skip to content

Commit 69d226b

Browse files
authored
Merge pull request #4277 from ethereum/remove_matomo_settings
disable cookie setting matomo
2 parents 18b45da + fb61693 commit 69d226b

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

libs/remix-ui/app/src/lib/remix-app/components/modals/matomo.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ const MatomoDialog = (props) => {
6767

6868
const handleModalOkClick = async () => {
6969
_paq.push(['forgetUserOptOut'])
70-
// @TODO remove next line when https://github.com/matomo-org/matomo/commit/9e10a150585522ca30ecdd275007a882a70c6df5 is used
71-
document.cookie = 'mtm_consent_removed=; expires=Thu, 01 Jan 1970 00:00:01 GMT;'
7270
settings.updateMatomoAnalyticsChoice(true)
7371
appManager.call('walkthrough', 'start')
7472
setVisible(false)

libs/remix-ui/settings/src/lib/settingsAction.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ export const useMatomoAnalytics = (config, checked, dispatch) => {
4444
dispatch({ type: 'useMatomoAnalytics', payload: { isChecked: checked, textClass: checked ? textDark : textSecondary } })
4545
if (checked) {
4646
_paq.push(['forgetUserOptOut'])
47-
// @TODO remove next line when https://github.com/matomo-org/matomo/commit/9e10a150585522ca30ecdd275007a882a70c6df5 is used
48-
document.cookie = 'mtm_consent_removed=; expires=Thu, 01 Jan 1970 00:00:01 GMT;'
4947
} else {
5048
_paq.push(['optUserOut'])
5149
}

0 commit comments

Comments
 (0)