Skip to content

Commit ae556cd

Browse files
committed
rm tracking
1 parent eb4a970 commit ae556cd

File tree

1 file changed

+0
-6
lines changed
  • libs/remix-ui/app/src/lib/remix-app/components/modals

1 file changed

+0
-6
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,7 @@ const MatomoDialog = (props: MatomoDialogProps) => {
6464
}
6565

6666
useEffect(() => {
67-
_paq.push(['trackEvent', 'Matomo', 'visible', visible])
68-
_paq.push(['trackEvent', 'Matomo', 'show', showMatomo])
6967
if (visible && showMatomo) {
70-
console.log('show matomo dialog')
7168
modal({
7269
id: 'matomoModal',
7370
title: <FormattedMessage id="remixApp.matomoTitle" />,
@@ -79,12 +76,9 @@ const MatomoDialog = (props: MatomoDialogProps) => {
7976
preventBlur: true
8077
})
8178
}
82-
console.log('visible', visible)
8379
}, [visible])
8480

8581
const declineModal = async (reason: AppModalCancelTypes) => {
86-
console.log('declineModal', reason)
87-
_paq.push(['trackEvent', 'Matomo', 'decline', reason])
8882
if (reason === AppModalCancelTypes.click || reason === AppModalCancelTypes.enter) {
8983
settings.updateMatomoAnalyticsChoice(false)
9084
// revoke tracking consent

0 commit comments

Comments
 (0)