Send tracks event when dashboard sections are renamed.

This commit is contained in:
Jeff Stieler 2019-07-10 17:02:37 -06:00
parent 314e6d90e0
commit c36bfe6026
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ class CustomizableDashboard extends Component {
onSectionTitleUpdate( updatedKey ) {
return updatedTitle => {
recordEvent( 'dash_section_rename', { key: updatedKey } );
this.updateSection( updatedKey, { title: updatedTitle } );
};
}