Send a tracks event when the dashboard chart type is toggled.

This commit is contained in:
Jeff Stieler 2019-07-11 08:55:52 -06:00
parent 9e217fbcaf
commit c820c92fe4
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ class DashboardCharts extends Component {
[ 'dashboard_chart_type' ]: chartType,
};
this.props.updateCurrentUserData( userDataFields );
recordEvent( 'dash_charts_type_toggle', { chart_type: chartType } );
};
}