diff --git a/plugins/woocommerce-admin/changelogs/fix-7569-undefined-currency-code b/plugins/woocommerce-admin/changelogs/fix-7569-undefined-currency-code new file mode 100644 index 00000000000..10430ee0fad --- /dev/null +++ b/plugins/woocommerce-admin/changelogs/fix-7569-undefined-currency-code @@ -0,0 +1,4 @@ +Significance: patch +Type: Fix + +Fix undefined derived_currency value for the track 'wcadmin_storeprofiler_store_details_continue'. #8193 diff --git a/plugins/woocommerce-admin/client/profile-wizard/steps/store-details/index.js b/plugins/woocommerce-admin/client/profile-wizard/steps/store-details/index.js index bc2dc6e4cf6..1ddeae95f6f 100644 --- a/plugins/woocommerce-admin/client/profile-wizard/steps/store-details/index.js +++ b/plugins/woocommerce-admin/client/profile-wizard/steps/store-details/index.js @@ -116,7 +116,7 @@ class StoreDetails extends Component { recordEvent( 'storeprofiler_store_details_continue', { store_country: getCountryCode( values.countryState ), - derived_currency: currencySettings.currency_code, + derived_currency: currencySettings.code, email_signup: values.isAgreeMarketing, } );