Which one does Google prefer, Microdata or JSON-LD?

Which one does Google prefer, Microdata or JSON-LD? - Google Search Console is a free application that allows you to identify, troubleshoot, and resolve any issues that Google may encounter as it crawls and attempts to index your website in search results. If you’re not the most technical person in the world, some of the errors you’re likely to encounter there may leave you scratching your head. We wanted to make it a bit easier, so we put together this handy set of tips about google-search, microdata, json-ld, to guide you along the way. Read the discuss below, we share some tips to fix the issue about Which one does Google prefer, Microdata or JSON-LD?.Problem :


Here Google says they prefer JSON-LD:




JSON-LD is the recommended format. Google is in the process of adding
JSON-LD support for all markup-powered features. The table below lists
the exceptions to this. We recommend using JSON-LD where possible.




But in other article, in the What is microdata and JSON-LD markup? section, they say they prefer microdata for content:




Microdata and JSON-LD are two different ways to mark up your data
using the schema.org vocabulary. It's best to choose either microdata
or JSON-LD and avoid using both types on a single page or email.
Google prefers microdata for web content.




So what's up?


Solution :

The document that recommends JSON-LD is more recent and it clearly states that Google recommends using JSON-LD where possible (over Microdata) specifically for the following reasons:




  • "The markup does not have to be interleaved with the user-visible text, which makes nested data items easier to express, such as the Country of a PostalAddress of a MusicVenue of an Event."


  • "Google can read JSON-LD data when it is dynamically injected into the page's contents, such as by JavaScript code or embedded widgets in your content management system."




The Google Developers article is more recent. Then, I would choose that information as the prefered one.


If the issue about google-search, microdata, json-ld, is resolved, there’s a good chance that your content will get indexed and you’ll start to show up in Google search results. This means a greater chance to drive organic search traffic to your site.

Comments

Popular posts from this blog

Years after news site changed name, Google is appending the old name to search titles and news stories

Is it possible to outrank Google for a search term on their own search engine?

Load Wikipedia sourced biographies via Ajax or render it with the rest of the page as part of the initial request?