WooCommerce Order Source Attribution helps merchants understand which marketing activities, channels or campaigns are leading to orders in their stores.
A review on WCCOM PR (https://github.com/Automattic/woocommerce.com/pull/16156) has pointed out that we're performing the same if check: ! wccom || ! wccom.canTrackUser( 'analytics' ) twice. This PR removed the extra if check.
Changes proposed in this Pull Request:
A review on WCCOM PR (https://github.com/Automattic/woocommerce.com/pull/16156) has pointed out that we're performing the same
if
check:! wccom || ! wccom.canTrackUser( 'analytics' )
twice. This PR removed the extraif
check.Changelog entry