Microdata Filter Questions and Answers

Schema Markup

Have questions about microdata vs json-ld? Wondering how to create connected and semantically correct Schema Markup without conflicts? Look no further. This Microdata Filter Questions and Answers page aims to clear the air.

Frequently Asked Questions

What is microdata and what’s the difference between microdata and json-ld?

Microdata is an older format of schema markup. Schema App uses json-ld, as this is preferred by Google and other search engines.

Are there large platforms that support only microdata for their features?

For awhile, Facebook ads used exclusively microdata for its targeting functionality. After a recent review of Facebook’s documentation, this support has now expanded to json-ld.

I have microdata on my site. Will it conflict with the markup generated by Schema App?

This would depend on what markup is in the microdata and what markup is being included by Schema App. There is potential for a conflict that impacts site performance, so we recommend removing the microdata and ensuring that the markup being created or deployed to these pages.

There are errors within the microdata. Can I resolve these and how?

The Schema App Team has created a Schema Filter which will remove the microdata from the page so that these errors are not published and seen by Google’s crawler. We include the microdata filter in our WordPress, Shopify, and BigCommerce plugins. The filter can be toggled on from within the respective platforms’ plugin settings.

If you are not using the platforms mentioned above, you can still use the microdata filter by including the JavaScript tag, which we’ve shared via our Microdata Filter GitHub page. Additionally, the filter can be configured to remove certain markup by following the Microdata filter documentation. For more information on the Microdata filter, please see our how-to article, Schema Markup Filtering Javascript Library.

I have enabled the microdata filter, but when I test the page in Google’s Structured Data Testing Tool, I still see the microdata and any errors associated with them. Is the microdata filter working on my page?

microdata filter

Unfortunately, the Structured Data Testing Tool, which has officially been replaced with the Schema Markup Validator (SMV), did not trigger the JavaScript and showed the result after the microdata has been filtered, so the microdata still showed when testing the live page as seen above. Google’s crawler, however, will see the pages with the microdata filtered and therefore no associated microdata errors.

If the Structured Data Testing Tool does not accurately display the microdata filtered results, how can I tell what Google’s Crawler is seeing?

If you are in the Google Chrome Browser, you will need to right click on the page you are looking to test and then click on the inspect option.

 

LA Kings

From here you will see the html for the site. At the very top if you right click on the tag that begins with “ <html ” and go to Copy then click on Copy element this will copy the page’s code.

Copy the page's code

Next you will need to navigate to the Schema Markup Validator (SMV) to run a new test and test the validity of your schema markup syntax. You should supplement the SMV with Google’s Rich Result Testing Tool to analyze your rich result eligibility.

 

From the new test pop-over window you will need to select the code snippet option and paste the page code you had copied previously, then run the testing tool. This page code will show the results after the microdata has been filtered.

Additionally, you may notice that this shows the preview button when there are duplicate products. Please see our previous blog post, Strange Behaviors in Google’s Structured Data Testing Tool, on this and other odd behaviors seen with Google’s Structured Data Testing Tool.

SEOs still prefer Google’s Structured Data Testing Tool to the Schema Markup Validator, as the SMV currently only shows schema.org syntax errors and not eligibility for rich results. Google’s Rich Results Test, however, does show rich result eligibility! At Schema App, we see schema markup as an iterative process. We use errors in structured data markup as content opportunities to make your markup more robust and comprehensive. Maximize your results from structured data by getting started with our technical experts today!

Start reaching your online business goals with structured data.

 

Martha van Berkel is the co-founder and CEO of Schema App, an end-to-end Semantic Schema Markup solution provider based in Ontario, Canada. She focuses on helping SEO teams globally understand the value of Schema Markup and how they can leverage Schema Markup to grow search performance and develop a reusable content knowledge graph that drives innovation. Before starting Schema App, Martha was a Senior Manager responsible for online support tools at Cisco. She is a Mom of two energetic kids, loves to row, and drinks bulletproof coffee.

Menu