File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
libs/remix-ui/app/src/lib/remix-app/components/modals Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -64,10 +64,7 @@ const MatomoDialog = (props: MatomoDialogProps) => {
64
64
}
65
65
66
66
useEffect ( ( ) => {
67
- _paq . push ( [ 'trackEvent' , 'Matomo' , 'visible' , visible ] )
68
- _paq . push ( [ 'trackEvent' , 'Matomo' , 'show' , showMatomo ] )
69
67
if ( visible && showMatomo ) {
70
- console . log ( 'show matomo dialog' )
71
68
modal ( {
72
69
id : 'matomoModal' ,
73
70
title : < FormattedMessage id = "remixApp.matomoTitle" /> ,
@@ -79,12 +76,9 @@ const MatomoDialog = (props: MatomoDialogProps) => {
79
76
preventBlur : true
80
77
} )
81
78
}
82
- console . log ( 'visible' , visible )
83
79
} , [ visible ] )
84
80
85
81
const declineModal = async ( reason : AppModalCancelTypes ) => {
86
- console . log ( 'declineModal' , reason )
87
- _paq . push ( [ 'trackEvent' , 'Matomo' , 'decline' , reason ] )
88
82
if ( reason === AppModalCancelTypes . click || reason === AppModalCancelTypes . enter ) {
89
83
settings . updateMatomoAnalyticsChoice ( false )
90
84
// revoke tracking consent
You can’t perform that action at this time.
0 commit comments