Write schema as JSON-LD, add it through your CMS or SEO plugin, mark up only what's on the page, and test it with Google's tools.

Halftone collage of an open card catalogue drawer on off-white paper with a yellow circle

To add schema markup to your website, write it as JSON-LD, place it in the page’s HTML (usually through your CMS or an SEO plugin), describe only what’s visible on that page, then test it with Google’s Rich Results Test before and after it goes live. That’s the whole process. The skill is in choosing the right types and keeping them accurate.

Schema markup is structured data that tells search engines and AI assistants what a page is about in a format they can read without guessing: this is an organisation, this is its address, this person wrote this article, this product costs this much. If you need the basics first, our explainer on what schema markup is and how it works covers them.

It matters more now than it did a few years ago. Google has retired several rich result types, but it still uses structured data to understand entities, and AI search tools lean on clear, consistent facts about who you are. Markup that ties your brand, people and services together is one of the simplest ways to make those facts unambiguous.

Step 1: decide which schema types each page needs

Start with your page templates, not individual pages. Most business sites only need a handful of types, and each template gets the same set.

Page type Schema types to use
Home page Organization (or LocalBusiness), WebSite
Service pages Service, with a provider pointing at your Organization
Blog posts Article or BlogPosting, with an author Person
Team and author pages Person, with sameAs links to their profiles
Product pages Product, Offer and, if you collect them, Review
Contact or location pages LocalBusiness with address, opening hours and geo
Every page BreadcrumbList

Check Google’s search gallery for the types that still produce rich results, but don’t limit yourself to those. Organization, Person and Service markup rarely changes how a listing looks. It does help search engines and AI tools connect your brand to the right facts, which is the foundation of entity-based SEO.

Step 2: write the markup in JSON-LD

Use JSON-LD. Google recommends it, and it sits in its own script block, so it doesn’t tangle with your page design. A simple Organization block looks like this:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://www.example.co.uk/#organization",
  "name": "Example Ltd",
  "url": "https://www.example.co.uk/",
  "logo": "https://www.example.co.uk/logo.png",
  "sameAs": [
    "https://www.linkedin.com/company/example-ltd"
  ]
}
</script>

Three habits make a big difference:

  • Give key entities an @id. Then other blocks can point at the same organisation or person instead of describing it again.
  • Use sameAs for real profiles. LinkedIn, Companies House, Wikidata or industry directories help confirm who you are.
  • Mark up only what’s on the page. If a price, rating or address isn’t visible to visitors, leave it out of the markup.

Step 3: add it to your site

How you add it depends on your platform. Pick the route your team can maintain.

  1. SEO plugins on WordPress. Yoast, Rank Math and similar plugins output Organization, WebSite, Article, Person and BreadcrumbList automatically. Fill in their settings properly before adding anything by hand.
  2. Custom blocks for the rest. For Service, Product or LocalBusiness detail the plugin doesn’t cover, add a JSON-LD block through your theme, a code snippets plugin or a custom field on the template.
  3. Hosted platforms. Shopify, Wix and Squarespace add some markup themselves. Check what’s already there before you add more, or you’ll end up with duplicate, conflicting blocks.
  4. Google Tag Manager as a last resort. Google can read markup injected with JavaScript, but it’s slower to be picked up and easier to break. Put it in the HTML where you can.

Step 4: test before and after it goes live

Testing catches most problems in minutes.

  1. Paste the code or URL into Google’s Rich Results Test to check eligibility for rich results.
  2. Run the same URL through the Schema Markup Validator at schema.org to catch errors in types Google doesn’t show as rich results.
  3. After launch, watch the Enhancements reports in Search Console for new errors and warnings.
  4. View the page source on a live page and search for ld+json to confirm your caching or optimisation plugins haven’t stripped or delayed the script.

Common mistakes that waste the effort

Most schema problems we find in audits come from a few repeat errors:

  • Two plugins both outputting Organization markup with different names or logos.
  • Review or rating markup on pages that show no reviews.
  • Authors marked up as the organisation instead of a real Person.
  • Old addresses or phone numbers left in markup after a move.
  • Markup added once and never checked again after a redesign.

Accuracy matters more than volume. Our post on structured data and rankings explains why markup supports understanding rather than acting as a ranking boost on its own.

AI assistants pull from many sources to describe a business. When your site states the same facts in clean markup, on the page and in your external profiles, there’s less room for an assistant to get your services, location or people wrong. It also helps Google connect you to its Knowledge Graph, which feeds both normal results and AI answers.

Schema is one part of being understood by AI search, alongside content, reviews and mentions elsewhere. Our AI SEO agency team builds and checks markup as part of that wider work, and B2B firms can see how it fits a lead generation site on our B2B SEO agency page. If you’d like us to look at your setup, book a free strategy session.

Related reading: our guides to rich snippets and what AI SEO is.

Common questions

What is the best format for schema markup?

JSON-LD. Google recommends it, and it sits in its own script block, so it doesn’t interfere with your page design.

Do I need a developer to add schema markup?

Not always. On WordPress, an SEO plugin covers Organization, Article, Person and BreadcrumbList. You’ll usually need a developer or a code snippets plugin for Service, Product or detailed LocalBusiness markup.

How do I test my schema markup?

Use Google’s Rich Results Test and the Schema Markup Validator at schema.org, then watch the Enhancements reports in Search Console after the page goes live.

Does schema markup help with AI search?

It helps AI tools and search engines read clear, consistent facts about your business, people and services. It works best alongside strong content and mentions on other trusted sites.

Danny DaleyFave songThunderstruckAC/DC · The Razors Edge, 1990

Danny is the founder and Director of Search at Circulate Digital, with over 15 years in SEO and CRO. He has led search strategy for organisations including the NHS, Octopus and TUI, pairing deep technical expertise with a clear view of what moves revenue. At Circulate he sets client strategy and agency direction, and still reads the work.FromBrightonBased inSheffieldStudiedDigital Media degreeProudest campaignOctopusHostsBorn to be Found

AI Visibility ScorecardFree, takes 2 minutes