Picture a German buyer who should land on your German product page, but the search engine shows them your English homepage instead, and they leave before reaching the cart. Even when the store language is right, a wrong page ranking quietly costs sales. Shopify Markets was built to manage this multi-market structure, yet setting it up without understanding what sits behind hreflang often leads to errors that are slow to fix.
Key Takeaways
- Shopify Markets lets you define markets with language and region combinations, and aims to output matching hreflang annotations on the storefront.
- Your domain structure (subfolder, subdomain or separate ccTLD) affects the signals you send, so decide it before launch.
- Every language-region version should link back to the others. If the return link is missing, Google may fail to validate the annotation and ignore it.
- After launch, cross-check the page source, Search Console and a dedicated validation tool.
- Platform behavior can change, so confirm each setting against Shopify's current official documentation.
This guide walks through Shopify Markets' multi-market structure, domain options and the way to check hreflang output, step by step. If you are new to the topic, start with what is hreflang? A complete guide from basics to advanced, then return here for the Shopify-specific details.
What Shopify Markets Does and Where hreflang Comes In
Shopify Markets lets you define markets for different countries inside a single store. Each market can be given its own currency, language and shipping settings. According to Shopify's official documentation, this structure presents alternative versions of storefront pages based on the markets you define and the languages you publish. hreflang annotations then tell search engines how those versions relate to each other: "this page is for German-speaking shoppers in Germany, that page is for French-speaking shoppers in France."
There is an important distinction here. A market's content and routing behavior is not the same thing as the annotation signal sent to search engines. Opening a market does not guarantee that its pages leave with correct hreflang tags. Output accuracy depends on platform settings, your theme and the content you have actually published. Verify it in page source and Search Console before you assume the setup is finished.
Market, Language and Region: Keep the Three Concepts Apart
The most common source of confusion is treating "market" and "language" as the same thing. A market is a country or group of countries; a language is the text shown to visitors. Two markets that share a language can still need different currencies, prices and content. Google's hreflang documentation is explicit on the format: the language code follows ISO 639-1, the optional region code follows ISO 3166-1 Alpha-2, and the result looks like en-GB.
In practice, make three decisions in order:
- Market list: Choose the countries where you will invest in sales and content. Every market means an additional set of pages.
- Language list: Decide which languages you will publish for each market. Opening only languages with finished translations prevents empty or half-translated pages from being indexed.
- Region variant: If the same language needs regional differences (prices, units, legal wording), add the region code. If not, the language code alone is enough.
Consider a hypothetical example (hypothetical example): a furniture exporter sells in German to Germany and Austria, but manages Austrian prices through a separate market setting in euros. That gives two markets and one language. Whether de-DE and de-AT need to be separated depends on whether the content for the two markets genuinely differs. A price difference alone may not require a separate hreflang decision.
Domain Options: Subfolders, Subdomains or ccTLDs
Choosing the URL structure for your markets must happen before hreflang setup. According to Shopify's official documentation, Markets can serve markets under your primary domain using subfolders or subdomains, while separate country-code domains (ccTLDs) may require additional configuration and extra work. Check which options are available on your plan and in your region on the current Shopify Help Center page, because this area can change on the platform side.
Subfolder: example.com/de/
One domain's authority is shared across all markets, and management happens in one place. For small and mid-sized exporters, this is often the option with the least operational overhead. The drawback is that the geographic signal per market can stay weak, and building local trust requires more effort in language and content localization.
Subdomain: de.example.com
Each market lives on its own subdomain. The regional separation is clearer, but authority can be split and each subdomain needs its own monitoring and link work. A subdomain tends to make the most sense when markets are managed almost independently by separate teams.
Country-code domain: example.de
A dedicated domain per market gives the strongest local signal, but it carries the highest management cost. Content and technical setup are maintained separately on every domain. Consider this option only when each market has its own team and budget.
| Option | Advantage | Watch out for |
|---|---|---|
| Subfolder (/de/) | One domain, central management | Local geographic signal can stay weak |
| Subdomain (de.) | Clear separation between markets | Split authority and separate monitoring |
| ccTLD (.de) | Strongest local signal | Highest management cost |
How to Check the hreflang Output on Shopify
After publishing a market, your first step is to open the page source in the browser and search for the link rel="alternate" hreflang lines. Each line carries a language-region code and a URL. Look closely at three points:
- Is the list consistent from the homepage through product and blog pages?
- Does every URL link back to the other URLs in its list?
- Does the list include the page's own URL?
Inspecting the source
Some tags can disappear after theme changes. For that reason, check manually on every theme, especially in custom-built sections, that hreflang lines are really rendered in the page head. Then run a sample set of pages through a validation tool. Crawling a few representative page groups helps catch missing return links that manual inspection tends to miss.
Which pages are covered?
When a market opens, whether each page type has a counterpart is a separate question. For a product page without a translation, you have two options: redirect it to the primary-language page, or remove it from the hreflang cluster. Either choice can affect whether the page is indexed and whether the wrong language is shown. When you build your decision logic, the approach in our x-default guide is a useful starting point.
Common Setup Mistakes
The most frequent problems in Shopify Markets setups come from implementation choices rather than from the platform feature itself. The list below summarizes situations teams run into again and again:
- One-way annotations: Page A points to page B, but page B does not point back to A. Pairs without return tags are often ignored.
- Invalid codes: Using a wrong region code such as
en-UKinstead ofen-GB. - Missing x-default: No default page defined for users whose language cannot be matched.
- Partial translations: Markets where the homepage is translated but product and category pages remain in the primary language.
- Canonical conflicts: Pointing every language version's canonical to the homepage, which makes the hreflang signal meaningless.
For detecting and fixing return tag errors, read our return tag errors guide. For a broader list of international SEO mistakes, the hreflang errors guide is a good reference. If you want to compare validation tools, our hreflang validation tools article covers the general capabilities to look for.
Pre-launch and Post-launch Checklist
Do not call the setup finished until you have worked through the following steps in order. Each one depends on the output of the step before it.
- Fix your market, language and region decisions in a written table.
- Choose the URL structure for each market and check consistency across all page types.
- Inspect the hreflang lines in the source of the homepage, category, product and blog pages one by one.
- Confirm that every tag has a return link on the target page.
- Check that x-default points to the correct page.
- Monitor the international targeting and indexing reports in Search Console for a few weeks.
Do not treat these checks as a one-time task. Checking closely during launch week helps you catch errors before they pile up. After that, rerun the same list at regular intervals, for example whenever a new product group is added. A new product, a new market or a theme update always creates a new hreflang risk. Write down who on your team owns this work. That way, when an error is found, it is clear who fixed it, on which page and on what date.
Conclusion and Next Step
Shopify Markets makes multi-market management far easier, but hreflang is not a set-and-forget feature. When you make market, language and region decisions in the right order, choose your domain structure deliberately and check the page source after every release, the system behaves as expected. As a next step, list in one table which markets are live, in which language and under which URL structure. Gaps are much faster to spot in a table than page by page. Because platform behavior can change, always compare final decisions against Shopify's current official documentation.




No comments yet
Leave a Comment