Shopify Native Auto-Generated Hreflang Tags
Shopify’s built-in hreflang generation is the foundation every international store builds on. When you configure a market under Settings > Markets, assign it a domain or subfolder, publish translated content, and enable Automatic hreflang tags under Online Store > Preferences, Shopify begins injecting <link rel="alternate" hreflang="..."> tags into every page automatically — no code required.
The system works well when your Markets configuration is logical: one language per market, distinct language-region pairs, and a clearly designated primary market for x-default output. It breaks quietly when those conditions are not met. A UK market accidentally assigned generic "English" instead of "English (United Kingdom)" will output hreflang="en" instead of hreflang="en-gb" — and both Google and Bing will struggle to serve the UK version to British searchers. Always verify with View Source or Google’s Rich Results Test immediately after any Markets change.


























