Schema markup for SEO and AI search: what matters in 2026

Schema markup is structured data, usually JSON-LD, that labels what a page is about in a machine-readable way. It helps search engines understand entities and can make pages eligible for rich results. It does not ensure rankings or AI citations. For stores, Product, Offer, Organization and breadcrumb markup matter most.

By Barron Zuo · Updated

Talk to Barron about your store or program

What is schema markup, and what does it actually do?

Schema markup is a vocabulary from schema.org that describes the things on a page: a product, its price, a brand, an article, a store location. Search engines read it alongside the visible content to confirm what the page is. The most common format is JSON-LD, a block of script in the page that stays separate from the visible HTML, which makes it easier to maintain than older inline formats.

What it does is limited and specific. It clarifies meaning, helps connect your pages to a recognizable entity, and can make a page eligible for enhanced displays such as product details or breadcrumbs in search results. Eligibility is not entitlement: a search engine decides whether to show an enhanced result, and it can change its mind.

What it does not do is rank a thin page above a strong one, or force an AI assistant to cite you. Treat structured data as a clarity layer on top of good content, a fast site and crawlable pages. The technical SEO checklist on this site covers those foundations.

Which schema types matter for an ecommerce store?

Start with the types that describe what you sell and who you are, and add others only when a page really contains the matching content. The table maps each type to where it belongs and what it is for. Check Google's current structured data documentation before building, since supported types and required properties change over time.

TypeWhere it belongsWhat it communicatesTypical risk
Product with OfferProduct pagesName, image, brand, price, currency and availabilityPrice or stock in markup differs from the visible page
AggregateRating and ReviewProduct pages that show real reviewsReview counts and ratings from genuine customersMarking up reviews that are not shown or not real
OrganizationHome pageBrand name, logo and official profilesMissing logo or inconsistent brand name
WebSiteHome pageSite name and sitewide identityOutdated search action markup
BreadcrumbListProduct and collection pagesPage position in the site hierarchyBreadcrumbs that do not match the visible trail
Article or BlogPostingEditorial contentHeadline, author and datesAuthor or date left blank or wrong
FAQPagePages with real visible Q and AQuestion and answer pairsNo longer produces rich results for most sites; use only if it mirrors visible copy
LocalBusinessStores with a physical locationAddress, hours and contact detailsDetails out of sync with other listings

How do you write and place JSON-LD correctly?

Write JSON-LD that mirrors the visible page, then place it where your platform allows. Every value in the markup should match what a shopper sees: the same name, the same price, the same availability. Markup that describes something the page does not show is a quality problem, not an optimization.

Follow this order of work for a product page.

  • Pick the primary entity: a single Product for a single-product page, and link its Offer inside it.
  • Fill required and recommended properties first: name, image, description, brand, SKU or other identifiers, price, priceCurrency and availability.
  • Use stable identifiers such as GTIN, MPN or SKU when you have them, and keep them consistent with your product feed.
  • Generate the markup from the same data source as the visible price and stock, so the two cannot drift apart.
  • Place the script in the page template, not pasted by hand onto individual pages, so a catalog change updates every page.
  • Link entities together: reference your Organization from the Product brand, and use sameAs links to official profiles only where the profile is genuinely yours.

How do you validate structured data and find errors?

Validate in two layers: syntax first, then eligibility. A valid file can still be ineligible for an enhanced result, and an eligible file can still not be shown.

Use the schema.org validator to confirm the markup parses and the types and properties are real. Use Google's Rich Results Test to check whether a specific URL is eligible for the enhancements Google currently supports. Then watch the enhancement reports in Search Console, which show errors and warnings across the whole site after Google has crawled your templates. Fix errors that affect required properties first, because those can disqualify a page.

After any theme update, app install or platform migration, re-test a sample of product, collection and article pages. Structured data is one of the first things that quietly breaks when a template changes, and duplicate markup from both a theme and an app is a frequent cause of conflicting product data.

Does schema markup help AI search, and what is observed versus assumed?

Be careful here, because the claims outrun the evidence. Observed: Google states that structured data helps it understand a page and supports enhanced search features, and that AI features in Search use pages that are indexed and eligible to show a snippet, without requiring special markup. Check Google Search Central for the current wording. Observed: product feeds and structured data are widely used by shopping surfaces to read price and availability.

Assumed, not proven: that adding schema makes a chat assistant more likely to cite or recommend a page. No vendor publishes a rule that says so, and a page without markup can still be read, summarized and cited from its visible text. A fair operator position is to use schema because it is low-risk clarity and helps eligibility for search features, and to measure AI visibility separately instead of crediting markup for it. The AI visibility measurement guide on this site shows how to do that.

What about FAQ, HowTo and review markup?

