Schema Markup: What It Is & How to Implement It

image4-12 Schema Markup: What It Is & How to Implement It

Schema markup is code that helps search engines understand the information on a page. Google can use it to show

Types of schema markup

Schema can be used to enhance many different types of content. There are 803 types of schema listed on Schema.org at the moment, but Google only supports a handful of these, according to its website. Google hinted it may support more formats in the future, though.

Here are a few examples of the types of markup Google supports that you can add to your website:

  • Article 
  • Breadcrumb 
  • Carousel
  • Course
  • Event
  • Fact Check
  • FAQs 
  • HowTo 
  • Image Metadata
  • Job Posting
  • Local Business 
  • Logo 
  • Movie
  • Product 
  • Recipe 
  • Review 
  • Sitelinks search box
  • Video

Sidenote.

Google significantly reduced visibility for HowTo and FAQs rich results on August 8, 2023. FAQ results will now only be shown for well-known, authoritative government and health sites. HowTo rich results will now only be shown for desktop users.

Let’s take a more detailed look at the most common types of markup you can add to your site.

Article

Article schema can be added to your news, blog, or sports article pages to help Google better understand your page. 

There are two documented benefits of adding Article schema:

  • It helps Google to show better title text, images, and date information.
  • It tells Google “more explicitly what your content is about.”

The inference here is by adding Article schema to your content, it may be shown for more relevant queries. 

Here’s an example of what the Article schema can look like.

Further reading

Product 

Adding Product markup means users can see the price, availability, review ratings, shipping information, and more in the search results. Product markup is useful for e-commerce stores, as it can give potential customers a more detailed view of the product before they even enter your website.

Product rich results can look like this:

image3-13 Schema Markup: What It Is & How to Implement It

Here’s an example of what the Product schema can look like.

Further reading

Local Business

Local Business markup enables Google to understand your business. Adding schema allows Google to show your business hours, different departments in your business, and more.

Local Business rich results can look like this:

image2-15-1 Schema Markup: What It Is & How to Implement It

Here’s an example of what the code for a Local Business listing can look like.

Further reading

Sitelinks search box

Adding Sitelink markup means searchers of your website will see related links of your important pages when searching for your brand on Google.

Here’s what a rich result for Sitelink markup looks like:

image13-12 Schema Markup: What It Is & How to Implement It

Here’s an example of what the Sitelinks search box schema can look like.

Further reading

Event

Event rich results are one of the best ways to get more attention for your upcoming events, whether online or offline. Event rich results feature prominently within Google search results.

Here’s an example of what the Event rich result can look like:

image9-13 Schema Markup: What It Is & How to Implement It

Here’s an example of what schema for a physical location Event can look like.

Further reading

How to add schema markup to your website

All websites should add basic schema, but only add the schema that’s most appropriate for your website. 

Not sure what to add? 

Here are some basic examples:

  • E-commerce websites – Add Product, Breadcrumb, Person/Organization schema.
  • Blogs or news websites – Add Article, Breadcrumb, Person/Organization schema.

Or if you have a more topically focused website, you can add more specific schema types. For example:

  • Food websites – Add Recipe schema.
  • Recruitment website – Add Job Posting schema.

So how can you add schema?

The good news is that most modern website content management systems (CMSes) can add basic schema implementation right out of the box.

Generally speaking, if you use a popular CMS like Wix or Webflow, it’s just a matter of tweaking the schema settings to your preferences.

If you use WordPress, you can opt for a plugin like Yoast SEO. When you sign up, part of the onboarding process involves adding Organization or Person schema. 

image15-12 Schema Markup: What It Is & How to Implement It

Once you’ve completed onboarding, you can click on the “Schema” tab within a post, and you’ll be able to tweak the settings further. By default, the schema page type is set to “Web Page,” and the post type is set to “Article.”

image16-9 Schema Markup: What It Is & How to Implement It

Tip

For more detailed guidance, check out Yoast’s guide. If you don’t use WordPress and use a platform like Wix or Webflow, check out the schema markup guides below.

Another method to add schema to your website is by manually adding the code yourself. 

Although this method enables total customization of schema on your website, it’s worth seeking advice from an SEO consultant or developer before you get started, especially if you’re not confident with code.

Schema markup code can be generated in three different languages: microdata, RDFa, and JSON-LD.

Even though Google supports all three languages, it recommends you use JSON-LD (Javascript Object Notation for Linked Objects), as it’s less prone to user errors.

This has also been confirmed separately by John Mueller.

We currently prefer JSON-LD markup. I think most of the new structured data that are kind of come out for JSON-LD first. So that’s what we prefer.

1516281845299-1 Schema Markup: What It Is & How to Implement It

You can generate the raw JSON-LD code yourself using a tool like Merkle’s Schema Markup Generator, Google’s Structured Data Markup Helper, or even ChatGPT. I’m going to use Merkle’s schema generator to generate my code. 

To do this, head to the schema generator and select the type of schema you want to generate. I’ve chosen Event. 

image12-15 Schema Markup: What It Is & How to Implement It

Then add the information into the required fields. I’ve added a fictional SEO conference as an example.

image11-12 Schema Markup: What It Is & How to Implement It

Once you’ve created the JSON-LD code, add it to either the <head> or the <body> of the page you want it on. Google has confirmed either is fine. If you are technically minded, you can even inject the code using Javascript with Google Tag Manager.

