Use custom domains / URLs with React | Google Shopping

Solved

Use custom domains / URLs with React | Google Shopping

turbot
Tourist
7 0 2

Hi all!

 

I'm currently building a custom front-end for a Shopify site. I'm using React, which relies on Shopify's Buy SDK and Storefront API. 

The Google Shopping feeds automatically rely on the Myshopify product URLs  (e.g. XYZ.myshopify.com/product), but I would need to have the main domain in google shopping. 

 

Long story short, I can not add the custom domain to shopify, because react is running on the domain. Is there a way to force a replacement of the URL in the Shopify back office? 

I tried to replace the product URLs with Matrixify, but that is replaced with the Myshopify URL directly after uploading it. I know that I can replace the handle, but would need to replace the entire URL.

How do you handle this? 

Accepted Solution (1)

EmmanuelFlossie
Shopify Partner
3718 284 856

This is an accepted solution.

In Google Merchant Center, use the feed rules to replace the myshopify URL with the actual domain URL.

More info: https://support.google.com/merchants/answer/7450276?hl=en

Maximize Your Google Shopping Performance
Get in touch for expert guidance. Need Google Merchant Center or Google Shopping support?
Get expert help from Emmanuel Flossie, a Google Shopping Specialist, Google Ads Diamond Product Expert, and award-winning Google Product Expert (Education 2021 & Tailwind Champion 2023).

View solution in original post

Replies 11 (11)

EmmanuelFlossie
Shopify Partner
3718 284 856

This is an accepted solution.

In Google Merchant Center, use the feed rules to replace the myshopify URL with the actual domain URL.

More info: https://support.google.com/merchants/answer/7450276?hl=en

Maximize Your Google Shopping Performance
Get in touch for expert guidance. Need Google Merchant Center or Google Shopping support?
Get expert help from Emmanuel Flossie, a Google Shopping Specialist, Google Ads Diamond Product Expert, and award-winning Google Product Expert (Education 2021 & Tailwind Champion 2023).
turbot
Tourist
7 0 2

Cool, thanks! 

mase1337
New Member
6 0 0

@EmmanuelFlossie could you elaborate on how to properly do this?

EmmanuelFlossie
Shopify Partner
3718 284 856

Sure

 

1) First check the documentation on feed rules, for the specific topic Use "Find & Replace" : https://support.google.com/merchants/answer/7450276?hl=en

 

2) Then take a screenshot in Google Merchant Center with your attempt, and I can guide you what needs changing.

Maximize Your Google Shopping Performance
Get in touch for expert guidance. Need Google Merchant Center or Google Shopping support?
Get expert help from Emmanuel Flossie, a Google Shopping Specialist, Google Ads Diamond Product Expert, and award-winning Google Product Expert (Education 2021 & Tailwind Champion 2023).
mase1337
New Member
6 0 0

CleanShot 2024-02-04 at 01.21.17@2x.pngCleanShot 2024-02-04 at 01.22.12@2x.png

EmmanuelFlossie
Shopify Partner
3718 284 856

If you look at your first image, on the right, the results before and after, show that you did it correctly.

Maximize Your Google Shopping Performance
Get in touch for expert guidance. Need Google Merchant Center or Google Shopping support?
Get expert help from Emmanuel Flossie, a Google Shopping Specialist, Google Ads Diamond Product Expert, and award-winning Google Product Expert (Education 2021 & Tailwind Champion 2023).
mase1337
New Member
6 0 0

did i select the right attribute?

mase1337
New Member
6 0 0

I'm now getting a mismatched URL error in Google Merchant. I replaced the myshopify url with the standard url but Shopify keeps reverting it back.

EmmanuelFlossie
Shopify Partner
3718 284 856

Make sure you verify and claim the correct URL.https://support.google.com/merchants/answer/176793?hl=en

Maximize Your Google Shopping Performance
Get in touch for expert guidance. Need Google Merchant Center or Google Shopping support?
Get expert help from Emmanuel Flossie, a Google Shopping Specialist, Google Ads Diamond Product Expert, and award-winning Google Product Expert (Education 2021 & Tailwind Champion 2023).
mase1337
New Member
6 0 0

CleanShot 2024-02-04 at 08.38.15@2x.pngI did but it keeps auto reverting back to the myshopify url after like 3-5 minutes.

EmmanuelFlossie
Shopify Partner
3718 284 856

Make sure your Shopify account is also set to the domain. And if the issue persist, then the app you are using is causing issues.

 

If you have Google and Youtube, contact: https://support.google.com/merchants/contact/shopify_3p_support_app

 

Alternatively, use a better app such as: https://apps.shopify.com/multiple-google-shopping-feeds

 

Maximize Your Google Shopping Performance
Get in touch for expert guidance. Need Google Merchant Center or Google Shopping support?
Get expert help from Emmanuel Flossie, a Google Shopping Specialist, Google Ads Diamond Product Expert, and award-winning Google Product Expert (Education 2021 & Tailwind Champion 2023).