Google reduced FAQ rich results to a small set of sites and retired HowTo rich results in 2023, so these types no longer earn visible search enhancements for most stores. Confirm the current status on Google's documentation before investing time. The questions and answers are still worth publishing as visible page content, because readers and AI systems can use the text itself.

Review and rating markup carries a different risk. Only mark up reviews that are shown on the page, come from real customers, and are about the specific product. Copying a rating from another site or marking up the store's own self-written praise can lead to manual action or lost eligibility. If your reviews come from a third-party app, confirm what markup it outputs so you do not create duplicates.

What are the most common schema mistakes on ecommerce sites?

These problems appear again and again in store audits, and each has a clear fix.

  • Price, currency or availability in markup does not match the page, often because a variant selector changes the visible price but not the JSON-LD.
  • Two sources emit Product markup at once, such as the theme and a reviews app, giving search engines conflicting values.
  • Marking up content that is not visible to users, such as a review block hidden by CSS.
  • Using one generic description or one image for every product in the template.
  • Leaving out the Organization logo or using several slightly different brand names across pages.
  • Treating a clean validator result as proof of impact. Validation shows that the file is well formed, not that it moves rankings or traffic.

How should an operator prioritize schema work?

Do it in this order: fix product data accuracy, clean up duplicate or conflicting markup, add Organization and breadcrumb markup, then extend to editorial and local types where they apply. Measure impressions, click-through rate and enhancement coverage in Search Console before and after, and keep expectations modest: markup supports the content, it does not replace it.

If the store's catalog is large, generate markup from the product feed or catalog fields once and test a handful of templates rather than editing pages one at a time. For a wider review of entity signals, crawl access and indexing, see the technical SEO checklist and the guide to ranking in ChatGPT on this site.

Frequently asked questions

What is schema markup?

Schema markup is structured data, most often written in JSON-LD, that uses the schema.org vocabulary to describe the entities on a page, such as a product, price, brand or article. Search engines read it alongside visible content to understand the page and to judge eligibility for enhanced results. It is a clarity layer, not a ranking switch.

Does schema markup help SEO?

It helps search engines understand a page and can make it eligible for enhanced displays such as product details or breadcrumbs. It is not a direct ranking factor that lifts weak content, and no markup ensures a rich result. Treat it as supporting good content, accurate product data and a crawlable site.

Does schema markup help AI search and ChatGPT?

There is no published rule that schema makes an AI assistant cite a page. Google says AI features in Search need indexed, snippet-eligible pages and no special markup. Schema is still worth adding for clarity and search eligibility, but measure AI visibility separately instead of crediting markup for any mentions.

Which structured data types are most useful for an online store?

Product with Offer on product pages, Organization and WebSite on the home page, and BreadcrumbList on product and collection pages cover most of the value. Add AggregateRating only for real, visible reviews, and Article markup for editorial content. Check Google's current documentation for required properties before building.

Do FAQs with structured data still improve SEO?

FAQ rich results are now limited to a small set of sites, so for most stores the markup no longer produces a visible search enhancement. Keep the questions and answers as visible page text, which readers and AI systems can use, and add FAQPage markup only if it exactly mirrors that visible copy.

How do you validate JSON-LD?

Use the schema.org validator to confirm the file parses and the properties are real, then Google's Rich Results Test to check eligibility for a specific URL. After deployment, watch the enhancement reports in Search Console for site-wide errors, and re-test sample pages after any theme, app or platform change.

What is entity schema in SEO?

Entity schema describes the real-world things behind your site, mainly your brand as an Organization, plus products, authors and locations, and links them with consistent names and identifiers. The goal is that search engines can tie your pages to one clear entity. Use sameAs links only to official profiles you control.

Can wrong schema markup hurt an online store?

Yes. Markup that conflicts with visible content, such as the wrong price, hidden or fake reviews, or duplicated product data, can lose rich-result eligibility and may draw a manual action for spammy structured data. Generate markup from the same data as the page, avoid hidden content, and re-check after template changes.

Should schema markup use JSON-LD or microdata?

JSON-LD is the format Google recommends for structured data, and it is usually easier to maintain because it sits in one script block, separate from the page's HTML. Microdata and RDFa remain valid. Whichever format is used, the markup must match the visible content. Check Google's current documentation for supported types.

How do you add schema markup to a Shopify store?

Many Shopify themes output basic Product markup already. Additional markup can be added by editing theme templates or by using an app, but duplicate or conflicting Product markup should be avoided. Check what the theme outputs first, then validate with Google's Rich Results Test and the Schema Markup Validator.

Is a schema generator enough to add structured data?

A generator can produce valid starting code, but it does not know the page. Values such as price, availability and ratings must match what visitors see, and the right types depend on the page. Review the output, remove unsupported fields and validate it, since mismatched markup can make a page ineligible for rich results.

Want help with GEO and AI search?

GEO consulting: generative engine optimization for ecommerce and affiliate brands. Or send a short brief through the contact page.