What schema markup does
Schema markup is a block of structured data, usually JSON-LD, that tells search engines exactly what a page is about: this is a plumber in Leeds with these opening hours, this product costs £1,299 and is in stock, this article was written by this person on this date. Search engines can work some of that out from the page, but markup removes the guesswork.
In return, Google can show richer results: star ratings, prices and stock, event dates, breadcrumbs instead of a long URL, and business details in the knowledge panel. It doesn't guarantee them, and it isn't a ranking boost on its own, but rich results tend to get more clicks. AI search tools read structured data too.
Which type to use
Any business customers visit, or that serves a local area: shops, trades, salons, clinics, restaurants. Put it on the homepage or contact page.
The company behind the website, on the homepage. Helps Google connect the logo and social profiles to the brand.
Every product page in a shop. WooCommerce and Shopify add some automatically, but often without shipping, returns or GTINs.
A page with a list of questions and answers written by the site owner, not user-submitted questions.
Blog posts, guides and news. The author and dates matter more since Google started weighting experience and expertise.
Workshops, gigs, webinars and meetups, one block per event, with the real start time and venue.
Any page below the homepage. Most SEO plugins add it if breadcrumbs are switched on.
Questions agencies ask
JSON-LD is the format Google recommends for structured data. It's a block of JSON inside a script tag, separate from the visible HTML, so it can be added without changing the page layout. The generator above outputs JSON-LD using the schema.org vocabulary.
Anywhere in the page HTML, usually in the head. In WordPress you can add it with a header-and-footer code plugin, a custom HTML block, or through your SEO plugin. For product pages, it's better generated by the theme or plugin so it stays in sync with the real price and stock.
Indirectly. It isn't a ranking factor by itself, but it makes pages eligible for rich results (stars, prices, event dates, breadcrumbs) that stand out and usually get more clicks. It also helps search engines and AI tools understand exactly what the page is about.
Google doesn't show star ratings for a business's reviews of itself on its own site (self-serving reviews), and is selective even when the markup is valid. Stars are most reliable on product pages with ratings collected from real customers.
Paste the URL or the code into Google's Rich Results Test, which shows which rich results the page is eligible for, or the Schema Markup Validator at validator.schema.org for a stricter check. After launch, Search Console reports errors across the whole site.
Yes. A product page might have Product and BreadcrumbList, and a homepage Organization and LocalBusiness. Add each as its own script block, or combine them in an @graph array.
Structured data across a whole site?
For WooCommerce shops and custom builds, schema belongs in the templates, generated from the real product, stock and review data, not pasted page by page. That's the kind of job I do for agencies.
- White-label, under your brand, or alongside your team
- Laravel, WordPress, WooCommerce, integrations and tracking
- Inherited and half-finished sites taken over and stabilised
- UK based, straight to the developer, no account managers