Shopify Hreflang Manager App Installation page showcase on mobile Shopify Hreflang Manager App Installation page showcase

Installation instruction

Note:

Please pay attention that currently, to utilize the application, you need to have at least 2 Shopify stores.

Having the app installed in stores and a pricing plan chosen, finish the setup in 3 simple steps:

  1. Set up main and secondary store(s) and select mapping options for product synchronization.
  2. Select the region for each connected store.
  3. Inject the app code into your stores.

Step 1: Link your Shopify stores to each other

After the app is installed in at least two Shopify stores and the pricing plan is selected, you need to connect these stores to each other.

Establish which store will be the main one and which store(s) will be the secondary ones. To set the necessary configuration, follow the next steps:

  1. 1.Open the Hreflang Manager app in any of the chosen stores to be a secondary.
  2. 2.Navigate to the Installation page and open Step 1.
  3. 3.Choose the option “This is my secondary store”.
  4. 4.Copy the code from the respective field.
    Hreflang Manager App for Shopify Copy the code from the respective field
  5. 5.Go to the store that you decided to be the main one.
  6. 6.Open the Hreflang Manager app, navigate to the Installation page, and open Step 1.
  7. 7.Enter the copied code into the respective field.
    Hreflang Manager App for Shopify Enter the copied code into the respective field
  8. 8.Tap the “Add” button.
  9. 9.If you have more than two stores, repeat the flow described for each remaining store.

After saving the store's connections, you can choose the mapping option for your stores in the pop-up. By default, we match using handles, barcodes, and SKUs. However, you may choose to use only the values that are relevant to your needs.

Hreflang Manager App from Shopify choosing the mapping option for your stores

Press the “Start mapping” button to match the stores and move to Installation Step 2.

In case you’d like to remove one of your stores from the synchronization, just use the “x” sign near the concrete store in the “Remove from sync” column.

Hreflang Manager App from Shopify - remove synchronization

Save the changes and launch the stores synchronization by pressing the Save button in the top modal window after all of the necessary changes and settings have been finalized in this Step.

Step 2: Set up the store’s hreflang tags

After the finalization of Step 1, our application imports the data from your Shopify Market’s settings. It includes all the domains, subdomains, and subdirectories, the language of each, and the associated countries.

On this step, there are several settings for the connected store that need to be configured:

  • Store country/region. Initially, the list of countries for a specific domain is being imported from your Shopify Markets settings, but in case you need to optimize it, you can do that here. A region can be chosen from the country dropdown. If chosen, the domain will be displayed for a particular region.
    Refer to this page to read more info about this setting.
  • Main fallback store (X-default). This store serves as the default destination for visitors whose browser language or region does not match any of the stores configured in the app. For example, if a visitor’s browser is set to Spanish (Mexico), but there is no Spanish (Mexico) store available, they will be automatically redirected to the X-default store.
    Refer to this page to read more info about this setting.
  • Main language store (Region-Independent Link). This is a store that is not tied to a specific region, but only to the language. For example, it can serve French content for both France and Canada.

Note:

Note: There are a few more features you can set up on this Step if necessary. Also, all of the settings from this step can be changed later on the Stores page. Read more about them here. .

Step 3: Adding the app code to the live theme

At this stage, as a merchant, you need to add the Hreflang Manager app code to your store's theme. The integration process may vary depending on your store's structure and whether you have multiple languages or markets added.

Step 3 is divided into two parts:

For Stores with a Unified Structure:

  1. Click "Go to customize" in the Hreflang Manager App.
    Hreflang Manager App from Shopify Adding the app code Go to customize
  2. In the theme settings, enable the app block.
    Hreflang Manager App from Shopify Adding the app code enable the app block
  3. Save the theme changes.
    Hreflang Manager App from Shopify Save the theme changes
  4. Check the result by clicking "Check all stores status."
    Hreflang Manager App from Shopify Check the result Status Stores

In case of any unfinished or conflicting settings, you’ll be notified via the messages in the app.

For Stores with Added Languages and/or Markets:

If your store already has hreflang tags created by Shopify Markets, extra steps apart from the ones described above are required. These existing tags need to be removed to prevent conflicts with the hreflang tags generated by our application.

  1. Disable other external hreflang tags by clicking "Add code to theme". The app will automatically mark them as ‘nohreflang', so they won’t influence your SEO.
    Hreflang Manager App from Shopify Disable other external hreflang tags
  2. Check the result by clicking "Check all stores status."
    Hreflang Manager App from Shopify Check the result Status Stores

In case of any unfinished or conflicting settings, you’ll be notified via the messages in the app.

These steps will ensure the successful integration of the Hreflang Manager app into your store's theme, tailored to your store's structure.

Uninstall Hreflang Manager

To uninstall the Hreflang Manager app, it is needed to follow these steps:

  1. On the Dashboard, press Disconnect near the connected store(s). Thus, you will delete the app code from the stores.
  2. Go to your store’s app list and find Hreflang Manager there. Press the Delete button in front of the app.

There is a possibility that the app code remains after uninstalling Hreflang Manager.

If you uninstalled the app without first disconnecting the stores as instructed above, some code may remain that interferes with hreflang tags generated by Shopify markets. To remove this code completely, you should follow these steps to fully clear the Hreflang Manager App code from your store (or share these instructions with your development team):

  1. Go to your Admin Panel -> Online Store -> Themes -> Actions -> Edit Code.
  2. Open the theme.liquid file.
  3. Find and remove the code {% include "gwa-hreflang" %} OR {% render "gwa-hreflang" %}.
  4. Save the changes.
  5. In the search bar, enter the word "hreflang".
  6. Open the gwa-hreflang.liquid file and click Delete.

FAQ about Installation page:

Which store should I choose as the main store?

Choosing the main store does not affect any hreflang settings. Its purpose is simply to serve as the central location for managing all Hreflang Manager configurations. Select the store that is most convenient for you to manage these settings.

Can I change the main or secondary store later?

Yes, you can change the main store configuration later on the Dashboard page. No other settings, synchronization, or hreflang tags won’t be affected.

What happens if I remove a store from synchronization?

Removing a store will disconnect it from the synchronization process. Its hreflang tags generated by our application will be removed, and will no longer be managed by the app. Your other connected stores will remain unaffected.

Can I use custom product identifiers for mapping?

By default, the app uses handles, barcodes, and SKUs for mapping. However, you can select only the identifiers that are relevant to your business during Step 1 of the installation. Also, you can change your choice later on the Settings page in Product Mapping Settings.

Hreflang Manager App from Shopify Product Mapping Settings

Custom identifiers outside of these options are not currently supported.

How can I check if the integration is successful?

After adding the Hreflang Manager app code to your theme and removing the Shopify Markets' tags, click "Check all stores status" in Step 3 of the installation. The app will verify the hreflang tags and store connections to confirm that everything is working properly. In case of any errors, you’ll see a banner with an explanation.

Can I change the configuration after installation?

Yes, all main settings, including store connections, mapping options, and hreflang configurations, can be updated anytime after installation via the Dashboard, Stores, and Settings pages in the app.