I'm using FAQ schema in a collection list template, so dynamic tags for the Question and Answer. On pages without FAQ my page still contains the schema script but without any content. It's therefore showing as an error rather than acting in a spammy way - it's not showing anything that's not on the page as the tags are empty. On other pages the tags pull through Q&A where I've entered the information.

Is it fine to leave the empty script on those page without FAQ, or should I create an exclusion for those empty pages to prevent it from being created in the first place?

Some of the questions are auto-filled by our customers but sometimes they are empty and not yet prepopulated.

enter image description here


Nope! Google doesn't recognize Name itemProp values in structured data for FAQs, Logos, Sitelinks searchbox, and likely others. Why their testing tools always return 'Unnamed' for these itempTypes is a mystery.

Edit: Name for the Question is required and Google will not accept its value being blank: https://developers.google.com/search/docs/data-types/faqpage

| improve this answer | |
  • 1
    What does itemProp have to do with it? There are blank name and text values in the example that was given. – Stephen Ostermiller Aug 10 at 14:34
  • Oh, I'm sorry, I thought he was talking about the Name for the FAQ item itself, not the name of the individual Questions. – I Capulet Aug 10 at 17:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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