DEV Community

Discussion on: JSON-LD: What It Is and How DEV Uses It

Collapse
 
maarteuh profile image
Maarten

Nice overview. I've recently added JSON-LD too but it's at the bottom of my code, and still seems to show up just fine on Google. Is there any documentation indicating that it really should be in the head preferably?

Collapse
 
ben profile image
Ben Halpern

Oh actually we just put it in the body as well.... Instructions say head.

As mentioned in the post

The JSON-LD for a page is generally found within a tag in a page’s <head> tag, though finding the data within a <body> tag is not uncommon.</p> </blockquote> <p>Putting in body was a lot more practical for us and we figure Google&#39;s cool with that, as you mention.</p>