Resources · Articles

Shopify SEO in 2026: Google, AI search and when to go headless

Shopify generates your sitemap, robots.txt and canonical tags, so the writing on product and collection pages is your job. Product feeds reach AI shopping tools, and headless with Sanity suits stores that outgrow themes.

Share LinkedIn Facebook

By Rafal Gemza, Founder & Marketing Strategist. Published 26 November 2026.

A product card linked to a search results page on the left and an AI chat window on the right, with the same product shown in both.
Illustration. Growify Marketing.
In this article

Shopify generates a sitemap, a robots.txt file and canonical tags for every store, so the technical basics are in place before anyone writes code. The SEO work left to you is mostly the writing on product and collection pages, keeping pages quick and handling redirects when addresses change. Google says its AI results use the same SEO basics as normal search, and product feeds from Shopify and Google Merchant Center put your range in AI shopping tools. A headless store with Sanity can help once your content has outgrown what your theme can hold, although Shopify itself says it costs more to build and run.

What Shopify does for you

Shopify's SEO guide says every store's sitemap.xml and robots.txt files are generated automatically and that canonical tags are added to pages for you. We checked what the demo store for Shopify's free Dawn theme served on 25 November 2026.

A product page with four layers behind it, standing for the sitemap, robots.txt, the canonical tag and product structured data.
Illustration. Growify Marketing.
  • The sitemap at /sitemap.xml listed separate files for products, collections, pages, blogs and articles. A sitemap is a list of the addresses you want search engines to discover, and the demo's robots.txt file points to it.
  • The robots.txt file tells crawlers, the programs search engines use to visit pages, which addresses not to request. Shopify's default asks them to skip the cart, checkout and account pages, plus sorted and tag-filtered collection addresses, which Shopify says repeat the products on the main collection page.
  • The product we checked at /collections/all/products/art-deco-cyclamen had a canonical tag naming /products/art-deco-cyclamen as its preferred address. A canonical tag tells Google which address you prefer when the same page can be reached in more than one way.
  • The same product had product structured data, which is code that states a product's name, price and availability in a form search engines read directly. Dawn's product template includes it. If your theme came from somewhere else, run one of your product pages through Google's Rich Results Test to see whether the markup is there.

Dawn links to products at their main /products/ address. Some themes link through the collection address instead, using Shopify's within: collection filter, and that gives the same product a second address Google can crawl. The canonical tag tells Google which one you prefer, but Google treats it as a hint and can choose the other. To see what your theme does, copy a product link from a collection page and paste it somewhere you can read it.

The SEO work Shopify leaves to you

When several shops use the manufacturer's description, the copy on your product page is the same as theirs and does nothing to set your page apart. Write your own, starting with what customers ask before they buy: sizes, materials, what goes with what and delivery times. Each product and collection in the Shopify admin has a "Search engine listing" section where you write the page title and meta description. Google treats both as suggestions and sometimes shows different wording.

A search such as "women's waterproof walking boots" asks for a type of product, and a collection page is where you group that type. A collection page that is only a grid of photos gives Google very little to read. Add a short introduction and answers to the questions people ask when they compare the products in it. Google's guidance for its AI results asks for important content to be "available in textual form".

Alt text is a short description of an image that search engines and screen readers use. In the Shopify admin you add it by opening a product image and choosing Add alt text.

Some apps add scripts and styles that slow down the pages they run on. Test a product page in Google's PageSpeed Insights, remove apps you no longer use, then test the same page again.

When you change the last part of a product's web address, which Shopify calls the URL handle, Shopify shows a box for creating a redirect from the old address. Leave it ticked. A redirect sends anyone using the old link on to the new address. If you are moving to Shopify from another platform, use our redirect map template to pair each old address with its replacement before launch.

Verify the store in Google Search Console, which is Google's free tool for seeing how your pages perform in search. Google recommends it for spotting technical problems early.

How AI search finds Shopify products

AI tools can find your products by reading your public pages, and they can also receive your product data as a feed from Shopify or Google Merchant Center. The two routes work separately.

Your public pages

Google's AI Overviews are the summaries at the top of some search results. AI Mode gives longer AI answers for questions that need comparison or several steps. Both draw on Google's normal index. Google says a page can appear in them as a supporting link if it is indexed and eligible to show a snippet, the short extract under a search result: "There are no additional requirements to appear in AI Overviews or AI Mode, nor other special optimizations necessary." Being eligible doesn't guarantee a place. Google's newer guide adds that Search doesn't use llms.txt files or other AI text files, and that no special structured data is needed.

Google's checklist asks that both your robots.txt and your hosting let its crawler in, and that your structured data matches what shoppers can see on the page. It also says Merchant Center, Google's product listing service, can help your products appear in AI responses. Shopify's Google & YouTube sales channel keeps your Merchant Center feed in step with your store when its automatic sync settings are on.

ChatGPT search uses OpenAI's crawler, OAI-SearchBot. OpenAI says sites that block it "will not be shown in ChatGPT search answers, though can still appear as navigational links." Its training crawler, GPTBot, is a separate setting, so you can ask GPTBot to stay away and still allow OAI-SearchBot. The default robots.txt on Shopify's Dawn demo store names no AI crawler. Open /robots.txt on your own store to check that nobody has added a block, and make sure the store isn't behind a password.

Product feeds and agentic storefronts

