Fix undefined derived_currency value for the track 'wcadmin_storeprofiler_store_details_continue' (https://github.com/woocommerce/woocommerce-admin/pull/8193)
* Fix undefined store_country value for the track wcadmin_storeprofiler_store_details_continue * Add changelog
This commit is contained in:
parent
b74600593e
commit
19e7345f01
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: Fix
|
||||||
|
|
||||||
|
Fix undefined derived_currency value for the track 'wcadmin_storeprofiler_store_details_continue'. #8193
|
|
@ -116,7 +116,7 @@ class StoreDetails extends Component {
|
||||||
|
|
||||||
recordEvent( 'storeprofiler_store_details_continue', {
|
recordEvent( 'storeprofiler_store_details_continue', {
|
||||||
store_country: getCountryCode( values.countryState ),
|
store_country: getCountryCode( values.countryState ),
|
||||||
derived_currency: currencySettings.currency_code,
|
derived_currency: currencySettings.code,
|
||||||
email_signup: values.isAgreeMarketing,
|
email_signup: values.isAgreeMarketing,
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue