Digital Darts
  • Services
    • Google Ads
    • Facebook and Instagram Ads
    • SEO Management
    • SEO Audit
    • Email Marketing
    • Case Studies
  • Shopify Books
    • Google Shopping for Shopify
    • Shopify Conversion Rate Optimization
  • Course
  • Articles
  • 🔥 Free DTC Newsletter

Digital Darts: Hreflang Tags App

Grow Your SEO

Easily follow Google’s best practices for multiple stores to avoid duplicate content penalties.

Increase Sales From Organic Search

Correct hreflang tags lets Google serve the most relevant store in search results to people, making it easy for them to purchase on the right store.

Unlimited Stores

Have different stores for various countries or languages? The Digital Darts: Hreflang Tags (formerly Multi-Store Hreflang Tags) app is designed to grow with your needs.

Fix Your Shopify SEO Today

Get the Digital Darts: Hreflang Tags app from the official Shopify Apps store today:

Get The App

If you have two or more Shopify stores for the same business serving different countries or languages, you may be losing traffic and sales from poor SEO.

The hreflang tag tells search engines like Google what version of the page from what store, to serve users. The tag also prevents duplicate content penalties from similar content being on multiple stores.

The SEO Challenge With Shopify

Nearly all Shopify stores do hreflang tags with a {{ canonical_url }} value or Shopify Markets. The big SEO mistake in doing with the canonical URL is you must have the exact same collections, products, pages, blogs, blog tags, and articles in each store—all with the same URL handle—otherwise your tags will point to non-existent pages (404s).

If one store doesn’t contain all the same products, or any URL handle for a store varies between another store, standard hreflang tags in Shopify are bad for SEO. Google will crawl non-existent pages and you will lose organic traffic.

The way to historically solve this problem is to have the exact same store setup and URLs across all stores. If you have stores in different languages, that is bad for SEO, and bad for the user experience, because your URL handles should be in the same language as the store.

Grow with Digital Darts: Hreflang Tags

Your Shopify stores can now have perfect hreflang tags to increase sales from organic search.

Without the app, your customers may be taken to the wrong store when coming from Google search, which can lead to confusion in international shipping and poorer conversion rates.

By using the app, organic conversion rates may increase as visitors are served the correct store for their region and language in search results.

If you’ve previously used a universal language in your URLs across stores to deal with hreflang tags, you can now catapult SEO and improve the user experience with URL handles in the same language as the store.

Highlights

  • Designed by 11-year Shopify SEO experts so you know your tags follow best practices. Works for all content types. Collections, products, pages, blogs, blog tags, and articles will be matched so stores have perfect hreflang tags.
  • Integrates with Shopify’s native language translation used by most language apps like Langify, Translate My Store, and sometimes Weglot depending on your settings. Don’t make the mistake of depending on their hreflang tags for multiple stores.
  • Works with any folder, domain, sub-domain, multi-market configuration possible in Shopify.
  • Install the app on any store you want to optimize. If you have four Shopify accounts for a business, install it on each account.
  • Automatic installation of tags. Just enable the app embed. No messy code surprises. Easily roll out the app.
  • Save hours of work. Products instantly map to each other based on SKUs, barcodes, or URL handles. Any articles, blogs, collections, and pages with the same URL handle instantly map.
  • Trusted long-time standing. From the makers of the Digital Darts: Related Posts app, which has been published and supported since 2015.
  • Partner friendly. Free use on development stores. Contact us for support.

How to Get Your Hreflang Tags Perfect

Install

Install the app in each store. Create an account with your email and password, or log in to an existing account, to link your stores together. Then enable the app embed from the setup checklist.

Map

Map any content types not automatically mapped.

Remove

Remove any previous bad hreflang tags.

That’s it. Give Google a few weeks to crawl your stores and the big G will be happy.

Frequently Asked Questions

Install the app through the Shopify marketplace for each store. On first install, create an account with your email and password. For additional stores, log in with the same account to link them together.

The app includes a setup checklist that walks you through enabling the app embed and getting started. If you have other hreflang tags, they’ll need to be removed.

The fastest solution is to use our Hreflang Checker Chrome extension. This lets you quickly check hreflang tags on webpages for SEO. See what tags exist and if a page’s language code, region code, and return links match.

It does not matter whether you have sub-domains, multi-lingual folders native in Shopify, or completely different domains. The app is made to give any Shopify store the hreflang tags for good international SEO.

It’s dead-simple. Once your stores are connected, content automatically maps based on your chosen matching method—SKU, barcode, or URL handle (configurable in settings). Other content types like collections, pages, blogs, and articles automatically map if they have the same URL handles. For ones with no match, you manually match them like you would in a spreadsheet. Watch this example:

Multi-Store Hreflang Tag Mapping Example

The app is made to solve the problem of having different products, collections, pages, blogs, blog tags, and articles between stores.

After being certified Shopify Experts and managing the SEO of Shopify clients for over 5 years, we saw the problem in Shopify with how stores talk with each other for SEO. It was non-existent. As a result, any alternative solution to do hreflang tags did damage to SEO.

The app solves the problem by syncing all content types across stores in a table-like design. This means you can tell Google, for example, that product A doesn’t exist on another store. Or if collection A has a different URL on another store due to language, the hreflang tags remain synced.

Whatever you do with redirects between stores has no effect on hreflang tags.

On redirects and serving pages, Google says:

Whatever configuration you decide to go with, you should make sure all the pages—including country and language selector pages—have rel-alternate-hreflang annotations.Google Search Central Blog

This means Google wants to see hreflang tags on your stores even if you redirect or give users the option to swap between websites. It is best practice to explicitly indicate the language and sometimes region of pages through hreflang tags to help organic SEO.

The default option in the app sets what store you want to have the x-default hreflang tag. Think of it as your catch-all store where you want people to go if they shouldn’t go to any other store. For most Shopify businesses, this is their US store. You can configure this in Settings > Domains. You can also disable x-default entirely if preferred.

Google says, “The new x-default hreflang attribute value signals to our algorithms that this page doesn’t target any specific language or locale and is the default page when no other page is better suited.” They recommend using the x-default feature as a fallback even though it’s not mandatory.

The app does not redirect users to follow Google best practice for users and SEO. It’s enticing to redirect shoppers to a store based on the user’s IP information. Resist the temptation. “Do not use IP analysis to adapt your content,” says Google’s documentation. “IP location analysis is difficult and generally not reliable. Furthermore, Google may not be able to crawl variations of your site properly. Most, but not all, Google crawls originate from the US, and we do not attempt to vary the location to detect site variations. Use one of the explicit methods shown here (hreflang, alternate URLs, and explicit links).”

The result of this sin is that Googlebot crawls the website then gets redirected to one version based on your redirection rules. The version Google sees will differ from what other shoppers see. When a website treats the Googlebot differently to people, the website is cloaking—a violation of webmaster guidelines.

Refer to our Shopify hreflang guide to learn what to do instead.

Go to Online Store > Themes > Customize > App Embeds, then enable the Hreflang Tags embed. The app’s setup checklist also provides a direct link to activate it. You can use the app on a preview theme.

By default, the app uses the languages and regions from your Shopify Markets settings. Market and locale changes are detected automatically via webhooks, so updates typically sync without any action on your part.

If you need to force a refresh, you can manually sync from the dashboard. Configure your Shopify Market settings in Shopify admin > Settings > Markets, and the app will pick up the changes.

If you need to override your Shopify Markets configuration, go to Settings within the app and enable the override option. This lets you set custom language and region values per domain.

To turn off hreflang tags without uninstalling, disable the app embed in Online Store > Themes > Customize > App Embeds. You can also exclude specific domains from hreflang output in the app’s Settings > Domains.

To stop billing and remove the app entirely, uninstall it from your Shopify admin. Your data is retained for 7 days in case you reinstall.

Language and Regions

Market and locale changes are automatically detected via webhooks. If the update isn’t reflected, you can manually sync from the dashboard. The tags will refresh shortly after.

The app reads languages and regions from your Shopify Markets configuration. To change them, go to Shopify admin > Settings > Markets and update your market settings there. Changes are typically detected automatically via webhooks, or you can manually sync from the app dashboard.

If you need to override what Shopify Markets provides, enable the override option in the app’s Settings. This lets you set custom language and region codes per domain.

Yes. The language follows Google’s requirement of being in ISO 639-1 format. The region also follows their requirement of being in ISO 3166-1 Alpha 2 format.

A language can differ from the region. A region can be ignored. However, a language must be specified to meet Google’s advanced SEO requirements.

Thanks to the app, you can have hreflang tags like the following in Shopify:

en: English language content with no region
en-au: English language content for Australian users
es-mx: Spanish language content for Mexican users

Removing Other Bad Hreflang Tags

During the installation process, you’re asked to remove hreflang tags inserted from other apps or Shopify. This does not affect the app, but multiple hreflang tags confuses Google.

We suggest removing old hreflang tags once the app is installed in all stores. Mapping does not need to be complete because most Shopify stores have poor hreflang tags to begin with.

Most translation apps like Langify v2, Translate My Store, and Translation Lab use Shopify’s native hreflang tags. You need to contact Shopify support to ask them to disable their default hreflang tags for each store.

Contact Shopify support to ask them to disable their default hreflang tags for each store. This is something only they can do.

Remove all other hreflang tags by searching “hreflang” in the theme.liquid file. If you can’t find the tags, they may be in the snippets folder. Use the Liquify – Shopify Enhanced Code Search/Editor Chrome Extension to locate where the tags are inserted.

Getting Geeky Questions

When no language or region from the hreflang tag matches a user’s browser setting, the x-default tag tells Google what page to take users to. Setting a default is best practice for when no languages match.

The app lets you set one domain as the default in Settings > Domains, which uses a value of hreflang="x-default". Alternatively, no default can be set by disabling x-default in Settings. Individual pages cannot be changed to a default different to the store settings.

One of the main reasons we made this app is to solve the problem of different content between stores!

If an unpublished product page was included in the hreflang tags on the same SKU of another store, it would generate a 404. That’s not good for SEO.

Any product, collection, page, article, or blog not live will not be linked to via other hreflang tags. Additionally, items marked with Shopify’s seo.hidden metafield (noindex) are automatically excluded from hreflang tags, since pages hidden from search engines shouldn’t appear in hreflang annotations.

If you have a unique type of content on one store but no other, you can add it as a mapping (with it as the only entry) so that it has hreflang tags that point to itself. Some experts may argue this is unnecessary. Without any mapping, there are no tags on the page. If the store has multiple languages, adding the store as the only mapping adds the correct hreflang tags to it.

Pagination is a sequence of numbers for content. In ecommerce, it’s primarily a usability feature that lets people navigate between multiple pages of a product category. The alternative is to have all paginated products displayed on one page, which can cause confusion and excessive load times.

Shopify often paginates collection content. How should you best handle hreflang tags for these pages to maximize your international SEO?

If an English store has products D, E, and F on page 2, while the German version of the store has products F, G, and H on page 2, it makes sense from an SEO perspective to not point the hreflang tags on these pages to page 2 of each store. The content is different to each other. Similarly, a page 2 on one store may not exist on another, which can constantly change based on product availability. It gets messier when canonical tags come into play, and they always do in Shopify. Here’s why.

Shopify canonicalizes paginated URLs to themselves. The page /collections/all?page=2 will have a canonical tag of:

<link rel="canonical" href="https://example.com/collections/all?page=2">

Google’s John Mueller said if this happens, one of the hreflang tags should mention /collections/all?page=2:

Make sure any rel=canonical you specify matches one of the URLs you use for the hreflang pairs. If the specified canonical URL is not a part of the hreflang pairs, then the hreflang markup will be ignored.

On the back of Mueller’s guidance, and to avoid paginated content with hreflang tags pointing to 404s, the app does not have hreflang tags on paginated pages. SEO experts agree not having hreflang tags on paginated pages with canonical tags is best. For more evidence, watch John discussing this issue in an office-hours hangout.

When it is the first paginated page, hreflang tags are included because they match the canonical URL and won’t result in any 404s. For example, the page /collections/all?page=1 has the following canonical and hreflang tags:

<link rel="canonical" href="https://example.com/collections/all">
<link rel="alternate" href="https://example.com/collections/all" hreflang="en">
<link rel="alternate" href="https://example.com/collections/alle" hreflang="de-de">

Shopify canonicalizes product variant URLs to the product URL. The page /products/product-name?variant=1234567890 will have a canonical tag of:

<link rel="canonical" href="https://example.com/products/product-name">

Variants URLs have hreflang tags that point to the primary URL, not the variant. This is called a “non-self referencing canoncial tag”. Following Google’s advice revealed in the FAQ “How is paginated content handled?“, this is done in order that hreflang tags match the rel=canonical link.

New products and collections and their titles or URL changes sync almost instantly via webhooks.

Pages, blogs, and articles update instantly when you sync from the dashboard. Shopify does not provide webhooks for these content types, so a manual sync is needed to pick up changes.

If your Weglot domains are configured as sub-folders with standard region and language folder names, the app will work.

If you have unique domains or sub-domains configured in Weglot, you cannot have perfect hreflang tags between Shopify accounts. Weglot’s domain configurations are a black box. They do not use Shopify’s APIs nor do they make the data easily available. A third-party app has no idea what these settings are in Weglot.

