GuidesShopify how-to
How to Connect Shopify to Google Search Console (2026)
Pick the right property type, verify it with DNS or a meta tag, fix the usual "can’t verify" errors, submit sitemap.xml, and know which two reports to open first.
Add your store in Google Search Console as a Domain property and verify it with a DNS TXT record, which covers every subdomain and both http and https. If you cannot edit DNS, add a URL-prefix property for your primary https address and verify it by pasting the HTML meta tag into theme.liquid. Then open Indexing, then Sitemaps, and submit sitemap.xml. Keep the DNS record or tag in place afterwards, because Google rechecks it.
Which property type should I choose: Domain or URL prefix?
Search Console offers two. A Domain property covers everything under your domain: every subdomain such as www, and both http and https. Google verifies it by DNS record only. A URL-prefix property covers only addresses that begin with the exact prefix you type, protocol included, and it can be verified in several ways.
For a Shopify store, choose Domain when you can add a DNS record, because one property then holds all your traffic, whether people arrive on www or the bare domain. Choose URL prefix when you cannot reach the domain settings, for example when someone else runs your DNS. If you use URL prefix, type the address exactly as it appears in your browser, https and www included (or excluded), since http://example.com and https://www.example.com count as different properties.
- Domain property: enter example.com, verify with a DNS TXT record, covers all subdomains and protocols.
- URL-prefix property: enter https://www.example.com/, verify by HTML tag, HTML file or other methods, covers only that prefix.
- You can hold both. Many stores keep a Domain property as the main view.
How do I verify with DNS when Shopify manages my domain?
This applies if you bought the domain through Shopify. In Search Console, choose Domain, enter your domain, and copy the TXT record it shows. In Shopify admin, go to Settings, then Domains, select the domain, and in the DNS settings section click Manage. Choose Add custom record, pick TXT, paste the Google value, and confirm. Shopify’s instructions say not to edit the name field, so leave it as it is.
Then return to Search Console and click Verify. Shopify says DNS changes can take up to 24 hours to take effect, so if verification fails at once, wait and try again before changing anything.
How do I verify with DNS when the domain is with GoDaddy, Namecheap, Cloudflare or another registrar?
The steps are the same in principle and the screens differ. Log in to whoever runs your DNS, which is the company shown as the nameserver provider, not always the company you paid. Add a TXT record. Google says to leave the host or name blank, or set it to @, and paste the value Search Console gave you into the value field. Save, then click Verify.
Google warns that manually installed DNS records can take up to two or three days before your provider starts serving them. Do not delete the record after Verify succeeds: Google’s guidance is that to stay verified you must leave the DNS record in place.
- Copy the TXT string exactly, with no added quotes or spaces at either end.
- Add the record where the domain’s nameservers point. A record added at a registrar whose nameservers you no longer use will never be seen.
- Keep other TXT records (email authentication, other verifications) intact. A domain can hold several TXT records.
How do I verify with the HTML tag in theme.liquid?
This is the route Shopify’s help centre documents for a URL-prefix property. In Search Console, click Add property, choose URL prefix, and enter your address with https://. Choose HTML tag, then Copy to take the whole meta tag, including the angle brackets. It looks like a meta tag with name google-site-verification and a long content value.
In Shopify admin, go to Online Store, then Themes. Beside your live theme, open the menu and choose Edit code. Under Layout, open theme.liquid and paste the tag on its own line directly below the opening head tag. Save. Return to Search Console and click Verify. Shopify says that if Google returns an error, you should wait 15 minutes and click Verify again.
- Paste it into the theme that is published. A tag in an unpublished theme is invisible to Google.
- Google requires the tag in the head of your homepage, so view the homepage source afterwards and search for google-site-verification.
- If you sell on several domains, verify each one separately. Shopify’s guidance is to paste each domain’s tag on its own line in the same theme.liquid file.
Why does HTML tag verification break when I change theme?
The tag lives inside one theme’s code, not in your store. Publish a new theme, or update to a fresh copy of the theme, and the new files do not have your line. Search Console periodically checks that your verification token is still present. When it is gone, Google warns you, and if the issue is not fixed your permissions on that property expire after a grace period. Google does not state how long that grace period is.
Two habits prevent it. Before you publish a new theme, copy the tag into the new theme.liquid first. Better, move to DNS verification, which does not depend on the theme at all. You can add a Domain property with a DNS record alongside your existing property and lose nothing. If the tag went missing and you have not noticed, re-add it and click Verify again.
Search Console says it cannot verify my store. What do I check?
Work through the causes in this order, from most to least common.
- Timing. Wait 15 minutes for a tag and up to 24 hours for a Shopify-managed DNS record, longer for a DNS record you installed yourself.
- Wrong property. You verified https://example.com but your store lives on https://www.example.com, or the other way round. Check which address your store redirects to under Settings, Domains, and add that one.
- Password page still on. Google reaches the lock screen and cannot see your tag. Remove the storefront password in Online Store, Preferences.
- Wrong theme. The tag is in a theme that is not published, or in a file the live theme does not load. Confirm by viewing the homepage source.
- Edited the name field on a Shopify-managed TXT record. Shopify’s instructions say not to change it.
- Pasted a partial tag. The full tag, from the opening angle bracket to the closing one, is needed.
- Record added at the wrong place. The nameservers decide where DNS is read from, not the registrar you paid.
- Multiple Google accounts. You are signed in to a different account from the one where you started the process.
How do I submit my sitemap?
Shopify builds the sitemap for you at yourstore.com/sitemap.xml. Shopify’s help page says it contains links to your products, primary product images, pages, collections and blog posts, updates when you add or change them, and cannot be edited by hand. Your store must not be in private mode for Google to read it.
In Search Console, open your verified property, choose Indexing, then Sitemaps. Type sitemap.xml in the box (your domain fills in the front) and click Submit. Submit the parent sitemap.xml only; it points to the child files for products, collections and the rest, and Google reads those itself. If you run more than one domain, submit the sitemap for each.
The Sitemaps report then shows Success, Has errors or Couldn’t fetch. Submitting does not guarantee that every URL is indexed, and Google does not say how long it takes. If you see Couldn’t fetch, the sitemap guide below covers the causes.
What do I look at first once it is connected?
Do not expect much on day one. The reports fill in over days. Open these two first and ignore the rest until they make sense.
- Indexing, then Pages (the Page indexing report). It splits your URLs into indexed and not indexed and gives reasons. Google says not every URL will be indexed, only the canonical ones, so look for your important product and collection pages in the list rather than trying to empty it. The not-indexed guide below explains the two statuses most stores meet first.
- Performance, then Search results. It shows clicks, impressions, click-through rate and average position, by query and by page, for the past three months by default. The newest hours are preliminary and can change.
- URL Inspection, at the top of every screen. Paste one product address to see whether it is on Google, which canonical Google picked and when it was last crawled. Use Test live URL to see how Google fetches the page now.
What does Google actually receive from a product page?
Search Console tells you what Google decided. It does not show you the raw page Google received. The free store scanner at /tools/ai-readiness-checker/ fetches a product page the way a crawler does, with no JavaScript, and checks whether review text is in the delivered HTML, whether Review or AggregateRating markup is present, whether the rating and review count are in the readable text, whether Organization markup says who you are, and whether the page is allowed to be indexed. No account is needed. It is a companion to Search Console, not a replacement for its reports.
Who should have access, and how do I keep it safe?
Verify once as an owner, then add other people in the Settings area of Search Console, using their own Google accounts, instead of sharing your login. Keep the verification record or tag in place for as long as you want access: Google states that if all verified owners lose their verification, all users lose access to the property. If a developer or agency verified the store for you, ask them to leave their record, or verify a second way yourself.
Frequently asked questions
Is Google Search Console free for Shopify stores?
Yes. Search Console costs nothing, on every Shopify plan. You only need a Google account and the ability to verify your domain by DNS record or theme code.
Should I use a Domain property or URL prefix for Shopify?
A Domain property if you can add a DNS record, because it covers every subdomain and both http and https in one place. A URL-prefix property if you cannot reach DNS. Google verifies Domain properties by DNS record only.
Do I need to add the meta tag if I verified by DNS?
No. One method is enough. Keep whichever record or tag you used in place, because Search Console rechecks it and can remove access if it disappears.
Which sitemap URL do I submit?
Submit sitemap.xml on your primary domain. Shopify generates it, and it links to the child sitemaps for products, collections, pages and blog posts. You do not submit the child files one by one.
How long until I see data?
Google does not give a figure. Expect the reports to fill in over days, and to stay thin for a new store that has few pages in the index.
I changed my theme and Search Console lost access. What now?
The HTML tag was in the old theme. Paste it into the new theme.liquid, or add a DNS TXT record instead, then click Verify. Do it soon, because permissions expire after a grace period if the issue is not fixed.
Does connecting Search Console get me more traffic?
Not by itself. It shows you what Google has done with your pages and lets you submit the sitemap. The traffic comes from pages that get indexed and are worth choosing.