| @@ -47,9 +47,10 @@ | ||
| 47 | 47 | public function ui_metadata(): array { |
| 48 | 48 | return array( |
| 49 | 49 | 'label' => __( 'AI Privacy', 'xspeed' ), |
| 50 | 50 | 'icon' => 'Shield', |
| 51 | - 'description' => __( 'Decide whether AI features may use your visitors\' data, and what the consent banner says. Applies even before you install Pro.', 'xspeed' ), | |
| 51 | + 'description' => __( 'Choose whether AI features may use visitor data, with or without Pro.', 'xspeed' ), | |
| 52 | + 'group' => 'ai-agents', | |
| 52 | 53 | ); |
| 53 | 54 | } |
| 54 | 55 | |
| 55 | 56 | /** |
| @@ -66,16 +67,16 @@ | ||
| 66 | 67 | return array( |
| 67 | 68 | 'gdpr_consent_required' => array( |
| 68 | 69 | 'type' => 'bool', |
| 69 | 70 | 'default' => true, |
| 70 | - 'label' => __( 'Require consent before AI data collection', 'xspeed' ), | |
| 71 | - 'description' => __( 'When ON, AI-powered features only record data after a visitor accepts the consent banner. When OFF, they collect from every visitor — only legal in regions without GDPR-style consent rules. The setting applies even if Pro is not installed (so a later Pro upgrade respects whichever choice you made): privacy is a fundamental right, not a paid feature.', 'xspeed' ), | |
| 71 | + 'label' => __( 'Ask visitors for consent', 'xspeed' ), | |
| 72 | + 'description' => __( 'When on, AI features only record a visitor\'s data after they accept the consent banner. Turn it off only where the law does not require consent, as GDPR does.', 'xspeed' ), | |
| 72 | 73 | ), |
| 73 | 74 | 'consent_banner_text' => array( |
| 74 | 75 | 'type' => 'string', |
| 75 | 76 | 'default' => 'We collect anonymized navigation and performance data to make this site faster. Accept to help us optimize your experience.', |
| 76 | 77 | 'label' => __( 'Consent banner text', 'xspeed' ), |
| 77 | - 'description' => __( 'Shown in the cookie consent banner. Keep it factual — what you collect (page navigation, performance metrics) and why.', 'xspeed' ), | |
| 78 | + 'description' => __( 'The text of the consent banner. Say plainly what you collect, such as page visits and speed data, and why.', 'xspeed' ), | |
| 78 | 79 | ), |
| 79 | 80 | ); |
| 80 | 81 | } |
| 81 | 82 | |