Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I've been unable to get Webmaster tools to see my sites structured data. It keeps reporting "We do not detect any structured data on your site".

You can inspect my html by visiting: http://www.cgtag.com

I can verify that my Schema.org data is formatted correctly using Yandex. It reports 50 objects on my home page.

http://webmaster.yandex.com/microtest.xml

On my home page in the <head> section I have this object.

<script type="application/ld+json">{"@context":"http:\/\/schema.org","@type":"CollectionPage","description":"Everything Related To Computer Graphics, Visual Effects and 3D Animation","name":"cgTag | Everything Related To Computer Graphics, Visual Effects and 3D Animation","alternateName":"cgTag"}</script>

For each article shown on the home page, and inside each <article> tag. I have an object like this.

<script type="application/ld+json">{"@context":"http:\/\/schema.org","@type":"Article","name":"TRANSFORMERS 4 Trailer 2","headline":"TRANSFORMERS 4 Trailer 2","description":"TRANSFORMERS 4 Trailer 2\nParamount Pictures has released the new trailer for Transformers: Age of Extinction, hitting theaters on June 27.\nTransformers: Age of Extinction is the fourth film in director Michael Bay\u00e2\u0080\u0099s global blockbuster franchise. Mark Wahlberg, Stanley Tucci, Li Bingbing, Kelsey Gr","url":"\/post\/10020\/transformers-4-trailer-2","datePublished":"2014-05-15T07:06:34-04:00","copyrightHolder":{"@type":"Organization","name":"CG Meet Up","url":"\/sources\/62\/cg-meet-up"},"Image":"http:\/\/s0.cgtag.com\/img\/post\/2014\/5\/15\/thumb-10020-12.jpg"}</script>

The only thing I can conclude. Is that Google is ignoring Schema.org data defined in <script type="application/ld+json> blocks.

This seems like an unlike answer, because it's well documented that defining microdata this way is allowed.

If I use the Google structure data inspector. It's not showing data for the articles.

http://www.google.com/webmasters/tools/richsnippets?q=http%3A%2F%2Fwww.cgtag.com

EDIT: It's been over a month now waiting for the data to appear.

share|improve this question
    
"because it's well documented that defining microdata this way is allowed.": Note that you don’t use Microdata here, it’s JSON-LD. –  unor May 15 at 16:38

1 Answer 1

up vote 3 down vote accepted

Google won't pick up on any markup that isn't visible to users. Because of this policy, they are unlikely to recognize any structured data that is in <script> tags.

In general, Google won't display any content in rich snippets that is not visible to human user. Don't hide the content that you have marked up for rich snippets using techniques like display:none, value-title, or css. Google will ignore content that isn't visible to human users, so you should mark up the text that visitors will see on your web pages.

Note that in a few limited circumstances, it can be useful to provide both a machine-readable and a human-readable version of your content. For example, because the text string "Elvis's birthday" is significant to a great many human readers, but less so to machines, Google provides a way to provide the date in a machine-readable form—1935-01-08—while still displaying the content in a human-friendly way. For more information, check the Help article for each product type.

share|improve this answer
    
+1 arg! I have to redo everything for that now. thanks. –  Mathew Foscarini May 15 at 15:39
    
This might apply for Rich Snippets, but there are other uses of Schema.org, e.g. Google recommends to use JSON-LD in a script element for MusicEvent etc. on musical artist websites. –  unor May 15 at 16:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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