Adding an HTML verification file to Shopify is more straightforward than it may sound. Follow the process below to verify your store.
Need the upload steps?
Click here to go straight to the instructions for adding an HTML verification file to Shopify.
The explanation below covers Google Search Console verification and how long it remains valid.

When verifying your domain in Google Search Console or a service such as Pinterest, one option is to upload an HTML file to the root directory in your Shopify theme’s code.
Google Ads conversion tracking and Google Merchant Center also often need verification.
This proves to Google that you own the Shopify store.
You cannot add an HTML file directly to your Shopify store’s root directory.
Instead, edit the store’s theme code and add an HTML meta tag to verify the store with Google.
Verification in Google Search Console shows you more about how customers find your Shopify store through Google.
Knowing which keywords rank lets you build on what works. That will improve rankings further and bring more organic traffic.
That also means more sales.
These benefits give you a reason to verify your website with Google.
Before looking at how to verify your site in Google Search Console, it helps to know what verification means.
What is Verification in Google Search Console?
Verification in Google Search Console is the process of proving to Google that you own your domain (in this case, your Shopify domain). Verifying your site with Google will give you access to Google’s search data, allowing you to find the keywords that your store is ranking for. This data can be used to grow your traffic and increase your store’s sales.
How To Verify Your Website in Google Search Console
In Google Search Console, add a new property through the property selector bar.
For this method, add an HTML tag to your Shopify theme.
Place it in the <head> section; the steps below show you where to find that.
Other options are to upload an HTML verification file or add a DNS record at your domain registrar.
This guide does not cover those methods because you do not need them here.
Each method serves the same purpose: verifying your site with Google.
Adding the HTML tag to your Shopify theme verifies the store with no further action needed.
How Long Does The Verification Last?
Google regularly checks that your verification is still valid by looking for the HTML tag. If the tag is missing, you must verify the site again.
A failed authentication removes your access to Google’s Search Console data and tracking tools.
How to Upload Your Google HTML Verification File to Shopify
- Get Your HTML Verification Tag From Google Search Console
- Add Your HTML Verification Tag To Your Shopify Theme
- Verify That Google Can See The HTML Verification Tag
1. Get Your HTML Verification Tag From Google Search Console
Follow these steps:
- Sign in to your Google Search Console account.
- Find meta tag or HTML file verification, usually listed under Alternate Methods in Google Search Console.
- Open the dropdown and copy the complete HTML tag containing
<meta name=google-site-verification>to your clipboard.

2. Add Your HTML Verification Tag To Your Shopify Theme
After copying your HTML tag from Google Search Console:
- Open your Shopify account.
- Click on the Admin tab.
- Click on Online Store.
- Open Themes.
- Select the theme your Shopify store currently uses.
- Click on Actions.
- Select Edit Code.

- 8. Locate the Layout section.
- 9. Select
theme.liquidbeneath it to open the code editor. Searching for “theme.liquid” in the search bar will also find the file. - 10. Add the meta tag beneath the
<head>tag. Copy the entire HTML tag exactly as Google Search Console provides it so verification works. - 11. Click Save.

3. Verify That Google Can See The HTML Verification Tag
Go back to Google Search Console and select Verify to finish verification.
Allow a few minutes for Google to verify the site. You can then start viewing the data collected about your domain in Google Search Console.
Verify early when creating a business website or Shopify store. Data from before the HTML files were added will not be available to review later. Email Shopify support if you need more help.
Final Thoughts
Adding the HTML file to Shopify gives you access to Google’s search data.
Use that data to identify the keywords bringing customers to your store and increase visits and sales.

