Advertisement
  1. SEJ
  2.  ⋅ 
  3. News

Google’s John Mueller on Where to Insert JSON-LD Structured Data

Google’s John Mueller on Where to Insert JSON-LD Structured Data

In the latest instalment of the #AskGoogleWebmasters video series, Google’s John Mueller answers a common question about JSON-LD structured data.

Here is the question that was submitted:

“Is it possible to insert JSON structured data at the bottom of theinstead of the? It seems to work fine for many websites.”

In response, Mueller says “yes.” JSON-LD structured data can absolutely be inserted in either the head or body of the page. Just as the person who submitted the question assumed – it will work fine either way.

JSON-LD can also be inserted into pages using JavaScript, if that’s what happens to suit your pages better.

What’s the Difference Between JSON-LD and Other Structured Data Types?

Before answering the question, Mueller gave a brief explanation of each type of structured data and how they’re different from each other.

There are two other types of structured data in addition to JSON-LD. Here are the differences between each of them.

  • JSON-LD: A JavaScript notation embedded in a script tag in the page head or body.
  • Microdata: An open-community HTML mspecification used to nest structured data within HTML content.
  • RDFA: An HTML5 extension that supports link data through additional attributes added to existing HTML tags on the page.

Although all of these types of structured data are acceptable to use, Mueller has gone on record saying Google prefers the use of JSON-LD.

More Resources

Category News SEO
ADVERTISEMENT
SEJ STAFF Matt G. Southern Senior News Writer at Search Engine Journal

Matt G. Southern, Senior News Writer, has been with Search Engine Journal since 2013. With a bachelor’s degree in communications, ...