Send tracks event when advanced filter match type is changed.
This commit is contained in:
parent
a13487265c
commit
ce731b958a
|
@ -54,6 +54,9 @@ export default class ReportFilters extends Component {
|
|||
case 'clear_all':
|
||||
recordEvent( 'analytics_filters_clear_all', { report } );
|
||||
break;
|
||||
case 'match':
|
||||
recordEvent( 'analytics_filters_all_any', { report, value: data.match } );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -75,7 +75,11 @@ class AdvancedFilters extends Component {
|
|||
}
|
||||
|
||||
onMatchChange( match ) {
|
||||
const { onAdvancedFilterAction } = this.props;
|
||||
|
||||
this.setState( { match } );
|
||||
|
||||
onAdvancedFilterAction( 'match', { match } );
|
||||
}
|
||||
|
||||
onFilterChange( key, property, value ) {
|
||||
|
|
Loading…
Reference in New Issue