How to validate your schema markup

To check a single page’s schema markup, you can use the Schema Validator or Google’s Rich Results Test tool. 

If you’ve already installed Ahrefs’ SEO Toolbar, you’ll find links to these tools in the “Structured data” tab.

image1-13 Schema Markup: What It Is & How to Implement It

If you click through to the Rich Results Test, it’ll run a test and list any errors. You can click on the test result to get more details about that issue.

image14-9 Schema Markup: What It Is & How to Implement It

Google’s Rich Results Test tool is useful to validate schema on a page-by-page basis where Google’s rich results can appear. But if you want to check the status of all your rich results, you’ll need to use Google Search Console. 

Here’s an example of me reviewing valid Review snippets for a small website using Google Search Console.

image5-13 Schema Markup: What It Is & How to Implement It

Although this is useful, the problem with both the Rich Results Test tool and Google Search Console is that they only check schema markup that powers rich results, which is not the only benefit of schema markup.

If you want to check all the schema on your website, you’ll need to use Schema.org’s Markup Validator for single pages. You can access this tool through Ahrefs’ SEO Toolbar by clicking on the “Validate” button.

image10-13 Schema Markup: What It Is & How to Implement It

And for a total website check, you can use Ahrefs’ Site Audit, which you can access for free by signing up for Ahrefs Webmaster Tools (AWT)

Once you’ve run your audit, head over to the All issues report in Site Audit. If there are any structured data issues, you’ll see a message like the one below in the list of issues.

image6-14 Schema Markup: What It Is & How to Implement It

Clicking on this issue will show all instances of structured data issues on your website. There are 1,332 results in this example. I like to prioritize fixes for pages by sorting “Organic traffic” from high to low. 

To do this, click on the “Organic traffic” header, and then click on “View issues” in the “Structured data issues” column to get more detail about the issue.

image7-14 Schema Markup: What It Is & How to Implement It
image8-12 Schema Markup: What It Is & How to Implement It

We can see in this particular example there are three errors and one warning. We’ll need to fix these issues first and then recheck them. 

Rather than instantly running another crawl straight away, it’s a good idea to use the SEO Toolbar to spot-check your changes.

Your rich results won’t show until Google has recrawled your site, which can take a few days—and even then, there’s no guarantee they’ll show in Google’s search results. 

Tip

If you want to speed things up for your most important pages, you can submit your URL for reindexing using Google Search Console.

If you’ve done everything above and are still having trouble, there may be a site quality issue. 

Here are some of the most common reasons your structured data may not show:

  • It’s misleading and doesn’t represent the main content of the page.
  • Google may think a text result is best for your content.
  • The page doesn’t meet Google’s structured data guidelines.

Final thoughts

Schema markup is a great way for you to claim more SERP real estate and improve your website’s CTR. 

It takes a bit of work to set it up. But with many CMSes making it easy to add schema to your site in a few clicks, it’s not as difficult as it used to be. 

Got more questions? Ping me on Twitter.

RECOMMENDED POSTS

Find Out More

Marketing Tips You Need

Keep In Touch

Quick Subscribe

Client Reviews Tell The Tale.

Nicole NoblesApril 18, 2024
Dan was a delight to work with. I needed a few headshots taken for my LinkedIn profile and Dan provided the easiest and most comfortable experience using state-of-the art equipment in a very professional setting. Also, the turn-around time on results was quick and I felt completely engaged and satisfied during the entire process. I highly recommend his services.Donny RitcharoenDecember 19, 2023
I got headshots taken and they turned out so well! The lighting was amazing.Tessa ChanMay 30, 2023
We used Appture to build a lodging website, and they were awesome! Dan went above and beyond to show us the functions and make all of our changes. Appture is our go to for web design from now on!Abigail HaleOctober 26, 2022
Appture knows their business and will go the extra mile for their customers. They do high quality work and provide great ongoing support.Chris McCorkindaleMay 24, 2022
Anita CauthornMay 24, 2022
It’s so rare in these times to find one man with so much wow factor and more rare to find men with similar interest and passion in their life journey as myself . Dan Elliott has been introduced to many in what is now considered as the Terror Dome , a place where many dreams are not deferred they are detoured to routes that lead to dead ends , he comes in full of optimism so infectious that he, maybe with out knowing is energizing those who have ventured where others would fear going with just the right jolt to forge on in the way of helping fallen humanity … His various fields of expertise has helped many in my region and I can only imagine the number he has effected beyond those I know … from day one I knew “ this was a man of kindred spirit “ Dan Elliott is a Gem and adds glimmer to things he touches … I’m a Witness ….and eternally grateful….L.Rashaan RichMay 21, 2022
Dan and his group are highly capable and knowledgeable. They work fast and get the job done. I highly recommend Appture.Justin FrankMarch 26, 2022
They are highly specialized in their work and constantly seek innovation.Ismail YenigulMarch 14, 2022
Dan is a marketing wizard. Honest, Experienced and a read deal. I am blessed to have him in my journey online :) Highly recommended.Sabbir HasanMarch 7, 2022
So much to say. Creative, Intelligent, Talented, Limitless, Affordable. It's amazing what these guys can do.Hack mackMay 17, 2019
We'd used some other agencies before, but man, they simply knocked us all over. After being in business for 30 years, I wonder how much more business we'd be doing if we'd hired them earlier.Rebecca HoneaMay 17, 2019