Send tracks event when historical data is deleted.
This commit is contained in:
parent
e5424fdd4d
commit
562a1a231d
|
@ -18,6 +18,7 @@ import { stringifyQuery } from '@woocommerce/navigation';
|
|||
*/
|
||||
import { formatParams } from './utils';
|
||||
import HistoricalDataLayout from './layout';
|
||||
import { recordEvent } from 'lib/tracks';
|
||||
|
||||
class HistoricalData extends Component {
|
||||
constructor() {
|
||||
|
@ -100,6 +101,7 @@ class HistoricalData extends Component {
|
|||
this.setState( {
|
||||
activeImport: false,
|
||||
} );
|
||||
recordEvent( 'analytics_import_delete_previous' );
|
||||
}
|
||||
|
||||
onReimportData() {
|
||||
|
|
Loading…
Reference in New Issue