Send a tracks event when the dashboard chart type is toggled.
This commit is contained in:
parent
9e217fbcaf
commit
c820c92fe4
|
@ -43,6 +43,7 @@ class DashboardCharts extends Component {
|
|||
[ 'dashboard_chart_type' ]: chartType,
|
||||
};
|
||||
this.props.updateCurrentUserData( userDataFields );
|
||||
recordEvent( 'dash_charts_type_toggle', { chart_type: chartType } );
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue