8 minute readDriving users to your website through organic search requires two things: getting your site to rank near the top of search engine results pages (SERPs) and making the search snippet appealing so that users will click on it. Schema markup helps with both of these tasks.
The rest of this post will explain what schema markup is and how you can use it to help boost your website’s SEO, create rich search results, increase search traffic, and drive more engaged audiences to your website.
What is Schema Markup?
Schema markup is a form of microdata or structured data (SD) that is added to a webpage to help search engines better understand its content. It uses a set of standard data structures that categorize on-page content. For example, a line of code may tell search engines that “March 3, 2019” is a date or that “To Kill a Mockingbird” is a book title.
When schema markup is used on a page, that page may receive a rich snippet search result on search engine results pages (SERPs) Click & Tweet! . A rich snippet is a search result that includes more than a standard search result display.
A standard search result typically only includes a title, URL, and description.
Rich snippets include additional information such as photos, reviews, and other extra content depending on the type of search result. Schema markup identifies this extra information and explains it to search engines so that they can display it as a rich result.
In the examples above, AllRecipes.com added recipe schema markup to their page so that search engines could produce rich search results that include a rating, number of reviews, cook time, calorie count, and image.
It’s important to note that schema markup will help create rich search results but that not all structured data will lead to rich results.
Having schema markup doesn’t guarantee that results will have rich data. While this is one of the top benefits of using schema markup, it isn’t the only reason why structured data are important.
Why is Schema Markup Important?
Schema markup makes it easier for search engines to understand content, which makes them more likely to rank it.
Click To Tweet
While Google has not published that schema markup is a ranking factor and Google’s Webmaster Trends Analyst John Mueller has said that there is “no generic ranking boost for SD usage” – that doesn’t mean schema doesn’t have a positive impact on SEO.
- Schema helps search engines recognize the meaning of the content. When search engines easily understand content, they are more likely to rank it for relevant terms and phrases.
- Schema helps a page stand out on SERPs. Rich data make a search result larger and easier to notice.
- Schema increases click-through rates (CTRs). Tests have found that websites can achieve up to a 30% increase in organic search traffic when they have rich snippets.
So while adding schema markup won’t immediately boost a website’s search rankings, it is a part of best practices for SEO that will provide long-term value and results.
What is Schema.org?
The schema structure was created when four founding companies came together to create one consistent structured data language for all search engines. Google, Microsoft, Yahoo, and Yandex started the project along with support from the larger web community. The information and schemas they created are organized on Schema.org.
Schema.org houses all of the schema vocabulary and guidelines for adding this structured data to a website.
There are hundreds of types of schema categories. Schema.com has a database of numerous types of data. For example, you could add image schema markup to tell search engines about a graphic on your page, or you could use local schema markup to show search engines the name, address, and phone number for a brick-and-mortar business.
Commonly used categories for schema markup are:
- Software Applications
- Businesses and Organizations
- TV Episodes and Ratings
- Book Reviews
On Schema.org, you can find popular and widely used codes, as well as specific and obscure codes for things like video game cheat codes and airline boarding policies.
Structured Data Examples
Schema uses an information hierarchy to organize content. Itemscope, itemtype, and itemprop all work to identify important content on a website.
- Itemscope is a microdata HTML body tag that encloses information about a specific topic or thing on your site.
- Itemtype is a tag added near the itemscope HTML tag that specifies what the topic or thing is that is enclosed in the itemscope tag.
- Itemprop is an individual tag that describes a single property of the topic or thing enclosed in the itemscope tag.
Schema.org describes this breakdown using the movie “Avatar.” In the structured data example below, you can see the uses of itemscope, itemtype, and itemprop.
itemprop="director">James Cameron (born August 16, 1954)
Without schema markup, the code would look like this.
Director: James Cameron (born August 16, 1954)
Science fiction Trailer
The schema microdata use:
- Itemscope to group relevant information
- Itemtype to show that the grouped information is about a movie
- Itemprop tags (name, director, genre, and trailer) to identify individual details about the movie
Schema markup can also include embedded items within a primary itemscope. In the example below, you can see how another itemscope for person has been added within the itemscope for movie. Additional itemprop tags were added to give details about the person.
<span itemprop="genre">Science fiction</span>
<a href="../movies/avatar-theatrical-trailer.html" itemprop="trailer">Trailer</a>
3 Types of Schema Markup
In the example above, the schema is presented as microdata. But there are different types of schema markup.
Microdata is a set of tags that uses certain vocabulary to describe an item and name-value pairs to assign values. It uses lines of HTML body code to define content on a page, which helps search engines understand the information and provide better results for users. But because microdata markup methods can be somewhat cumbersome and complicated, JSON-LD was created to provide another option for adding additional information structures to a page.
Google supports another type of schema markup called RDFa. It is an HTML5 extension that supports linked data. Like microdata, it uses HTML tag attributes to explain the meaning of the content to search engines. RDFa can be added to either body or header HTML on a webpage.
How to Add Schema Markup to Your Webpages
As the structured data examples show, schemas can be complicated if you aren’t familiar with adding custom code. Thankfully, there are both manual methods and tools for adding schemas. To add schema markup to your website, you have a few options.
Manually Add Schema Markup Using HTML
As shown in the example above, you can add HTML directly to your webpage to insert schema markup. Using Schema.org, you can find the relevant microdata codes for information on your page and manually add it to your page’s HTML.
Use Google’s Structured Data Markup Helper
To use Google’s schema markup tool:
- In Google Webmasters Tools, use the Structured Data Markup Helper.
- Select the type of data you want to mark up.
- Enter the page URL or HTML code for the page.
- Select on-page content and match it with the type of elements that need to be marked up.
- Continue to add all structured data elements.
- Select microdata and add the new HTML to your page. If you’re using JSON-LD, you choose JSON-LD and add the script block to the head section of your page.
Use WordPress Plugins
If your website is a WordPress site, there are a variety of schema markup generator plugins available to you Click & Tweet! . You can upload and activate the plugins to add structured data to your site without needing to get into custom coding.
Plugins are available if you want to use microdata, JSON-LD, or RDFa schema markup.
Here are some plugin examples:
- Schema Pro
- All In One Schema Rich Snippets
- Rich Snippets WordPress Plugin
- Schema App Structured Data
- Markup (JSON-LD) Structured in Schema.org
Be mindful that these plugins are created by third-party developers and are not designed specifically for your website, so they could interfere with other themes, plugins, or custom code on your site, leading to problems. Test each schema markup tool before using it on your site to avoid any problems or site downtime.
How to Check Schema Markup on Your Website
Once you go through the work of adding schema markup to your website, make sure you add it correctly. To check your work and ensure that all of your tags match up with the correct information, use Google’s Structured Data Testing Tool.
- Launch Google’s Structured Data Testing Tool.
- Enter the URL or code snippet of the page you want to test into the structured data markup, and run the test.
- Review the errors and warnings and make necessary changes on your pages to resolve incorrect data structures.
- Use the results to review and ensure the correct information is added and tied to the right data markers.
- Use the preview option to view what the rich results may look like in search results.
By running a schema markup test on your pages, you can see where you successfully added code, where you made mistakes, and how rich results might look like on SERPs.
Don’t Forget About Other On-Page SEO Elements
To drive more traffic to your website via organic search, you need your webpages both to appear in top spots on SERPs and provide search snippets that users want to click on. Schema markup can help with both of these tasks.
But schema alone won’t get your webpages to rank.
You also need to use on-page SEO best practices to get search engines to notice, recognize, and properly categorize your pages. In addition to using schema markup, use a checklist for writing and check for on-page SEO before considering any of your pages fully optimized.
Use Alexa’s On-Page SEO Checker to scan each page on your site and make sure each follows SEO copywriting and on-page optimization best practices. The report will let you know what optimization opportunities you are missing and provide guidance on how to fix errors to help the page rank.
Support Schema Markup With Improved On-Site SEO
Use what you learned about schema markup in this guide to add structured data to your website, improve your site’s search visibility, and drive more customers to your website. Then, sign up for a free trial of Alexa’s Advanced Plan. You’ll get SEO and keyword optimization tools to help you improve other essential elements of on-page, off-page, and technical SEO.
Google and the Google logo are registered trademarks of Google LLC, used with permission.
The post Schema Markup 101: How to Create Rich Search Results and Boost SEO appeared first on Alexa Blog.