The alternative to achieve perfect hreflang tags for good SEO is setting up your domains in Shopify Markets or open new Shopify accounts. The domain and regions can be resynced through the app to the correct settings. Shopify makes the language, regions, and domains available.

Semrush and ahrefs always give an error of “Conflicting hreflang and rel=canonical” or “No self-referencing hreflang” for well-implemented hreflang tags in Shopify.

These messages are wrong with SEO best practices for hreflang tags. The errors occur because pages that are not the canonicalized version have hreflang tags that point to the canonicalized version.

This is the correct way to set up hreflang tags as Google’s John Mueller famously advised:

Make sure any rel=canonical you specify matches one of the URLs you use for the hreflang pairs. If the specified canonical URL is not a part of the hreflang pairs, then the hreflang markup will be ignored.

You may see a fluctuation of visibility report in Semrush or performance metrics in Google Search Console. This can happen the day the app is implemented as Google begins to correctly shuffle traffic between stores.

There are plenty of tools that will check tags on a page-by-page basis to confirm the errors reported in Semrush or ahrefs.com are false. The most reliable, comprehensive way to double-check your hreflang tags is with Screaming Frog. You can run a crawl of one of your stores then click the “Hreflang” tab at the top to see your tags.

For the ultimate resource to understand hreflang tags and fix errors in Google Search Console, ahrefs.com, Semrush, and Screaming Frog, read “How to Add Flawless Hreflang Tags in Shopify At Last“.

For help with the app, please reach out to our support by filling in the support form. Share your question(s) or issues, and share as much detail as possible to stop emails going back-and-forth. If it helps to include screenshots, you can include screenshots that are privately hosted online because attachments through the form are not possible.

I Need Further Help

For the ultimate resource to understand hreflang tags and fix errors in Google Search Console, ahrefs.com, Semrush, and Screaming Frog, read our guide “How to Add Flawless Hreflang Tags in Shopify At Last“.

For help with the app, please reach out to our support by filling in the support form. Share any questions or issues.

Fix Your Shopify SEO Today

Get the Digital Darts: Hreflang Tags app from the official Shopify Apps store today:

Get The App

Get Your Free 4 Rules Of Store Growth:

Learn the tactics to get more buyers to your store, increase profit per order, and immediately download a 39-page deck "4 Rules of Store Growth". Join over 5,000 subscribers who completed the course by entering your name and email:

We guarantee 100% privacy. Period.

Recent Posts

  • Top ChatGPT Hacks for Shopify to Boost Your Sales
  • This New Meta Partnership Ads Setup Is Working For Shopify
  • How Shopify Brands Can Build Meta Ads Faster With Sora 2
  • Facebook Ad Targeting Explained: Why Broad Audiences Scale Faster
  • How To Scale Your Shopify Store Fast: Proven Growth Strategies for 2026

Categories

  • Analytics
  • Conversion Rate Optimization
  • Facebook Ads
  • Google Ads
  • SEO
  • Shopify Tutorials

Tools and Resources

  • Digital Darts: Related Posts Shopify App
  • Digital Darts: Hreflang Tags Shopify App
  • Google Campaign UTM URL Builder
  • Online Store Profit and Shipping Calculator
  • Google Ads Match Type Tool
  • Link Research Tool

Follow For Weekly Shopify Marketing Tips

X
LinkedIn
YouTube
Helpful Links
  • About
  • Contact
  • Support
  • Careers
  • Partners
  • Shopify
  • Tools
  • Privacy and Cookies Policy
  • Terms of Service
  • Web Accessibility Statement

© Digital Darts® 2015

Our Best Guides
  • Google Shopping for Shopify: The Definitive Guide
  • Shopify Conversion Rate Optimization
  • The Shopify SEO Expert Guide: Over 101 Tips (Updated For 2026)
  • The Finest Google Analytics Setup in Shopify for Splendid Data
  • You can also subscribe to our YouTube channel for videos on building a better Shopify business
YouTube
X
LinkedIn
Get Proven Tactics to Grow

Take the next step and get a free 39-page deck to rapidly scale your store:

Manage your privacy

We use cookies to ensure you get the best experience on our website. Consenting to these technologies allows us to process data such as browsing behaviour or unique IDs on this site. Not consenting affects certain features and functions.

Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
Manage options
  • {title}
  • {title}
  • {title}
Manage your privacy

We use cookies to ensure you get the best experience on our website. Consenting to these technologies allows us to process data such as browsing behaviour or unique IDs on this site. Not consenting affects certain features and functions.

Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
Manage options
  • {title}
  • {title}
  • {title}