This Quora Answer: https://www.quora.com/Can-I-mix-microdata-and-JSON-LD/answer/Aaron-Bradley

The above answer from 2015 mentions there being a potential problem when marking up the same entity with JSON+LD and Microdata.

I am making a site that is hopefully SEO good for both Google and other search engines. Will I face a problem, in 2018, if I use both JSON+LD and Microdata to markup the exact same information on a page?

I understand that JSON+LD is the most recent recommended structured data to be used by Google. However, according to the official "do not"'s or "Make sure"'s, we are try to make sure that the structured data actually indicates something that is visible on the page. Also, I have read somewhere that JSON+LD is mainly for the knowledge graph -though that might be an outdated fact.

I would think that using both JSON+LD and Microdata for the exact same information would be a way to show that the structured data is marking up something "visible"/seen and what not as well as just make sure Google processes everything even if they do not act upon it in the way I may want, or at least right away. I.e, knowledge panels or other features.

Does it matter in 2018 if I use both JSON+LD and Microdata for the same information on a page? Or do I need to use one or the other for the same information just to be safe because Google has not revealed anything?

New contributor
J Doe is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Google recommends using either form but has not specifically stated that you can not use both.

If you have SEO concerns I would recommend to use only one. I believe that Google will choose the most reliable and accessible information and will discard other sources. If this is true, you will make your source code a little bit heavier, if linked data is generated by a script you will also be sending another server request to gather the data.

JSON-LD and microdata are accepted because each one provide a solution to certain situations when markups can not be altered or for other technical constraints/governance that does not allow you to generate JSON files.

Regarding Google knowledge graph, I would use JSON-LD if you have an ecommerce website and you can not use services such as Google My Business because you do not have a brick and mortar store.

In my opinion to Google is totally irrelevant what your decision would be, at the end of the day they only need one.

  • In my experience it can be a bit random on which entity gets picked for rich snippets when there are more than one marked up. This can be an issue if some only have part if the information. This is not just when marking up in both json-ld and microdata, but often when say a product is marked up twice in json-ld, due to a review plugin. One is picked. so, if you do mark up more than once, make sure they are identical.Sometimes you need to, as not all systems support json-ld. – Tony McCreath 7 hours ago
  • Good comment @TonyMcCreath, I am assuming a clean LD implementation with no duplications and same LD being sent with either method – titico 5 hours ago

Your Answer

J Doe is a new contributor. Be nice, and check out our Code of Conduct.
 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.