How to Add Structured Data in Shopify (2026)

Last updated
Expert reviewed
5 min read
Jacques Blom
Jacques Blom
CTO at Fudge.

Key takeaways

  • Shopify automatically adds Product, Organization, and BreadcrumbList schema to standard pages.
  • For FAQPage schema (which enables FAQ rich results in Google), you need to add an FAQ section with proper markup or use an app.
  • Additional schema types (HowTo, Article, Event) require editing theme.liquid or using Fudge.
  • Test all structured data with Google’s Rich Results Test before considering the job done.

Structured data is code you add to your store’s HTML that helps Google understand what’s on your pages. When Google understands your content as structured data, it can display rich results — star ratings, price ranges, FAQ dropdowns, and other enhanced search listings that take up more space and attract more clicks.

How do I add structured data to Shopify?

Start by understanding what Shopify already includes — then add what’s missing.


What Shopify adds automatically

Shopify’s built-in themes (Dawn and others) include several schema types out of the box:

Product schema — on every product page. Includes name, description, image, price, currency, and availability. This is what enables the star ratings and price ranges you see in Google search results for products.

Organization schema — usually in the footer or theme.liquid. Includes your store name, URL, and logo.

BreadcrumbList schema — on collection and product pages. Helps Google display the breadcrumb path (Home > Collection > Product) in search results.

To verify what’s already on your pages, visit a product page, right-click → View Page Source, and search for application/ld+json. You’ll see the JSON-LD schema blocks Shopify has already added.

You can also paste your URL into Google’s Rich Results Test to see all detected schema.


Adding FAQPage schema

FAQPage schema enables Google to show your FAQ answers directly in search results as expandable dropdowns. This can dramatically increase the space your result takes up on the page — more space means more clicks.

Method 1 — Use an app

Apps like FAQs by Relishify or HelpCenter generate proper FAQPage schema automatically when you create FAQs through their interface. This is the easiest approach.

Method 2 — Add an FAQ section with schema

If you want to add FAQs natively without an app, you’ll need to:

  1. Create or edit a section in your theme (Online Store → Themes → Edit code → sections/)
  2. Add the HTML for FAQ questions and answers
  3. Include FAQPage JSON-LD schema that references those questions

The JSON-LD looks like:

{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "How long does shipping take?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Standard shipping takes 3-5 business days."
      }
    }
  ]
}

This JSON goes in a <script type="application/ld+json"> tag. Fudge can build this for you — describe the FAQ section you want and it generates both the visible content and the schema markup.

Method 3 — Fudge

Describe what you need: “Add a FAQ section to my product pages with structured data for rich results.” Fudge generates the section with proper JSON-LD schema built in.

Add structured data to your Shopify store by describing it.
Try Fudge for Free

Adding custom schema types

For schema types beyond Product and FAQ — such as HowTo, Article, or VideoObject — you’ll need to add JSON-LD directly to your theme.

For site-wide schema (Organization, WebSite): edit theme.liquid in the <head> section.

For template-specific schema (Article on blog posts, HowTo on guide pages): add the JSON-LD to the relevant template file in the templates/ folder.

Always work on a duplicate theme. Online Store → Themes → three-dot menu → Duplicate before editing any code.


Testing your structured data

After adding any schema:

  1. Google Rich Results Test — paste your page URL and see which schema types are detected and whether they’re valid
  2. Google Search Console — under Enhancements, you’ll see which rich result types Google has detected across your site and any errors
  3. Schema Markup Validator — schema.org’s official validator at validator.schema.org

Errors in your structured data can prevent rich results from showing even if the schema is present. Test every time you make a change.


Common structured data mistakes on Shopify

Adding schema for content that isn’t on the page. If your FAQ schema references questions that don’t appear as visible text on the page, Google may ignore it or penalize it as misleading.

Duplicate schema. If you install an SEO app that adds schema on top of Shopify’s built-in schema, you may have duplicate Product schemas. Check the Rich Results Test for warnings about this.

Out-of-date prices in Product schema. Shopify’s built-in Product schema updates dynamically with your product prices, but custom-added schema may hardcode values that go stale.

Jacques's signature
Add structured data to Shopify by describing what you need.

You might also be interested in

How to Fix 404 Pages in Shopify (2026)
Fix 404 errors in Shopify by setting up URL redirects. How to find 404s in Google Search Console, add redirects individually, and bulk import via CSV.
How to Add Alt Text in Shopify (2026)
Learn how to add alt text to product images, theme images, and uploaded media in Shopify
How to Add Canonical Tags in Shopify (2026)
Learn how Shopify handles canonical tags automatically, when you need to override them, and how to fix canonical issues with collection pagination