Adding Reviews to JSON Product Schema Markup
-
Hi everyone,
Below is an example of some JSON product schema markup I'd like to integrate into my site. My question is, what do I need to do to incorporate the individual reviews on a product page as well? I've tried a few different things but I can't get it to validate.
-
AH! OK, gotcha. In that case, Martijn was right - you'll need to add the Review type. Required fields for the Review type are:
- reviewBody (text)
- reviewRating (of type: Rating)
- author (of type: Person or Organization)
So the markup would look something like this:
-
Hi Ruth,
I was seeing the error when I actually tried to add the Review markup. The code above definitely validates just fine.
There actually is user-generated review text on each product page which is what I'd like to get added to the markup I provided above.
I've done it with HTML in the past but this is my first run with JSON.
Any idea of what that would look like?
Here is the example that I can't get to validate:
-
Hi Jeff,
I don't know that I agree with Martijn on this one (which is rare for us!). In my view, it's not necessary to have the Review type on-page if there's no review text on the page. Everything about this looks fine to me, and I was able to run it through the Google Structured Data Testing tool at https://search.google.com/structured-data/testing-tool with no problem. Can you tell me a bit more about how you were trying to validate, and the error you were seeing?
-
Hi Jeff,
What you need to do is relate the product/offer to the Review Schema that you can find here: http://schema.org/Review, if you embed it this way it will make sure it's connected with the right relation.
Martijn
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Data-vocabulary.org for structured markup in 2019
Hi MOZ friends, One of our clients has used data-vocabulary.org for structured markup. Schema.org says: "If you are already publishing structured data markup and it is already being used by Google, Microsoft, Yandex or Yahoo!, the markup format will generally continue to be supported. Changing to the new markup format could be helpful over time because you will be switching to a standard that is accepted across several companies, but you don't have to do it." Although there is such statement, as schema.org is the common vocabulary in 2019, should I keep it or change it with schema.org? Thanks in advance! 🙂
Technical SEO | | bbop330 -
Social Profile & Logo Markup: Where to add it?
We're looking to implement structured data for our social profiles and logo, as referenced here: https://developers.google.com/search/docs/data-types/social-profile https://developers.google.com/search/docs/data-types/logo Should we add the markup for these structured data types to multiple pages, the homepage only, or all indexable pages? TIA
Technical SEO | | Allie_Williams0 -
Any SEO benefits of adding a Glossary to our website?
Hi all, I manage a website for a software company. Many terms can be quite tricky so it would be nice to add a Glossary page. Other than that, I have 2 questions: 1. What would be the SEO benefits? 2. How would you suggest to implement this glossary so we can get as much SEO benefit as possible (for example how would we link, where would we place the glossary in the terms of the sitemap, etc.). Any advice appreciated! Katarina
Technical SEO | | Katarina-Borovska2 -
Adding /es version to google search console
I have a Wordpress site and we are using WPML for making it bilingual. The domain is: https://www.designerfreelance.net and for Spanish https://www.designerfreelance.net/es Do I have to add to Google search console the /es version? And the no www: https://www.designerfreelance.net https://www.designerfreelance.net/es https://designerfreelance.net https://designerfreelance.net/es and do I have to add the non ssl version? http://www.designerfreelance.net http://www.designerfreelance.net/es http://designerfreelance.net http://designerfreelance.net/es Thanks
Technical SEO | | Trazo0 -
Hello I have an ecommerce site where many of the products are variations.
Hello I have an ecommerce site. Many of the products are variations. I am using the Yoast Woo Commerce plugin. My meta descriptions for each product category might only vary for length for example. 10 foot microphone cable: Hand soldered heavy-duty 24 gauge cable braided shield, CBI nickel XLR connectors Bulk pricing - Call for your price 615-406-3255 20 foot microphone cable: Hand soldered heavy-duty 24 gauge cable braided shield, CBI nickel XLR connectors Bulk pricing - Call for your price 615-406-3255 From a Moz report I am getting tons of duplicate content issues. What can I do to correct this issue? Thank you for your help.
Technical SEO | | edwardfrebow0 -
Opengraph or Schema.org - What is your preference?
Just wondering whether Mozzer's have a preference when marking up rich snippets. I have just added Opengraph as per a Whiteboard Friday presentation suggesting that Google will use the meta data as well as schema, mainly for purposes of socially sharing the website details, and I have also used Schema for marking up an address, telephone number, and email. Is this the right way to do things? What are your thoughts?
Technical SEO | | AspectExhibitions0 -
Can you use aggregate review rich snippets on non-product pages?
It seems like the intended purpose of the aggregate review rich snippet is for an individual product page like a page for Madden 2013. However, what if you created a single page for all football video games that you sell and put reviews on this page for different games in this category. Could you still use the aggregate review markup for this page?
Technical SEO | | ProjectLabs0 -
How can I exclude display ads from robots.txt?
Google has stated that you can do this to get spiders to content only, and faster. Our IT guy is saying it's impossible.
Technical SEO | | GregBeddor
Do you know how to exlude display ads from robots.txt? Any help would be much appreciated.0