Custom Domain with Gatsby Front end

Topic summary

Routing sales channel traffic from Shopify to a Gatsby-based custom domain, and whether Shopify’s custom domain settings affect a headless Gatsby frontend.

Context: Shopify is used purely as a backend (database) with a Gatsby frontend on a custom domain. When connecting sales/shopping channels (e.g., Google or Facebook) via Shopify, links currently default to the undeveloped Shopify Online Store.

Key questions:

  • Does setting a custom domain in Shopify make sales channel APIs/links point to the custom domain (Gatsby site) instead of the Shopify store?
  • Could enabling a custom domain in Shopify conflict with the existing Gatsby frontend?

Technical notes: Gatsby is a React-based static site framework often used for “headless” storefronts. Shopify sales/shopping channels (Google, Facebook) typically integrate with the Shopify Online Store and its product URLs unless explicitly configured otherwise.

Status: No answers or decisions yet. The thread is open, seeking guidance on domain routing for sales channels and compatibility with a headless Gatsby setup.

Summarized with AI on February 5. AI used: gpt-5.

Hi we essentially use Shopify as a database with a Gatsby front end to a custom domain. When we create an shopping channel connection through shopify e.g. google or Facebook it will default to our undeveloped shopify store. I see there is a facility to connect a custom domain within shopify however,

  1. Will this achieve my objective of sending a shopping channel API back to my custom domain instead of my shopify store?
  2. Will implementing a custom domain have a conflict issue with my Gatsby front end?

Thanks

Denis