Commit cce5199f4c9 for woocommerce
commit cce5199f4c9657d0d94d6454b5f8833c7dd5e537
Author: Ralf Wiechers <Drivingralle@users.noreply.github.com>
Date: Fri Jun 26 15:34:03 2026 +0200
Improve Settings Naming and Description for WooCommerce Analytics (#65887)
diff --git a/plugins/woocommerce/changelog/improve-woocommerce-analytics-settings-label b/plugins/woocommerce/changelog/improve-woocommerce-analytics-settings-label
new file mode 100644
index 00000000000..19b3d0932a8
--- /dev/null
+++ b/plugins/woocommerce/changelog/improve-woocommerce-analytics-settings-label
@@ -0,0 +1,4 @@
+Significance: patch
+Type: tweak
+
+Improve the label and description of the WooCommerce Analytics setting on the Features settings screen.
diff --git a/plugins/woocommerce/src/Internal/Features/FeaturesController.php b/plugins/woocommerce/src/Internal/Features/FeaturesController.php
index fa7b6facd16..0d9d2e92db5 100644
--- a/plugins/woocommerce/src/Internal/Features/FeaturesController.php
+++ b/plugins/woocommerce/src/Internal/Features/FeaturesController.php
@@ -294,8 +294,8 @@ class FeaturesController {
$legacy_features = array(
'analytics' => array(
- 'name' => __( 'Analytics', 'woocommerce' ),
- 'description' => __( 'Enable WooCommerce Analytics', 'woocommerce' ),
+ 'name' => __( 'WooCommerce Analytics', 'woocommerce' ),
+ 'description' => __( 'Enable WooCommerce Analytics to track your store\'s key metrics and view them in a detailed dashboard. All data stays within your store.', 'woocommerce' ),
'option_key' => Analytics::TOGGLE_OPTION_NAME,
'is_experimental' => false,
'enabled_by_default' => true,
diff --git a/plugins/woocommerce/tests/e2e/tests/api-tests/settings/settings-crud.test.ts b/plugins/woocommerce/tests/e2e/tests/api-tests/settings/settings-crud.test.ts
index ded0013386f..523dcf076be 100644
--- a/plugins/woocommerce/tests/e2e/tests/api-tests/settings/settings-crud.test.ts
+++ b/plugins/woocommerce/tests/e2e/tests/api-tests/settings/settings-crud.test.ts
@@ -1812,8 +1812,9 @@ test.describe( 'Settings API tests: CRUD', () => {
expect.arrayContaining( [
expect.objectContaining( {
id: 'woocommerce_analytics_enabled',
- label: 'Analytics',
- description: 'Enable WooCommerce Analytics',
+ label: 'WooCommerce Analytics',
+ description:
+ "Enable WooCommerce Analytics to track your store's key metrics and view them in a detailed dashboard. All data stays within your store.",
type: 'checkbox',
default: 'yes',
value: expect.any( String ),