It depends what the reviews are being submitted for.
1. Product
If your website sells and represents a single product, or if your reviews are specifically being assigned to individual products (using the “assign_to” shortcode option), then you can select “Product” as the schema type.
If you are using “Product” as the schema type and assigning them to specific products, Site Reviews will include the @id schema key with the URL of the product as the value, this will link the review schema to the product schema from woocommerce.
2. LocalBusiness
If your reviews are being given for your business in general, then you should select “LocalBusiness” as the schema type.
This will not interfere with your product schema as it will not add the @id schema key (which is what connects multiple schemas).
3. Please make sure that if you copy/paste a shortcode you correct the quotes around values. For example:
// This is invalid
[site_reviews_summary schema=”true”]
// This is valid
[site_reviews_summary schema="true"]
// This is also valid, you only need quotes around the value if the value includes spaces.
[site_reviews_summary schema=true]
4. Summary shortcode
If you are assigning reviews to products and using the [site_reviews_summary] shortcode, make sure you only use the schema option if using it on the actual product page. Also, if using the [site_reviews] and [site_reviews_summary] shortcodes on the same product page, you should only include the schema option on one of them (preferably the [site_reviews] shortcode).
-
This reply was modified 7 years, 11 months ago by
Gemini Labs.
Thread Starter
avz
(@avz)
Thanks!
Just to be sure. We use this shortcode on a productpage: [site_reviews_summary schema=”true”]. This show the star rating in Google.
But this shortcode should not be used on other (non-product) pages? So on our homepage for instance we should use [site_reviews_summary schema=”false”]
If you are using the “Product” schema type, then the schema option should only be used on the product page as that is the only place it applies.
Everywhere else, use it without the schema option (the schema option is disabled by default).
Thread Starter
avz
(@avz)
Thanks! Great service.
I just figured out it’s the Yoast plugin that adds schema data to all pages.
Maybe we should disable this.