From c36bfe6026adb580d2c6ab58abfab63f8558ff7e Mon Sep 17 00:00:00 2001 From: Jeff Stieler Date: Wed, 10 Jul 2019 17:02:37 -0600 Subject: [PATCH] Send tracks event when dashboard sections are renamed. --- plugins/woocommerce-admin/client/dashboard/customizable.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/woocommerce-admin/client/dashboard/customizable.js b/plugins/woocommerce-admin/client/dashboard/customizable.js index f0b818fb2ee..d4bfd61c9bc 100644 --- a/plugins/woocommerce-admin/client/dashboard/customizable.js +++ b/plugins/woocommerce-admin/client/dashboard/customizable.js @@ -86,6 +86,7 @@ class CustomizableDashboard extends Component { onSectionTitleUpdate( updatedKey ) { return updatedTitle => { + recordEvent( 'dash_section_rename', { key: updatedKey } ); this.updateSection( updatedKey, { title: updatedTitle } ); }; }