Shopify's agentic storefronts feature puts your products in AI shopping tools: ChatGPT, Google AI Mode and Gemini, Microsoft Copilot and Meta. It is on by default for eligible stores, and you review it under Sales channels > Agentic in the Shopify admin. ChatGPT, Copilot and Meta get your products from Shopify Catalog, which is Shopify's own product feed. Google AI Mode and Gemini get them from Google Merchant Center.

One product feed connected to four AI chat windows. Three show the product and the fourth is locked and drawn with a dashed line.
Illustration. Growify Marketing.

For Shopify Catalog, your store has to be on the Starter plan or higher and can't be password protected. Each product needs a title, at least one image and a price above zero. Shopify also looks at your account's history and leaves out some product categories, and the full requirements are in its help centre. Every AI channel also needs your terms of service, privacy policy and refund policy filled in.

The ChatGPT channel is for stores that sell to customers in the United States, wherever the store is based, and Shopify says the same of Copilot. Checkout inside Google AI Mode and Gemini is for stores selling to the United States, Canada or Australia, but Shopify's Google page says shoppers without that checkout can still discover your products and are sent to your store to buy. Meta's checkout covers 11 countries, including the United Kingdom. If you sell only in the UK, set up Merchant Center through the Google & YouTube channel, check Meta's status in the Agentic section and keep your own pages in good order for ChatGPT search.

The Agentic section also has a search preview that shows how your products might rank in Shopify Catalog. It scores each listing on description length, images, reviews, variants and store policies, which gives you a list of fixes for the products that didn't rank.

If a channel is open to your store, add your returns process and delivery times to the agentic storefronts knowledge base. Shopify uses it so that AI agents can answer customers' questions about your business. Shopify's robots.txt help page says blocking AI crawlers in robots.txt doesn't stop Shopify Catalog sending your products to the channels you have switched on.

Measuring AI search and AI orders

Clicks from AI Overviews and AI Mode count in Search Console's normal Performance report, mixed in with other web search clicks. Since 31 August 2026, Search Console has also had a Generative AI performance report, which shows how often links to your site appeared in AI Overviews and AI Mode. It counts impressions only, and it doesn't appear for sites with too few of them. The Search generative AI setting, under Settings in Search Console, controls whether your site can appear in these features at all, and it is on by default.

Orders placed through Shopify's AI channels appear in your Shopify admin with the channel or referrer they came from.

When a headless store with Sanity makes sense

In a headless store, Shopify still holds your products, cart and checkout, and a developer builds the pages shoppers see in place of a theme, for example with Next.js, a framework for building websites. Sanity is a content system for the editorial side: buying guides, size guides, care instructions and landing pages, each linked to real products. This website runs on Next.js and Sanity.

Shopify, holding the product, cart and checkout, and Sanity, holding guide pages, syncing with each other and feeding one storefront.
Illustration. Growify Marketing.

Shopify's own guidance is to consider headless when you can't get what you need from its sales channels, themes and apps. One of the cases it lists is using a content system "for content that's integrated with your storefront". It also says a headless store "costs more to build and run than a theme" and needs developers to maintain it after launch.

Stay on your theme if it can show the product information and guides your customers need, and put the money into the work in the sections above. Consider headless with Sanity when you can name what the theme can't do, and it is one of these:

  • You publish guides, comparisons or recipes that need to sit next to products in ways your theme and apps can't support.
  • Your range or your markets need content structures that theme templates and metafields (the custom fields Shopify lets you add to products and other records) can't hold neatly.
  • You need page templates, or a speed improvement you have measured, that you can't get within the theme.

Whichever applies, budget for a developer to look after the store once it launches.

Sanity doesn't require a headless build. Its Sanity Connect app can also sync content into Shopify for use in a normal theme. With direct sync and automatic syncing switched on, the app copies your products and their variants into Sanity whenever you save them in Shopify, and it can copy collections too. It can send Sanity content back to Shopify as metafields. Editors link guides to the synced product records, and the storefront should fetch live prices and stock from Shopify, because the copy in Sanity usually arrives a couple of seconds after each change.

The SEO risks of going headless

Put the product name, price and description in the HTML your server sends, before any scripts run. In a study published in December 2024, Vercel and MERJ found that the OpenAI and Anthropic crawlers they observed, including GPTBot and ClaudeBot, downloaded JavaScript files but didn't run them. If a script adds the price or description after the page loads, those crawlers can miss it. Shopify builds theme pages on its servers, so a rebuild that moves product details into browser scripts loses something the theme already did. Next.js builds pages on the server by default.

The sitemap and robots.txt come from Shopify, and the canonical tag and structured data come from the theme, so a headless rebuild can lose them in different ways. On launch, open /sitemap.xml and /robots.txt on the address customers will use, and check a product page's code for the canonical tag and the product structured data. Shopify's Hydrogen documentation lists meta tags and structured data as work your own code has to do.

Shopify Catalog needs each headless product to answer at /products/ followed by its handle, either directly or through a server-side redirect from that address to your own product page. The product also has to be published to the Headless sales channel, or to the Hydrogen channel if you host on Shopify's Oxygen. A product that fails this can drop out of Shopify Catalog and the AI channels that rely on it, although it can still appear in normal search and through Merchant Center.

If the rebuild changes any addresses, add a permanent redirect from each moved page to its replacement on launch day, and let pages that no longer exist return a 404 error. Keep every address that hasn't changed exactly as it is. A product address that keeps returning an error eventually drops out of Google's index. Our redirect map template lists each old address next to its new one, so you can test every moved page.

More resources

Your marketing department,
one message away.

Tell us where you want to be. The person who replies is the strategist, on whichever app you actually use.