diff --git a/help-link-tracking.js b/help-link-tracking.js index a3ae7544e..233704ece 100644 --- a/help-link-tracking.js +++ b/help-link-tracking.js @@ -8,6 +8,7 @@ var locales = ["en", "zh", "ru", "de", "fr", "es", "it", "ja", "tr", "uk", "ar"]; // Keep this public product catalog in sync with the website arrival validator. var productRoutes = [ + "customer-feedback-analysis", "custom-inventory-management", "employee-database", "products", diff --git a/scripts/test_help_link_tracking.cjs b/scripts/test_help_link_tracking.cjs index 20555cfac..df8edee45 100644 --- a/scripts/test_help_link_tracking.cjs +++ b/scripts/test_help_link_tracking.cjs @@ -44,7 +44,7 @@ function runtime(links = [], href = 'https://help.teable.ai/zh/basic/ai/overview test('trusted public official links retain security and other rel tokens', () => { for (const host of ['teable.ai', 'www.teable.ai', 'teable.cn', 'www.teable.cn']) { - for (const segment of ['ai-app-builder', 'custom-inventory-management', 'zh/custom-inventory-management', 'zh/compare/airtable', 'blog/example', 'customers/example']) { + for (const segment of ['customer-feedback-analysis', 'zh/customer-feedback-analysis', 'ar/customer-feedback-analysis', 'ai-app-builder', 'custom-inventory-management', 'zh/custom-inventory-management', 'zh/compare/airtable', 'blog/example', 'customers/example']) { const link = anchor(`https://${host}/${segment}?utm_source=existing#section`, 'nofollow NoReferrer sponsored'); runtime([link]); assert.equal(link.getAttribute('rel'), 'nofollow sponsored noopener');