How to add schema markup to your site
Schema markup is how you hand search engines the facts instead of hoping they guess. It's what turns a plain blue link into a result with stars, prices, or FAQs.
Schema markup is how you hand search engines the facts instead of hoping they guess. It's what turns a plain blue link into a result with stars, prices, or FAQs.
Schema markup (structured data) is a small block of JSON-LD you add to a page describing what it is — a product, an article, a local business, a set of FAQs — in a vocabulary from schema.org that search and AI engines understand.
It doesn't change how the page looks to visitors. It changes how machines read it: making your pages eligible for rich results, and helping AI answer engines recognise and cite you accurately.
Rich results (stars, prices, FAQ dropdowns, breadcrumbs) take up more space and earn more clicks than a plain link. And as AI answer engines increasingly summarise the web, clean structured data is one of the strongest signals that helps them understand and reference your business correctly.
Abby flags “Schema Markup” when a page has no JSON-LD structured data, or when what's there is invalid. The fix is usually adding one well-formed block matched to the page type.
Run Abby's free scan — it checks this and 25 other on-page, technical, and structured-data signals in about 60 seconds, no signup.
Scan my site freeAdd JSON-LD structured data in a <script type="application/ld+json"> block. Start with Organization or LocalBusiness schema. Use Google's Structured Data Testing Tool to validate.
Before
<!-- No structured data: search engines infer the page type from scratch -->
After
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Example Studio",
"url": "https://www.example.com",
"logo": "https://www.example.com/logo.png"
}
</script>
Install a schema plugin like Schema Pro, Rank Math, or Yoast SEO Premium. These generate structured data automatically based on your content type.
Many Shopify themes include basic Product schema. For additional types, use an app like JSON-LD for SEO or Smart SEO.
Go to Page Settings > SEO (Google) > Advanced SEO > Structured Data Markup. Wix has built-in schema support for some page types.
Squarespace adds basic schema automatically. For custom schema, inject JSON-LD via Page Settings > Advanced > Page Header Code Injection.
Add a <script type="application/ld+json"> tag in your layout.tsx or page.tsx. In App Router, you can include it directly in JSX: <script type="application/ld+json" dangerouslySetInnerHTML={{__html: JSON.stringify(schemaData)}} />. Or use the next-seo or schema-dts package.
Install a structured data extension from the Magento Marketplace, or add JSON-LD manually to your theme's layout XML files.
Highest impact on pages eligible for rich results: recipes, products, articles, events, jobs, how-to guides, FAQs. Pure landing pages, contact forms, and admin interfaces don't qualify for rich results and don't need schema markup.
Abby's free scan finds which of 26 checks your site fails. The $8.99 fix guide turns each one into a copy-ready fix for your exact pages — prioritized, with code — or bundle it with a security fix guide for $19.99.
Get my fix planYes — Google explicitly recommends JSON-LD. It sits in one self-contained block instead of being woven through your markup, which makes it far easier to add and maintain.
It's not a direct ranking factor, but it makes pages eligible for rich results that lift click-through, and it helps search and AI engines understand and cite your content.
Match it to the page: Organization or LocalBusiness for your homepage, Product for product pages, Article for posts, FAQPage for Q&A. You can generate any of these with our free Schema Markup Generator.