Going International Without Confusing AI: hreflang and Localized Data

Going International Without Confusing AI: hreflang and Localized Data. A Visibility Mesh infographic for ecommerce AI visibility.

A store that sells in several countries keeps AI and search engines from confusing its versions when hreflang tags say which page is for which language and region, when prices and currencies match the market each page serves, and when every version shares one brand identity. On Shopify, Markets creates hreflang tags automatically for each international domain or subfolder, so the work is mostly checking them and localizing the content.

By Margareta Petrovic, founder of Visibility Mesh. We updated this article on November 9, 2026.

Without those signals, an assistant may quote your British price to an American shopper, or treat your French site as a different company. Neither mistake shows up as an error, so either one can sit there for months.

What does hreflang do?

An hreflang tag says, in effect, "this page also exists in French for Canada, and here is its address". Google's documentation sets out the rules that make the tags work.

  • You can declare the versions in the HTML head, in HTTP headers or in the sitemap, and Google treats the three methods as equal.
  • Each language version must list itself as well as all the other versions. If page A points to page B and B does not point back, Google may ignore the annotations.
  • The language code comes first, in ISO 639-1 format, with an optional region in ISO 3166-1 Alpha 2, as in en-GB. A region code alone, such as GB, is not valid.
  • The value x-default marks the fallback page for anyone whose language is not listed, which is often a country selector.

What does Shopify do for me, and what do I check?

Shopify's help center says hreflang tags are created automatically for every international domain or subfolder you set up. You can switch the automatic tags off under Online Store > Preferences, and if you do, you have to add your own to the theme. Most stores should leave them on and check them.

  1. In your Shopify admin, go to Markets and open a market. Under Market settings > Languages and domains, click Manage domains and note whether the market uses a subfolder such as /fr-ca, a subdomain or its own domain.
  2. Open a product page in each version, right click and choose View page source, then search for hreflang. Every version should list every other version and itself.
  3. Check that the language codes are correct, such as fr-CA for French in Canada, and that an x-default line exists.
  4. Search the same source for "priceCurrency". The currency in the structured data should match the currency the page shows a shopper in that market.
  5. Check that each version's canonical tag points to itself and not to the main English page. Our guide on inspecting canonical tags shows how.

Shopify's guide also explains the choice of structure. Subfolders need the least setup and share the authority of your main domain, while a separate top level domain builds its own authority and suits a market you are entering with a dedicated plan.

Why is translation not enough?

A machine translated page often keeps the details that only make sense in the home market. Sizes stay in US numbering, measurements stay in inches, the shipping line still promises two day delivery that only applies at home, and the return policy names the wrong country. An assistant quoting that page repeats every one of those errors.

  1. Add each language in Settings > Languages, translate the store with Shopify's Translate & Adapt app, and review every product title and the first paragraph of each description by hand.
  2. Add the local size system and units to the description or to a metafield for each market.
  3. In Settings > Policies, add a clearly headed section for each market to your shipping policy and your refund policy, and link the policy from each product page.

How do I keep one brand across every market?

Keep one brand name, one logo and one Organization block that every version shares, with the same sameAs links to your social profiles. A store that uses its short brand name in the US and its full company name on the UK version has given machines two candidates for one company. Our guide on sameAs links that prove you are one brand covers the markup, and NAP consistency covers the contact details.

How does a swimwear brand selling in three countries keep each market's details straight?

Take a swimwear brand on Shopify that sells to the US, to Canada in English and French, and to the UK. It uses subfolders, so the French Canadian pages live at /fr-ca. The automatic hreflang tags are present, but the UK product pages still show "free 2 day shipping", which only applies in the US, and the French descriptions still carry the English care instructions.

The owner writes a UK shipping line and a Canadian one, adds UK sizes to the description of each suit, and has a French speaker review the titles and the care instructions. In the page source she checks that the UK pages show GBP as priceCurrency and that every version lists the other three. The Organization block stays the same on all four.

Questions people ask about international AI visibility

Should I use subfolders or subdomains for international versions?

Either works when you use it consistently. Shopify notes that subfolders need the least setup and share the authority of your main domain, while separate domains build their own authority.

Does Shopify add hreflang tags automatically?

Shopify creates hreflang tags automatically for every international domain or subfolder you set up in Markets. You can turn them off under Online Store > Preferences, but then you must add your own.

Do I need separate structured data for each market?

You need the values that change to be localized in each version, especially price, currency and availability. The brand's Organization block should stay the same across every market.

Is machine translation enough for an international store?

It is rarely enough. Review titles and opening paragraphs by hand, and localize sizes, units, shipping terms and return policies for each market.

Sources

We opened every source below on November 9, 2026.

The Advanced scan reads 150 pages for $249, enough to compare product pages across your market versions in one report. Our guide on Shopify URLs AI can read covers the address side.

See whether this applies to your site

The free scan reads your own pages and shows which of these problems it finds on your site.

The free Visibility Mesh scan checks whether AI crawlers can reach your website and reads the structured data and text of 5 key pages. The scorecard has 3 complete findings, and each one names the page and the fix. No install, no call, no card.

Run the free scan