From 6dbe6c579b8a39ea041d34235a000db640328c16 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miguel=20P=C3=A9rez=20Pellicer?=
<5908855+puntope@users.noreply.github.com>
Date: Fri, 2 Aug 2024 10:46:43 +0400
Subject: [PATCH 01/10] Replace General requirements URL
---
.../google-account-card/connect-google-account-card.js | 2 +-
js/src/components/google-account-card/read-more-link.js | 2 +-
.../request-full-access-google-account-card.js | 2 +-
src/Tracking/README.md | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/js/src/components/google-account-card/connect-google-account-card.js b/js/src/components/google-account-card/connect-google-account-card.js
index e8edf1f275..45c6fe04f0 100644
--- a/js/src/components/google-account-card/connect-google-account-card.js
+++ b/js/src/components/google-account-card/connect-google-account-card.js
@@ -18,7 +18,7 @@ import useGoogleConnectFlow from './use-google-connect-flow';
* @param {boolean} props.disabled
* @fires gla_google_account_connect_button_click with `{ action: 'authorization', context: 'reconnect' }`
* @fires gla_google_account_connect_button_click with `{ action: 'authorization', context: 'setup-mc' }`
- * @fires gla_documentation_link_click with `{ context: 'setup-mc-accounts', link_id: 'required-google-permissions', href: 'https://woocommerce.com/document/google-listings-and-ads/#required-google-permissions' }`
+ * @fires gla_documentation_link_click with `{ context: 'setup-mc-accounts', link_id: 'required-google-permissions', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#general-requirements' }`
*/
const ConnectGoogleAccountCard = ( { disabled } ) => {
const pageName = glaData.mcSetupComplete ? 'reconnect' : 'setup-mc';
diff --git a/js/src/components/google-account-card/read-more-link.js b/js/src/components/google-account-card/read-more-link.js
index 5648ac4068..3605b29529 100644
--- a/js/src/components/google-account-card/read-more-link.js
+++ b/js/src/components/google-account-card/read-more-link.js
@@ -7,7 +7,7 @@ const readMoreLink = (
);
diff --git a/js/src/components/google-account-card/request-full-access-google-account-card.js b/js/src/components/google-account-card/request-full-access-google-account-card.js
index 9a5e88ad39..a58031b77f 100644
--- a/js/src/components/google-account-card/request-full-access-google-account-card.js
+++ b/js/src/components/google-account-card/request-full-access-google-account-card.js
@@ -21,7 +21,7 @@ import './request-full-access-google-account-card.scss';
* @param {string} props.additionalScopeEmail Specify the email to be requested additional permission scopes to Google.
* @fires gla_google_account_connect_button_click with `{ action: 'scope', context: 'reconnect' }`
* @fires gla_google_account_connect_button_click with `{ action: 'scope', context: 'setup-mc' }`
- * @fires gla_documentation_link_click with `{ context: 'setup-mc-accounts', link_id: 'required-google-permissions', href: 'https://woocommerce.com/document/google-listings-and-ads/#required-google-permissions' }`
+ * @fires gla_documentation_link_click with `{ context: 'setup-mc-accounts', link_id: 'required-google-permissions', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#general-requirements' }`
*/
const RequestFullAccessGoogleAccountCard = ( { additionalScopeEmail } ) => {
const pageName = glaData.mcSetupComplete ? 'reconnect' : 'setup-mc';
diff --git a/src/Tracking/README.md b/src/Tracking/README.md
index 89d8094924..18a1f107ba 100644
--- a/src/Tracking/README.md
+++ b/src/Tracking/README.md
@@ -324,7 +324,7 @@ When a documentation link is clicked.
- [`AppDocumentationLink`](../../js/src/components/app-documentation-link/index.js#L29)
- [`ChooseAudienceSection`](../../js/src/components/free-listings/choose-audience-section/choose-audience-section.js#L29) with `{ context: 'setup-mc-audience', link_id: 'site-language', href: 'https://support.google.com/merchants/answer/160637' }`
- [`ConnectAds`](../../js/src/components/google-ads-account-card/connect-ads/index.js#L42) with `{ context: 'setup-ads-connect-account', link_id: 'connect-sub-account', href: 'https://support.google.com/google-ads/answer/6139186' }`
-- [`ConnectGoogleAccountCard`](../../js/src/components/google-account-card/connect-google-account-card.js#L23) with `{ context: 'setup-mc-accounts', link_id: 'required-google-permissions', href: 'https://woocommerce.com/document/google-listings-and-ads/#required-google-permissions' }`
+- [`ConnectGoogleAccountCard`](../../js/src/components/google-account-card/connect-google-account-card.js#L23) with `{ context: 'setup-mc-accounts', link_id: 'required-google-permissions', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#general-requirements' }`
- [`ContactInformation`](../../js/src/components/contact-information/index.js#L91)
- with `{ context: 'setup-mc-contact-information', link_id: 'contact-information-read-more', href: 'https://woocommerce.com/document/google-listings-and-ads/#contact-information' }`
- with `{ context: 'settings-no-phone-number-notice', link_id: 'contact-information-read-more', href: 'https://woocommerce.com/document/google-listings-and-ads/#contact-information' }`
@@ -354,7 +354,7 @@ When a documentation link is clicked.
- [`IssuesTableDataModal`](../../js/src/product-feed/issues-table-card/issues-table-data-modal.js#L21) with { context: 'issues-data-table-modal' }
- [`ProductStatusHelpPopover`](../../js/src/product-feed/product-statistics/product-status-help-popover/index.js#L16) with `{ context: 'product-feed', link_id: 'product-sync-statuses', href: 'https://support.google.com/merchants/answer/160491' }`
- [`ReclaimUrlCard`](../../js/src/components/google-mc-account-card/reclaim-url-card/index.js#L41) with `{ context: 'setup-mc', link_id: 'claim-url', href: 'https://support.google.com/merchants/answer/176793' }`
-- [`RequestFullAccessGoogleAccountCard`](../../js/src/components/google-account-card/request-full-access-google-account-card.js#L26) with `{ context: 'setup-mc-accounts', link_id: 'required-google-permissions', href: 'https://woocommerce.com/document/google-listings-and-ads/#required-google-permissions' }`
+- [`RequestFullAccessGoogleAccountCard`](../../js/src/components/google-account-card/request-full-access-google-account-card.js#L26) with `{ context: 'setup-mc-accounts', link_id: 'required-google-permissions', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#general-requirements' }`
- [`ShippingRateSection`](../../js/src/components/shipping-rate-section/shipping-rate-section.js#L23)
- with `{ context: 'setup-mc-shipping', link_id: 'shipping-read-more', href: 'https://support.google.com/merchants/answer/7050921' }`
- with `{ context: 'setup-mc-shipping', link_id: 'shipping-manual', href: 'https://www.google.com/retail/solutions/merchant-center/' }`
From 4da01bc3cd2aab65d9a28156be22006620e22217 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miguel=20P=C3=A9rez=20Pellicer?=
<5908855+puntope@users.noreply.github.com>
Date: Fri, 2 Aug 2024 10:47:23 +0400
Subject: [PATCH 02/10] Replace Contact Information URL
---
js/src/components/contact-information/index.js | 8 ++++----
js/src/settings/edit-phone-number.js | 4 ++--
js/src/settings/edit-store-address.js | 4 ++--
src/Tracking/README.md | 10 +++++-----
.../setup-mc/step-3-confirm-store-requirements.test.js | 2 +-
5 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/js/src/components/contact-information/index.js b/js/src/components/contact-information/index.js
index 834d5f5e5f..fb3c01f781 100644
--- a/js/src/components/contact-information/index.js
+++ b/js/src/components/contact-information/index.js
@@ -20,7 +20,7 @@ import usePhoneNumberCheckTrackEventEffect from './usePhoneNumberCheckTrackEvent
const learnMoreLinkId = 'contact-information-read-more';
const learnMoreUrl =
- 'https://woocommerce.com/document/google-listings-and-ads/#contact-information';
+ 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#contact-information';
const description = (
<>
@@ -84,9 +84,9 @@ export function ContactInformationPreview() {
*
* @param {Object} props React props.
* @param {Function} [props.onPhoneNumberVerified] Called when the phone number is verified or has been verified.
- * @fires gla_documentation_link_click with `{ context: 'setup-mc-contact-information', link_id: 'contact-information-read-more', href: 'https://woocommerce.com/document/google-listings-and-ads/#contact-information' }`
- * @fires gla_documentation_link_click with `{ context: 'settings-no-phone-number-notice', link_id: 'contact-information-read-more', href: 'https://woocommerce.com/document/google-listings-and-ads/#contact-information' }`
- * @fires gla_documentation_link_click with `{ context: 'settings-no-store-address-notice', link_id: 'contact-information-read-more', href: 'https://woocommerce.com/document/google-listings-and-ads/#contact-information' }`
+ * @fires gla_documentation_link_click with `{ context: 'setup-mc-contact-information', link_id: 'contact-information-read-more', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#contact-information' }`
+ * @fires gla_documentation_link_click with `{ context: 'settings-no-phone-number-notice', link_id: 'contact-information-read-more', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#contact-information' }`
+ * @fires gla_documentation_link_click with `{ context: 'settings-no-store-address-notice', link_id: 'contact-information-read-more', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#contact-information' }`
*/
const ContactInformation = ( { onPhoneNumberVerified } ) => {
const { adapter } = useAdaptiveFormContext();
diff --git a/js/src/settings/edit-phone-number.js b/js/src/settings/edit-phone-number.js
index a267cbc1b6..f038fdef38 100644
--- a/js/src/settings/edit-phone-number.js
+++ b/js/src/settings/edit-phone-number.js
@@ -18,13 +18,13 @@ import usePhoneNumberCheckTrackEventEffect from '.~/components/contact-informati
const learnMoreLinkId = 'contact-information-read-more';
const learnMoreUrl =
- 'https://woocommerce.com/document/google-listings-and-ads/#contact-information';
+ 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#contact-information';
/**
* Renders the phone number settings page.
*
* @see PhoneNumberCard
- * @fires gla_documentation_link_click with `{ context: "settings-phone-number", link_id: "contact-information-read-more", href: "https://woocommerce.com/document/google-listings-and-ads/#contact-information" }`
+ * @fires gla_documentation_link_click with `{ context: "settings-phone-number", link_id: "contact-information-read-more", href: "https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#contact-information" }`
*/
const EditPhoneNumber = () => {
const phone = useGoogleMCPhoneNumber();
diff --git a/js/src/settings/edit-store-address.js b/js/src/settings/edit-store-address.js
index 28392f4ce8..42b8cbac9c 100644
--- a/js/src/settings/edit-store-address.js
+++ b/js/src/settings/edit-store-address.js
@@ -23,7 +23,7 @@ import StoreAddressCard from '.~/components/contact-information/store-address-ca
const learnMoreLinkId = 'contact-information-read-more';
const learnMoreUrl =
- 'https://woocommerce.com/document/google-listings-and-ads/#contact-information';
+ 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#contact-information';
/**
* Triggered when the save button in contact information page is clicked.
@@ -36,7 +36,7 @@ const learnMoreUrl =
*
* @see StoreAddressCard
* @fires gla_contact_information_save_button_click
- * @fires gla_documentation_link_click with `{ context: "settings-store-address", link_id: "contact-information-read-more", href: "https://woocommerce.com/document/google-listings-and-ads/#contact-information" }`
+ * @fires gla_documentation_link_click with `{ context: "settings-store-address", link_id: "contact-information-read-more", href: "https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#contact-information" }`
*/
const EditStoreAddress = () => {
useLayout( 'full-content' );
diff --git a/src/Tracking/README.md b/src/Tracking/README.md
index 18a1f107ba..40715071b1 100644
--- a/src/Tracking/README.md
+++ b/src/Tracking/README.md
@@ -326,15 +326,15 @@ When a documentation link is clicked.
- [`ConnectAds`](../../js/src/components/google-ads-account-card/connect-ads/index.js#L42) with `{ context: 'setup-ads-connect-account', link_id: 'connect-sub-account', href: 'https://support.google.com/google-ads/answer/6139186' }`
- [`ConnectGoogleAccountCard`](../../js/src/components/google-account-card/connect-google-account-card.js#L23) with `{ context: 'setup-mc-accounts', link_id: 'required-google-permissions', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#general-requirements' }`
- [`ContactInformation`](../../js/src/components/contact-information/index.js#L91)
- - with `{ context: 'setup-mc-contact-information', link_id: 'contact-information-read-more', href: 'https://woocommerce.com/document/google-listings-and-ads/#contact-information' }`
- - with `{ context: 'settings-no-phone-number-notice', link_id: 'contact-information-read-more', href: 'https://woocommerce.com/document/google-listings-and-ads/#contact-information' }`
- - with `{ context: 'settings-no-store-address-notice', link_id: 'contact-information-read-more', href: 'https://woocommerce.com/document/google-listings-and-ads/#contact-information' }`
+ - with `{ context: 'setup-mc-contact-information', link_id: 'contact-information-read-more', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#contact-information' }`
+ - with `{ context: 'settings-no-phone-number-notice', link_id: 'contact-information-read-more', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#contact-information' }`
+ - with `{ context: 'settings-no-store-address-notice', link_id: 'contact-information-read-more', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#contact-information' }`
- [`DifferentCurrencyNotice`](../../js/src/components/different-currency-notice.js#L28)
- with `{ context: "dashboard", link_id: "setting-up-currency", href: "https://support.google.com/google-ads/answer/9841530" }`
- with `{ context: "reports-products", link_id: "setting-up-currency", href: "https://support.google.com/google-ads/answer/9841530" }`
- with `{ context: "reports-programs", link_id: "setting-up-currency", href: "https://support.google.com/google-ads/answer/9841530" }`
-- [`EditPhoneNumber`](../../js/src/settings/edit-phone-number.js#L29) with `{ context: "settings-phone-number", link_id: "contact-information-read-more", href: "https://woocommerce.com/document/google-listings-and-ads/#contact-information" }`
-- [`EditStoreAddress`](../../js/src/settings/edit-store-address.js#L41) with `{ context: "settings-store-address", link_id: "contact-information-read-more", href: "https://woocommerce.com/document/google-listings-and-ads/#contact-information" }`
+- [`EditPhoneNumber`](../../js/src/settings/edit-phone-number.js#L29) with `{ context: "settings-phone-number", link_id: "contact-information-read-more", href: "https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#contact-information" }`
+- [`EditStoreAddress`](../../js/src/settings/edit-store-address.js#L41) with `{ context: "settings-store-address", link_id: "contact-information-read-more", href: "https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#contact-information" }`
- [`Faqs`](../../js/src/get-started-page/faqs/index.js#L276)
- with `{ context: 'faqs', linkId: 'general-requirements', href: 'https://woocommerce.com/document/google-listings-and-ads/#general-requirements' }`.
- with `{ context: 'faqs', linkId: 'claiming-urls', href: 'https://support.google.com/merchants/answer/7527436' }`.
diff --git a/tests/e2e/specs/setup-mc/step-3-confirm-store-requirements.test.js b/tests/e2e/specs/setup-mc/step-3-confirm-store-requirements.test.js
index 7a4448ec05..f8e7fbc04a 100644
--- a/tests/e2e/specs/setup-mc/step-3-confirm-store-requirements.test.js
+++ b/tests/e2e/specs/setup-mc/step-3-confirm-store-requirements.test.js
@@ -219,7 +219,7 @@ test.describe( 'Confirm store requirements', () => {
await expect( link ).toBeVisible();
await expect( link ).toHaveAttribute(
'href',
- 'https://woocommerce.com/document/google-listings-and-ads/#contact-information'
+ 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#contact-information'
);
} );
From 934bb8aba7f5f6c67f2d50304141a33c2bf9d575 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miguel=20P=C3=A9rez=20Pellicer?=
<5908855+puntope@users.noreply.github.com>
Date: Fri, 2 Aug 2024 10:48:03 +0400
Subject: [PATCH 03/10] Replace General Requirements URL
---
js/src/get-started-page/faqs/index.js | 4 ++--
src/Tracking/README.md | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/js/src/get-started-page/faqs/index.js b/js/src/get-started-page/faqs/index.js
index 8211ff0502..8989f54c78 100644
--- a/js/src/get-started-page/faqs/index.js
+++ b/js/src/get-started-page/faqs/index.js
@@ -30,7 +30,7 @@ const faqItems = [
),
}
@@ -265,7 +265,7 @@ const faqItems = [
* @fires gla_faq with `{ context: 'get-started', id: 'can-i-run-both-shopping-ads-and-free-listings-campaigns', action: 'collapse' }`.
* @fires gla_faq with `{ context: 'get-started', id: 'how-can-i-get-the-ad-credit-offer', action: 'expand' }`.
* @fires gla_faq with `{ context: 'get-started', id: 'how-can-i-get-the-ad-credit-offer', action: 'collapse' }`.
- * @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'general-requirements', href: 'https://woocommerce.com/document/google-listings-and-ads/#general-requirements' }`.
+ * @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'general-requirements', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#general-requirements' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'claiming-urls', href: 'https://support.google.com/merchants/answer/7527436' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'google-merchant-center-requirements', href: 'https://woocommerce.com/document/google-listings-and-ads/#google-merchant-center-requirements' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'performance-max', href: 'https://woocommerce.com/document/google-listings-and-ads/#google-performance-max-campaigns' }`.
diff --git a/src/Tracking/README.md b/src/Tracking/README.md
index 40715071b1..cb7f3afb0e 100644
--- a/src/Tracking/README.md
+++ b/src/Tracking/README.md
@@ -336,7 +336,7 @@ When a documentation link is clicked.
- [`EditPhoneNumber`](../../js/src/settings/edit-phone-number.js#L29) with `{ context: "settings-phone-number", link_id: "contact-information-read-more", href: "https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#contact-information" }`
- [`EditStoreAddress`](../../js/src/settings/edit-store-address.js#L41) with `{ context: "settings-store-address", link_id: "contact-information-read-more", href: "https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#contact-information" }`
- [`Faqs`](../../js/src/get-started-page/faqs/index.js#L276)
- - with `{ context: 'faqs', linkId: 'general-requirements', href: 'https://woocommerce.com/document/google-listings-and-ads/#general-requirements' }`.
+ - with `{ context: 'faqs', linkId: 'general-requirements', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#general-requirements' }`.
- with `{ context: 'faqs', linkId: 'claiming-urls', href: 'https://support.google.com/merchants/answer/7527436' }`.
- with `{ context: 'faqs', linkId: 'google-merchant-center-requirements', href: 'https://woocommerce.com/document/google-listings-and-ads/#google-merchant-center-requirements' }`.
- with `{ context: 'faqs', linkId: 'performance-max', href: 'https://woocommerce.com/document/google-listings-and-ads/#google-performance-max-campaigns' }`.
From a69fd07a89fbbcaabb3b99d893e98a5409acbc50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miguel=20P=C3=A9rez=20Pellicer?=
<5908855+puntope@users.noreply.github.com>
Date: Fri, 2 Aug 2024 10:48:48 +0400
Subject: [PATCH 04/10] Replace PMAX Campaigns URL
---
js/src/get-started-page/faqs/index.js | 4 ++--
js/src/get-started-page/features-card/index.js | 4 ++--
src/Notes/SetupCampaign.php | 2 +-
src/Tracking/README.md | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/js/src/get-started-page/faqs/index.js b/js/src/get-started-page/faqs/index.js
index 8989f54c78..e703b50ab0 100644
--- a/js/src/get-started-page/faqs/index.js
+++ b/js/src/get-started-page/faqs/index.js
@@ -122,7 +122,7 @@ const faqItems = [
),
}
@@ -268,7 +268,7 @@ const faqItems = [
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'general-requirements', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#general-requirements' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'claiming-urls', href: 'https://support.google.com/merchants/answer/7527436' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'google-merchant-center-requirements', href: 'https://woocommerce.com/document/google-listings-and-ads/#google-merchant-center-requirements' }`.
- * @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'performance-max', href: 'https://woocommerce.com/document/google-listings-and-ads/#google-performance-max-campaigns' }`.
+ * @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'performance-max', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/google-performance-max-campaigns' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'free-listings', href: 'https://woocommerce.com/document/google-listings-and-ads/#free-listings-on-google' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'campaign-analytics', href: 'https://woocommerce.com/document/google-listings-and-ads/#getting-started-with-campaign-analytics' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'terms-and-conditions-of-google-ads-coupons', href: 'https://www.google.com/ads/coupons/terms/' }`.
diff --git a/js/src/get-started-page/features-card/index.js b/js/src/get-started-page/features-card/index.js
index 00c5a6cd71..0a626ba4e6 100644
--- a/js/src/get-started-page/features-card/index.js
+++ b/js/src/get-started-page/features-card/index.js
@@ -39,7 +39,7 @@ const LearnMoreLink = ( { linkId, href } ) => {
/*
* @fires gla_documentation_link_click with `{ context: 'get-started', linkId: 'get-started-features-free-listing-learn-more', href: 'https://woocommerce.com/document/google-listings-and-ads/#free-listings-on-google' }`.
- * @fires gla_documentation_link_click with `{ context: 'get-started', linkId: 'get-started-features-google-ads-learn-more', href: 'https://woocommerce.com/document/google-listings-and-ads/#google-performance-max-campaigns' }`.
+ * @fires gla_documentation_link_click with `{ context: 'get-started', linkId: 'get-started-features-google-ads-learn-more', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/google-performance-max-campaigns' }`.
* @fires gla_documentation_link_click with `{ context: 'get-started', linkId: 'get-started-features-dashboard-learn-more', href: 'https://woocommerce.com/document/google-listings-and-ads/#getting-started-with-campaign-analytics' }`.
*/
const FeaturesCard = () => {
@@ -129,7 +129,7 @@ const FeaturesCard = () => {
diff --git a/src/Notes/SetupCampaign.php b/src/Notes/SetupCampaign.php
index 87e2f4d77c..2d10b85c10 100644
--- a/src/Notes/SetupCampaign.php
+++ b/src/Notes/SetupCampaign.php
@@ -79,7 +79,7 @@ protected function set_title_and_content( NoteEntry $note ): void {
$note->add_action(
'setup-campaign-learn-more',
__( 'Learn more', 'google-listings-and-ads' ),
- 'https://woocommerce.com/document/google-listings-and-ads/#google-performance-max-campaigns'
+ 'https://woocommerce.com/document/google-for-woocommerce/get-started/google-performance-max-campaigns'
);
}
}
diff --git a/src/Tracking/README.md b/src/Tracking/README.md
index cb7f3afb0e..7b66128839 100644
--- a/src/Tracking/README.md
+++ b/src/Tracking/README.md
@@ -339,7 +339,7 @@ When a documentation link is clicked.
- with `{ context: 'faqs', linkId: 'general-requirements', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#general-requirements' }`.
- with `{ context: 'faqs', linkId: 'claiming-urls', href: 'https://support.google.com/merchants/answer/7527436' }`.
- with `{ context: 'faqs', linkId: 'google-merchant-center-requirements', href: 'https://woocommerce.com/document/google-listings-and-ads/#google-merchant-center-requirements' }`.
- - with `{ context: 'faqs', linkId: 'performance-max', href: 'https://woocommerce.com/document/google-listings-and-ads/#google-performance-max-campaigns' }`.
+ - with `{ context: 'faqs', linkId: 'performance-max', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/google-performance-max-campaigns' }`.
- with `{ context: 'faqs', linkId: 'free-listings', href: 'https://woocommerce.com/document/google-listings-and-ads/#free-listings-on-google' }`.
- with `{ context: 'faqs', linkId: 'campaign-analytics', href: 'https://woocommerce.com/document/google-listings-and-ads/#getting-started-with-campaign-analytics' }`.
- with `{ context: 'faqs', linkId: 'terms-and-conditions-of-google-ads-coupons', href: 'https://www.google.com/ads/coupons/terms/' }`.
From b60e2f00f92ed7523a1dc2fb04965fd45dc17108 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miguel=20P=C3=A9rez=20Pellicer?=
<5908855+puntope@users.noreply.github.com>
Date: Fri, 2 Aug 2024 10:49:19 +0400
Subject: [PATCH 05/10] Replace MC Requirements URL
---
js/src/get-started-page/faqs/index.js | 4 ++--
src/Tracking/README.md | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/js/src/get-started-page/faqs/index.js b/js/src/get-started-page/faqs/index.js
index e703b50ab0..b7436c6071 100644
--- a/js/src/get-started-page/faqs/index.js
+++ b/js/src/get-started-page/faqs/index.js
@@ -96,7 +96,7 @@ const faqItems = [
),
}
@@ -267,7 +267,7 @@ const faqItems = [
* @fires gla_faq with `{ context: 'get-started', id: 'how-can-i-get-the-ad-credit-offer', action: 'collapse' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'general-requirements', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#general-requirements' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'claiming-urls', href: 'https://support.google.com/merchants/answer/7527436' }`.
- * @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'google-merchant-center-requirements', href: 'https://woocommerce.com/document/google-listings-and-ads/#google-merchant-center-requirements' }`.
+ * @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'google-merchant-center-requirements', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#google-merchant-center-requirements' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'performance-max', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/google-performance-max-campaigns' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'free-listings', href: 'https://woocommerce.com/document/google-listings-and-ads/#free-listings-on-google' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'campaign-analytics', href: 'https://woocommerce.com/document/google-listings-and-ads/#getting-started-with-campaign-analytics' }`.
diff --git a/src/Tracking/README.md b/src/Tracking/README.md
index 7b66128839..fa73d11bd7 100644
--- a/src/Tracking/README.md
+++ b/src/Tracking/README.md
@@ -338,7 +338,7 @@ When a documentation link is clicked.
- [`Faqs`](../../js/src/get-started-page/faqs/index.js#L276)
- with `{ context: 'faqs', linkId: 'general-requirements', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#general-requirements' }`.
- with `{ context: 'faqs', linkId: 'claiming-urls', href: 'https://support.google.com/merchants/answer/7527436' }`.
- - with `{ context: 'faqs', linkId: 'google-merchant-center-requirements', href: 'https://woocommerce.com/document/google-listings-and-ads/#google-merchant-center-requirements' }`.
+ - with `{ context: 'faqs', linkId: 'google-merchant-center-requirements', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#google-merchant-center-requirements' }`.
- with `{ context: 'faqs', linkId: 'performance-max', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/google-performance-max-campaigns' }`.
- with `{ context: 'faqs', linkId: 'free-listings', href: 'https://woocommerce.com/document/google-listings-and-ads/#free-listings-on-google' }`.
- with `{ context: 'faqs', linkId: 'campaign-analytics', href: 'https://woocommerce.com/document/google-listings-and-ads/#getting-started-with-campaign-analytics' }`.
From 0f2b97ebdf26745cf16ba70f8a81391c716b5610 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miguel=20P=C3=A9rez=20Pellicer?=
<5908855+puntope@users.noreply.github.com>
Date: Fri, 2 Aug 2024 10:49:58 +0400
Subject: [PATCH 06/10] Replace Free Listings URL
---
js/src/get-started-page/faqs/index.js | 4 ++--
js/src/get-started-page/features-card/index.js | 4 ++--
src/Tracking/README.md | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/js/src/get-started-page/faqs/index.js b/js/src/get-started-page/faqs/index.js
index b7436c6071..c86ca9b8fd 100644
--- a/js/src/get-started-page/faqs/index.js
+++ b/js/src/get-started-page/faqs/index.js
@@ -145,7 +145,7 @@ const faqItems = [
),
}
@@ -269,7 +269,7 @@ const faqItems = [
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'claiming-urls', href: 'https://support.google.com/merchants/answer/7527436' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'google-merchant-center-requirements', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#google-merchant-center-requirements' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'performance-max', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/google-performance-max-campaigns' }`.
- * @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'free-listings', href: 'https://woocommerce.com/document/google-listings-and-ads/#free-listings-on-google' }`.
+ * @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'free-listings', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/product-feed-information-and-free-listings/#section-1' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'campaign-analytics', href: 'https://woocommerce.com/document/google-listings-and-ads/#getting-started-with-campaign-analytics' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'terms-and-conditions-of-google-ads-coupons', href: 'https://www.google.com/ads/coupons/terms/' }`.
*/
diff --git a/js/src/get-started-page/features-card/index.js b/js/src/get-started-page/features-card/index.js
index 0a626ba4e6..51f13746fe 100644
--- a/js/src/get-started-page/features-card/index.js
+++ b/js/src/get-started-page/features-card/index.js
@@ -38,7 +38,7 @@ const LearnMoreLink = ( { linkId, href } ) => {
};
/*
- * @fires gla_documentation_link_click with `{ context: 'get-started', linkId: 'get-started-features-free-listing-learn-more', href: 'https://woocommerce.com/document/google-listings-and-ads/#free-listings-on-google' }`.
+ * @fires gla_documentation_link_click with `{ context: 'get-started', linkId: 'get-started-features-free-listing-learn-more', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/product-feed-information-and-free-listings/#section-1' }`.
* @fires gla_documentation_link_click with `{ context: 'get-started', linkId: 'get-started-features-google-ads-learn-more', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/google-performance-max-campaigns' }`.
* @fires gla_documentation_link_click with `{ context: 'get-started', linkId: 'get-started-features-dashboard-learn-more', href: 'https://woocommerce.com/document/google-listings-and-ads/#getting-started-with-campaign-analytics' }`.
*/
@@ -96,7 +96,7 @@ const FeaturesCard = () => {
diff --git a/src/Tracking/README.md b/src/Tracking/README.md
index fa73d11bd7..d20403b636 100644
--- a/src/Tracking/README.md
+++ b/src/Tracking/README.md
@@ -340,7 +340,7 @@ When a documentation link is clicked.
- with `{ context: 'faqs', linkId: 'claiming-urls', href: 'https://support.google.com/merchants/answer/7527436' }`.
- with `{ context: 'faqs', linkId: 'google-merchant-center-requirements', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#google-merchant-center-requirements' }`.
- with `{ context: 'faqs', linkId: 'performance-max', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/google-performance-max-campaigns' }`.
- - with `{ context: 'faqs', linkId: 'free-listings', href: 'https://woocommerce.com/document/google-listings-and-ads/#free-listings-on-google' }`.
+ - with `{ context: 'faqs', linkId: 'free-listings', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/product-feed-information-and-free-listings/#section-1' }`.
- with `{ context: 'faqs', linkId: 'campaign-analytics', href: 'https://woocommerce.com/document/google-listings-and-ads/#getting-started-with-campaign-analytics' }`.
- with `{ context: 'faqs', linkId: 'terms-and-conditions-of-google-ads-coupons', href: 'https://www.google.com/ads/coupons/terms/' }`.
- [`Faqs`](../../js/src/setup-mc/setup-stepper/setup-accounts/faqs.js#L68) with `{ context: 'faqs', link_id: 'find-a-partner', href: 'https://comparisonshoppingpartners.withgoogle.com/find_a_partner/' }`
From 8e7707aa68701b6660064f197efec3b49611da9f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miguel=20P=C3=A9rez=20Pellicer?=
<5908855+puntope@users.noreply.github.com>
Date: Fri, 2 Aug 2024 10:50:35 +0400
Subject: [PATCH 07/10] Replace Getting Started Campaigns URL
---
js/src/get-started-page/faqs/index.js | 4 ++--
js/src/get-started-page/features-card/index.js | 4 ++--
src/Tracking/README.md | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/js/src/get-started-page/faqs/index.js b/js/src/get-started-page/faqs/index.js
index c86ca9b8fd..8a5ea793f0 100644
--- a/js/src/get-started-page/faqs/index.js
+++ b/js/src/get-started-page/faqs/index.js
@@ -172,7 +172,7 @@ const faqItems = [
),
}
@@ -270,7 +270,7 @@ const faqItems = [
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'google-merchant-center-requirements', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#google-merchant-center-requirements' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'performance-max', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/google-performance-max-campaigns' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'free-listings', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/product-feed-information-and-free-listings/#section-1' }`.
- * @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'campaign-analytics', href: 'https://woocommerce.com/document/google-listings-and-ads/#getting-started-with-campaign-analytics' }`.
+ * @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'campaign-analytics', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/campaign-analytics' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'terms-and-conditions-of-google-ads-coupons', href: 'https://www.google.com/ads/coupons/terms/' }`.
*/
const Faqs = () => {
diff --git a/js/src/get-started-page/features-card/index.js b/js/src/get-started-page/features-card/index.js
index 51f13746fe..003f457c05 100644
--- a/js/src/get-started-page/features-card/index.js
+++ b/js/src/get-started-page/features-card/index.js
@@ -40,7 +40,7 @@ const LearnMoreLink = ( { linkId, href } ) => {
/*
* @fires gla_documentation_link_click with `{ context: 'get-started', linkId: 'get-started-features-free-listing-learn-more', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/product-feed-information-and-free-listings/#section-1' }`.
* @fires gla_documentation_link_click with `{ context: 'get-started', linkId: 'get-started-features-google-ads-learn-more', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/google-performance-max-campaigns' }`.
- * @fires gla_documentation_link_click with `{ context: 'get-started', linkId: 'get-started-features-dashboard-learn-more', href: 'https://woocommerce.com/document/google-listings-and-ads/#getting-started-with-campaign-analytics' }`.
+ * @fires gla_documentation_link_click with `{ context: 'get-started', linkId: 'get-started-features-dashboard-learn-more', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/campaign-analytics' }`.
*/
const FeaturesCard = () => {
return (
@@ -162,7 +162,7 @@ const FeaturesCard = () => {
diff --git a/src/Tracking/README.md b/src/Tracking/README.md
index d20403b636..3e4ae33701 100644
--- a/src/Tracking/README.md
+++ b/src/Tracking/README.md
@@ -341,7 +341,7 @@ When a documentation link is clicked.
- with `{ context: 'faqs', linkId: 'google-merchant-center-requirements', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#google-merchant-center-requirements' }`.
- with `{ context: 'faqs', linkId: 'performance-max', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/google-performance-max-campaigns' }`.
- with `{ context: 'faqs', linkId: 'free-listings', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/product-feed-information-and-free-listings/#section-1' }`.
- - with `{ context: 'faqs', linkId: 'campaign-analytics', href: 'https://woocommerce.com/document/google-listings-and-ads/#getting-started-with-campaign-analytics' }`.
+ - with `{ context: 'faqs', linkId: 'campaign-analytics', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/campaign-analytics' }`.
- with `{ context: 'faqs', linkId: 'terms-and-conditions-of-google-ads-coupons', href: 'https://www.google.com/ads/coupons/terms/' }`.
- [`Faqs`](../../js/src/setup-mc/setup-stepper/setup-accounts/faqs.js#L68) with `{ context: 'faqs', link_id: 'find-a-partner', href: 'https://comparisonshoppingpartners.withgoogle.com/find_a_partner/' }`
- [`FaqsSection`](../../js/src/components/paid-ads/asset-group/faqs-section.js#L73) with `{ context: 'assets-faq', linkId: 'assets-faq-about-ad-formats-available-in-different-campaign-types', href: 'https://support.google.com/google-ads/answer/1722124' }`.
From 7fbc4abed850dc3a219d7567e8aa8a17638926ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miguel=20P=C3=A9rez=20Pellicer?=
<5908855+puntope@users.noreply.github.com>
Date: Fri, 2 Aug 2024 10:51:18 +0400
Subject: [PATCH 08/10] Replace Compilance Policy URL
---
.../store-requirements/pre-launch-checklist/index.js | 10 +++++-----
.../setup-mc/step-3-confirm-store-requirements.test.js | 10 +++++-----
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/js/src/setup-mc/setup-stepper/store-requirements/pre-launch-checklist/index.js b/js/src/setup-mc/setup-stepper/store-requirements/pre-launch-checklist/index.js
index 0ff1dbd746..ba254daed2 100644
--- a/js/src/setup-mc/setup-stepper/store-requirements/pre-launch-checklist/index.js
+++ b/js/src/setup-mc/setup-stepper/store-requirements/pre-launch-checklist/index.js
@@ -39,7 +39,7 @@ const PreLaunchChecklist = () => {
{ __(
'Read Google Merchant Center requirements',
@@ -72,7 +72,7 @@ const PreLaunchChecklist = () => {
context="setup-mc-checklist"
linkId="check-website-is-live"
type="external"
- href="https://woocommerce.com/document/google-listings-and-ads/compliance-policy/#store-is-live"
+ href="https://woocommerce.com/document/google-for-woocommerce/compliance-policy-2/#store-is-live"
>
{ __(
'Learn more about common landing page issues and how to fix them',
@@ -99,7 +99,7 @@ const PreLaunchChecklist = () => {
context="setup-mc-checklist"
linkId="check-payment-methods-visible"
type="external"
- href="https://woocommerce.com/document/google-listings-and-ads/compliance-policy/#complete-checkout"
+ href="https://woocommerce.com/document/google-for-woocommerce/compliance-policy-2/#complete-checkout"
>
{ __(
"Learn more about Google's checkout requirements & best practices",
@@ -131,7 +131,7 @@ const PreLaunchChecklist = () => {
context="setup-mc-checklist"
linkId="check-checkout-process-secure"
type="external"
- href="https://woocommerce.com/document/google-listings-and-ads/compliance-policy/#complete-checkout"
+ href="https://woocommerce.com/document/google-for-woocommerce/compliance-policy-2/#complete-checkout"
>
{ __(
'Learn to set up SSL on your website',
@@ -158,7 +158,7 @@ const PreLaunchChecklist = () => {
context="setup-mc-checklist"
linkId="check-refund-tos-visible"
type="external"
- href="https://woocommerce.com/document/google-listings-and-ads/compliance-policy/#refund-and-terms"
+ href="https://woocommerce.com/document/google-for-woocommerce/compliance-policy-2/#refund-and-terms"
>
{ __(
"Learn more about Google's refund policy requirements",
diff --git a/tests/e2e/specs/setup-mc/step-3-confirm-store-requirements.test.js b/tests/e2e/specs/setup-mc/step-3-confirm-store-requirements.test.js
index f8e7fbc04a..2d5aeb4d5d 100644
--- a/tests/e2e/specs/setup-mc/step-3-confirm-store-requirements.test.js
+++ b/tests/e2e/specs/setup-mc/step-3-confirm-store-requirements.test.js
@@ -229,7 +229,7 @@ test.describe( 'Confirm store requirements', () => {
await expect( link ).toBeVisible();
await expect( link ).toHaveAttribute(
'href',
- 'https://woocommerce.com/document/google-listings-and-ads/compliance-policy'
+ 'https://woocommerce.com/document/google-for-woocommerce/compliance-policy-2'
);
} );
@@ -321,7 +321,7 @@ test.describe( 'Confirm store requirements', () => {
await expect( link1 ).toBeVisible();
await expect( link1 ).toHaveAttribute(
'href',
- 'https://woocommerce.com/document/google-listings-and-ads/compliance-policy/#store-is-live'
+ 'https://woocommerce.com/document/google-for-woocommerce/compliance-policy-2/#store-is-live'
);
const panel2 = await panels.nth( 1 );
@@ -329,7 +329,7 @@ test.describe( 'Confirm store requirements', () => {
await expect( link2 ).toBeVisible();
await expect( link2 ).toHaveAttribute(
'href',
- 'https://woocommerce.com/document/google-listings-and-ads/compliance-policy/#complete-checkout'
+ 'https://woocommerce.com/document/google-for-woocommerce/compliance-policy-2/#complete-checkout'
);
const panel3 = await panels.nth( 2 );
@@ -337,7 +337,7 @@ test.describe( 'Confirm store requirements', () => {
await expect( link3 ).toBeVisible();
await expect( link3 ).toHaveAttribute(
'href',
- 'https://woocommerce.com/document/google-listings-and-ads/compliance-policy/#complete-checkout'
+ 'https://woocommerce.com/document/google-for-woocommerce/compliance-policy-2/#complete-checkout'
);
const panel4 = await panels.nth( 3 );
@@ -345,7 +345,7 @@ test.describe( 'Confirm store requirements', () => {
await expect( link4 ).toBeVisible();
await expect( link4 ).toHaveAttribute(
'href',
- 'https://woocommerce.com/document/google-listings-and-ads/compliance-policy/#refund-and-terms'
+ 'https://woocommerce.com/document/google-for-woocommerce/compliance-policy-2/#refund-and-terms'
);
} );
From 4b9e48f5c275340fc55f94ecdc026d6b5462ded3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miguel=20P=C3=A9rez=20Pellicer?=
<5908855+puntope@users.noreply.github.com>
Date: Fri, 2 Aug 2024 10:58:53 +0400
Subject: [PATCH 09/10] Replace Rest of URL
---
README.md | 4 ++--
js/src/components/help-icon-button.js | 2 +-
src/MerchantCenter/MerchantStatuses.php | 2 +-
src/PluginHelper.php | 2 +-
src/Tracking/README.md | 6 +++---
5 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/README.md b/README.md
index b3c2d10244..9dd1470c59 100644
--- a/README.md
+++ b/README.md
@@ -10,14 +10,14 @@ A native integration with Google offering free listings and Performance Max ads
- [WooCommerce.com product page](https://woocommerce.com/products/google-listings-and-ads/)
- [WordPress.org plugin page](https://wordpress.org/plugins/google-listings-and-ads/)
-- [User documentation](https://woocommerce.com/document/google-listings-and-ads/)
+- [User documentation](https://woocommerce.com/document/google-for-woocommerce/)
- [Feature requests](https://woocommerce.com/feature-requests/google-listings-and-ads/)
## Support
This repository is not suitable for support. Please don't use our issue tracker for support requests.
-For self help, start with our [user documentation](https://woocommerce.com/document/google-listings-and-ads/).
+For self help, start with our [user documentation](https://woocommerce.com/document/google-for-woocommerce/).
The best place to get support is the [WordPress.org Google for WooCommerce forum](https://wordpress.org/support/plugin/google-listings-and-ads/).
diff --git a/js/src/components/help-icon-button.js b/js/src/components/help-icon-button.js
index aff2611dc8..9ec8f713e3 100644
--- a/js/src/components/help-icon-button.js
+++ b/js/src/components/help-icon-button.js
@@ -34,7 +34,7 @@ const HelpIconButton = ( props ) => {
}
text={ __( 'Help', 'google-listings-and-ads' ) }
- href="https://woocommerce.com/document/google-listings-and-ads/"
+ href="https://woocommerce.com/document/google-for-woocommerce/"
target="_blank"
eventName="gla_help_click"
eventProps={ {
diff --git a/src/MerchantCenter/MerchantStatuses.php b/src/MerchantCenter/MerchantStatuses.php
index 86b555b895..b0c7a99222 100644
--- a/src/MerchantCenter/MerchantStatuses.php
+++ b/src/MerchantCenter/MerchantStatuses.php
@@ -1040,7 +1040,7 @@ private function maybe_override_issue_values( array $issue ): array {
*/
if ( 'home_page_issue' === $issue['code'] ) {
$issue['issue'] = 'Website claim is lost, need to re verify and claim your website. Please reference the support link';
- $issue['action_url'] = 'https://woocommerce.com/document/google-listings-and-ads-faqs/#reverify-website';
+ $issue['action_url'] = 'https://woocommerce.com/document/google-for-woocommerce/faq/#reverify-website';
}
return $issue;
diff --git a/src/PluginHelper.php b/src/PluginHelper.php
index 905bfd9c63..015a3b8646 100644
--- a/src/PluginHelper.php
+++ b/src/PluginHelper.php
@@ -152,7 +152,7 @@ protected function get_coupons_url(): string {
* @return string
*/
protected function get_documentation_url(): string {
- return 'https://woocommerce.com/document/google-listings-and-ads/?utm_source=wordpress&utm_medium=all-plugins-page&utm_campaign=doc-link&utm_content=google-listings-and-ads';
+ return 'https://woocommerce.com/document/google-for-woocommerce/?utm_source=wordpress&utm_medium=all-plugins-page&utm_campaign=doc-link&utm_content=google-listings-and-ads';
}
/**
diff --git a/src/Tracking/README.md b/src/Tracking/README.md
index 3e4ae33701..eba460a7ac 100644
--- a/src/Tracking/README.md
+++ b/src/Tracking/README.md
@@ -565,10 +565,10 @@ Clicking on the button to connect an existing Google Merchant Center account.
#### Emitters
- [`ConnectMC`](../../js/src/components/google-mc-account-card/connect-mc/index.js#L42)
-### [`gla_mc_account_connect_different_account_button_click`](../../js/src/components/google-mc-account-card/connected-google-mc-account-card.js#L21)
+### [`gla_mc_account_connect_different_account_button_click`](../../js/src/components/google-mc-account-card/connected-google-mc-account-card.js#L29)
Clicking on the "connect to a different Google Merchant Center account" button.
#### Emitters
-- [`ConnectedGoogleMCAccountCard`](../../js/src/components/google-mc-account-card/connected-google-mc-account-card.js#L36)
+- [`ConnectedGoogleMCAccountCard`](../../js/src/components/google-mc-account-card/connected-google-mc-account-card.js#L45)
### [`gla_mc_account_create_button_click`](../../js/src/components/google-mc-account-card/terms-modal/index.js#L16)
Clicking on the button to create a new Google Merchant Center account, after agreeing to the terms and conditions.
@@ -629,7 +629,7 @@ A modal is closed.
`action` | `string` | Indicates the modal is closed by what action (e.g. `maybe-later`\|`dismiss` \| `create-another-campaign`) - `maybe-later` is used when the "Maybe later" button on the modal is clicked - `dismiss` is used when the modal is dismissed by clicking on "X" icon, overlay, generic "Cancel" button, or pressing ESC - `create-another-campaign` is used when the button "Create another campaign" is clicked - `create-paid-campaign` is used when the button "Create paid campaign" is clicked - `confirm` is used when the button "Confirm", "Save" or similar generic "Accept" button is clicked
#### Emitters
- [`AttributeMappingTable`](../../js/src/attribute-mapping/attribute-mapping-table.js#L59) When any of the modals is closed
-- [`Dashboard`](../../js/src/dashboard/index.js#L33) when CES modal is closed.
+- [`Dashboard`](../../js/src/dashboard/index.js#L34) when CES modal is closed.
- [`ReviewRequest`](../../js/src/product-feed/review-request/index.js#L31) with `action: 'request-review-success' | 'maybe-later' | 'dismiss', context: REQUEST_REVIEW`
- [`SubmissionSuccessGuide`](../../js/src/product-feed/submission-success-guide/index.js#L159) with `action: 'create-paid-campaign' | 'maybe-later' | 'view-product-feed' | 'dismiss'`
From 679db1015b964931a28bfe85b562d25390f9e8a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miguel=20P=C3=A9rez=20Pellicer?=
<5908855+puntope@users.noreply.github.com>
Date: Sat, 3 Aug 2024 19:51:18 +0400
Subject: [PATCH 10/10] Change link for required google permissions
---
.../google-account-card/connect-google-account-card.js | 2 +-
js/src/components/google-account-card/read-more-link.js | 2 +-
.../request-full-access-google-account-card.js | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/js/src/components/google-account-card/connect-google-account-card.js b/js/src/components/google-account-card/connect-google-account-card.js
index 45c6fe04f0..d7731660ec 100644
--- a/js/src/components/google-account-card/connect-google-account-card.js
+++ b/js/src/components/google-account-card/connect-google-account-card.js
@@ -18,7 +18,7 @@ import useGoogleConnectFlow from './use-google-connect-flow';
* @param {boolean} props.disabled
* @fires gla_google_account_connect_button_click with `{ action: 'authorization', context: 'reconnect' }`
* @fires gla_google_account_connect_button_click with `{ action: 'authorization', context: 'setup-mc' }`
- * @fires gla_documentation_link_click with `{ context: 'setup-mc-accounts', link_id: 'required-google-permissions', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#general-requirements' }`
+ * @fires gla_documentation_link_click with `{ context: 'setup-mc-accounts', link_id: 'required-google-permissions', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/setup-and-configuration/#required-google-permissions' }`
*/
const ConnectGoogleAccountCard = ( { disabled } ) => {
const pageName = glaData.mcSetupComplete ? 'reconnect' : 'setup-mc';
diff --git a/js/src/components/google-account-card/read-more-link.js b/js/src/components/google-account-card/read-more-link.js
index 3605b29529..79edcb691c 100644
--- a/js/src/components/google-account-card/read-more-link.js
+++ b/js/src/components/google-account-card/read-more-link.js
@@ -7,7 +7,7 @@ const readMoreLink = (
);
diff --git a/js/src/components/google-account-card/request-full-access-google-account-card.js b/js/src/components/google-account-card/request-full-access-google-account-card.js
index a58031b77f..5788894d06 100644
--- a/js/src/components/google-account-card/request-full-access-google-account-card.js
+++ b/js/src/components/google-account-card/request-full-access-google-account-card.js
@@ -21,7 +21,7 @@ import './request-full-access-google-account-card.scss';
* @param {string} props.additionalScopeEmail Specify the email to be requested additional permission scopes to Google.
* @fires gla_google_account_connect_button_click with `{ action: 'scope', context: 'reconnect' }`
* @fires gla_google_account_connect_button_click with `{ action: 'scope', context: 'setup-mc' }`
- * @fires gla_documentation_link_click with `{ context: 'setup-mc-accounts', link_id: 'required-google-permissions', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/requirements/#general-requirements' }`
+ * @fires gla_documentation_link_click with `{ context: 'setup-mc-accounts', link_id: 'required-google-permissions', href: 'https://woocommerce.com/document/google-for-woocommerce/get-started/setup-and-configuration/#required-google-permissions' }`
*/
const RequestFullAccessGoogleAccountCard = ( { additionalScopeEmail } ) => {
const pageName = glaData.mcSetupComplete ? 'reconnect' : 'setup-mc';