Verify your domain with third-party services

Third-party services like Pinterest, Google Webmasters, and Zoho require you to verify your domain. This makes sure that you are the correct owner of your Shopify store before they provide their services to you.

Tip

This solution works only if you are using a custom domain with your store. Any stores that use the .myshopify.com URL as their only domain cannot verify their domain with a third party. You must also set your root domain as your primary domain in your Shopify admin.

Verify using a meta tag

  1. On the third-party site, choose to verify your site using a meta tag verification method.

  2. Highlight the full meta tag and copy it to your clipboard with cmd + c on a Mac or ctrl + c on a PC. Make sure you select everything, including the < and >. For example:

    <meta name="google-site-verification" content="IV7BPLESttSpBdxSWN1s4zlr4HIcuHkGQYmE3wLG59w" />
    
  3. From your Shopify admin, click Online Store, and then click Themes (or press G W T).

  4. Find the theme you want to edit, click the ... button, and then click Edit HTML/CSS.

  5. In the Layout section, click theme.liquid to open the file in the online code editor.

  6. Paste the meta tag that you copied on a blank line directly below the opening <head> tag:

    Paste third party verification tag
  7. Click Save.

  8. Complete the verification steps on the third-party site.

Note

You must disable your storefront password in order for you to verify your domain. If you are not ready to launch your store, you can deactivate your storefront password, and then reactivate it after you've verified your domain.

Verify using a file upload

  1. Follow the instructions to download a file to verify your site with. This is usually an HTML or XML file, depending on the service.

  2. In a new tab, open your Shopify admin.

  3. From your Shopify admin, go to the Settings > Files page.

  4. Click Upload files:

    Click upload files
  5. Choose the file that you downloaded in step 1. For example, with Pinterest you should have a HTML verification file, similar to pinterest-b578a.html. Click Open.

  6. After the file has uploaded, click its URL in the URL column. Copy it to your clipboard with cmd + c on a Mac or ctrl + c on a PC:

    Copy uploaded file url
  7. From your Shopify admin, click Online Store, and then click Navigation (or press G W N).

  8. At the top of the Navigation page, click the URL Redirects button:

    Click url redirects
  9. Click Add a URL Redirect:

    Click add a url redirect
  10. In the text field Redirects to, paste the URL you copied in step 6:

    Paste copied url

    Note

    Your site may not verify properly with the extra characters appended to the end of the URL (e.g. https://cdn.shopify.com/s/files/1/0219/8092/files/pinterest-b578a.html?2307). Before you remove them, try to verify your website first. You can always remove them later.

  11. In the text field for Old path, add the original file name of the HTML/XML file. For example, with Pinterest, the original file name was: pinterest-b578a.html. Include a / before the filename.

    Type original filename

    Note

    You can get the file name from the Redirects to field. Make sure you do not include the extra characters after the .html file extension.

  12. Click Save URL redirect.

  13. Go back to the third-party site and continue the verification process.

Note

You must disable your storefront password in order for you to verify your domain. If you are not ready to launch your store, you can deactivate your storefront password, and then reactivate it after you've verified your domain.

Want to discuss this page?

Visit the Shopify Community