diff --git a/plugins/woocommerce-admin/client/dashboard/customizable.js b/plugins/woocommerce-admin/client/dashboard/customizable.js index 38b79d4a475..f0b818fb2ee 100644 --- a/plugins/woocommerce-admin/client/dashboard/customizable.js +++ b/plugins/woocommerce-admin/client/dashboard/customizable.js @@ -103,7 +103,9 @@ class CustomizableDashboard extends Component { toggledSection.isVisible = ! toggledSection.isVisible; sections.push( toggledSection ); - if ( ! toggledSection.isVisible ) { + if ( toggledSection.isVisible ) { + recordEvent( 'dash_section_add', { key: toggledSection.key } ); + } else { recordEvent( 'dash_section_remove', { key: toggledSection.key } ); }