How to Connect Google Search Console to a Shopify Store

Verify your store in Google Search Console by pasting Google's HTML tag into theme.liquid just above </head>, or by adding a DNS TXT record for a domain-level property. Then submit sitemap.xml — Shopify generates and maintains it for you. The whole thing takes about ten minutes.

Step 1: Add the property

  1. Go to search.google.com/search-console and sign in.
  2. Click Add property.
  3. Choose the type:
    • Domain covers yourstore.com, www.yourstore.com and every subdomain. It requires DNS access and is the better choice if you have it.
    • URL prefix covers one exact protocol and hostname, and accepts the meta tag method. Use https://www.yourstore.com — exactly the version your store redirects to.

Step 2: Verify via the theme (URL prefix property)

  1. In Search Console's verification screen, expand HTML tag and copy the full <meta name="google-site-verification" ... /> line.
  2. In your Shopify admin, go to Online Store → Themes.
  3. On your live theme, click ... → Edit code.
  4. Open layout/theme.liquid.
  5. Paste the meta tag on its own line immediately above </head>.
  6. Click Save.
  7. Return to Search Console and click Verify.

Two things break this step. First, a password-protected store — Google can't reach the page, so verification fails. Remove the password first (how to make your Shopify store live). Second, editing a theme that isn't published; the tag must be in the live theme, and it will be lost the next time you switch themes, so re-add it after any theme change.

Step 3: Verify via DNS (Domain property)

  1. Copy the TXT record value Search Console shows.
  2. Go to Settings → Domains in Shopify, then open your domain's DNS settings — in Shopify if the domain is Shopify-managed, or at your registrar if it isn't.
  3. Add a TXT record with host @ and the copied value.
  4. Save, wait a few minutes, then click Verify.

DNS verification survives theme changes, which is why I prefer it.

Step 4: Submit the sitemap

Shopify generates https://yourstore.com/sitemap.xml automatically on paid plans and keeps it current as you add products, collections and blog posts. It's an index file that points to child sitemaps for each content type.

  1. In Search Console, open Indexing → Sitemaps.
  2. Enter sitemap.xml in the field.
  3. Click Submit.

Status moves to "Success" within a day or two. You never need to edit or regenerate it, and you should not submit the child sitemaps individually.

Step 5: Read the first reports

Data starts appearing within two to three days. Three places to look:

  • Performance → Search results. Clicks, impressions, CTR and average position. Filter by Page to isolate /blogs/ or /collections/. Anything sitting at position 8 to 20 is a page you can move with better titles and internal links.
  • Indexing → Pages. Shows what Google indexed and what it skipped. Shopify stores routinely report "Duplicate without user-selected canonical" for variant URLs and "Alternate page with proper canonical" for tag pages. Both are usually normal. "Crawled – currently not indexed" on blog posts is not — see why Google is not indexing your Shopify blog posts.
  • Performance → Discover. This report only appears once your site has actually received Discover impressions, which is why most stores never see it. It's driven by feed recommendations rather than queries, so it reports clicks and impressions with no query data at all. Lifestyle and editorial blog content earns it far more often than product pages.

Once the data is flowing, the fixes usually start with page titles and meta descriptions — see How to Add or Update a Meta Description in Shopify and the broader Shopify SEO checklist. To check how the same pages look to AI assistants rather than Google, run the AI Visibility Checker.

FAQ

Do I need to submit a sitemap if Shopify creates one automatically?

Yes, submit it once. Shopify generates and updates sitemap.xml, but Google won't necessarily find it quickly on its own, and submitting gives you a coverage report showing how many submitted URLs were actually indexed. That report is the fastest way to spot a blog Google is ignoring.

Why does Search Console say my Shopify store can't be verified?

The usual cause is store password protection blocking Googlebot. Other causes: the meta tag was added to a draft theme instead of the live one, or the property URL doesn't match your canonical domain — https://www.yourstore.com and https://yourstore.com are different URL-prefix properties.

How long before Search Console shows data?

Verification is instant, but Performance data typically takes two to three days to appear and indexing reports can take a week to stabilise. Search Console never backfills data from before verification, so verify a new store on day one even if you have nothing to look at yet.

Should I add both a domain property and a URL prefix property?

A domain property alone is enough and covers every variant. Some merchants keep a URL-prefix property too because a handful of older third-party tools only accept that format. There's no downside to having both, and no ranking effect either way.