ndimatteo / HULL

💀 Headless Shopify Starter – powered by Next.js + Sanity.io
https://hull.dev
MIT License
1.36k stars 167 forks source link

Google Merchant Center domain verification issue #112

Open ansmlc opened 1 year ago

ansmlc commented 1 year ago

Hi,

Google Merchant Center automatically connects to Shopify native domain (e.g. shop.hull.dev). When adding product landing pages for verification using the headless domain (e.g. hull.dev/products/x), the Center than forces the native domain, changing the product URL back to shop.hull.dev/products/x. Because the landing page is not on native domain, it erros with 404, and the verification fails. The Merchant Center also forbids using any kind of redirect.

Has anyone come across this issue, and is there a solution?

Thanks!

ndimatteo commented 1 year ago

Hey there @ansmlc I'm not familiar with Google Merchant Center. I'd suggest reaching out to their support as well to see if there's a solution so you can use the headless URL's exclusively.

ndimatteo commented 1 year ago

Hey there @ansmlc were you able to resolve this? Curious what the outcome was!

ansmlc commented 1 year ago

Hey there @ansmlc were you able to resolve this? Curious what the outcome was!

Hey @ndimatteo we're in process of resolving this by introducing a 2nd Shopify Store which will use the same domain name as the headless site, while the original Shopify store will remain in use on a subdomain, for any Shopify-native pages client still needs accessible.

I did reach out to Google Merchant Center support but they were not able to provide a satisfactory solution.

HatimDa commented 1 year ago

Hi, I am in the process of building a headless solution for an e-commerce store, and I just saw this issue, how did you resolve it at the end?

Thanks

ansmlc commented 1 year ago

@HatimDa As noted previously, it was resolved by introducing a secondary Shopify store. I didn't find a better solution.

benjaminsehl commented 1 year ago

@ansmlc @HatimDa — did you look at setting up Feed Rules to change the URL? The other option here is not using the default Google app in Shopify but instead using a tool with more feed configurations.

Alternatives I've seen: https://www.godatafeed.com/, https://feedonomics.com/, https://www.datafeedwatch.com/