How to Agragrate Facebook Reviews in Rich Snippet Code
Below yous will notice examples of Schema.org's Microdata, JSON-LD and RDFa markup for a local business organization with an aggregate rating and multiple reviews on the same folio. This markup validates without whatsoever errors on Google's Structured Data Testing Tool, it follows Google'due south 2016 update on Schema review guidelines for local business organisation, and it can be placed directly into your webpage. Just brand sure you lot check for conflict with any other Schema markup that may already be on your webpage, if y'all are having validation problems. Y'all will need to utilise 1 of these schema markup formats if you want to get a local concern star rating review snippet on your Google listing, like the i you lot meet in the photo below.
Up until Feb 2016 Google did not support JSON-LD schema markup for Local Business reviews, however John Mueller, Google's Trends Analyst, announced on Google+ in February 2016 that now they do!
"Announcing JSON-LD back up for Reviews and Products structured data markup. Along with the launch of back up for JSON-LD for Reviews and Products structured information markup, nosotros've cleaned upwardly some of our application logic."
Microdata Markup for a Local Business with Reviews
Beneath is an Example of a Local Business organisation Aggregate Rating with multiple Reviews using Microdata Schema Markup
LOCAL Concern Data (You can delete this line) <div itemscope itemtype="http://schema.org/LocalBusiness"> <span itemprop="name">LOCAL Business concern Proper noun</span> AGGREGATE RATING (You can delete this line) <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> <span itemprop="ratingValue">3.v</span>/five Based on <span itemprop="reviewCount">2</span> Reviews </div> CUSTOMER REVIEWS (You can delete this line) <div itemprop="review" itemscope itemtype="http://schema.org/Review"> <span itemprop="proper noun">REVIEW i TITLE</span> - by <bridge itemprop="author" itemscope itemtype="http://schema.org/Person"> <span itemprop="proper name">REVIEWER i NAME</span>, </span> <meta itemprop="datePublished" content="2016-12-01">December 01, 2016 <div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating"> <meta itemprop="worstRating" content = "1"> <bridge itemprop="ratingValue">iv</span>/ <span itemprop="bestRating">v</span></div> <span itemprop="reviewBody">1ST REVIEW GOES Here </span> </div> <div itemprop="review" itemscope itemtype="http://schema.org/Review"> <bridge itemprop="name">REVIEW two Championship</span> - by <span itemprop="author" itemscope itemtype="http://schema.org/Person"> <span itemprop="name">REVIEWER 2 Proper name</span>, </span> <meta itemprop="datePublished" content="2015-01-02">January 02, 2015 <div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating"> <meta itemprop="worstRating" content = "1"/> <span itemprop="ratingValue">3</bridge>/ <span itemprop="bestRating">5</bridge> </div> <span itemprop="reviewBody">2nd REVIEW GOES HERE</span> </div> </div>
JSON-LD Markup for a Local Business with Reviews
Below is an Case of a Local Business organisation Aggregate Rating with multiple Reviews using JSON-LD Schema Markup
<script type="application/ld+json"> { "@context": "http://schema.org", "@type": "LocalBusiness", "proper noun": "WISEVU", "image": "http://www.wisevu.com/images/wisevu-internet-marketing-logo.svg", "aggregateRating": { "@type": "AggregateRating", "ratingValue": "3.5", "reviewCount": "two" }, "review": [ { "@blazon": "Review", "author": "1ST REVIEWER NAME", "datePublished": "2016-12-01", "description": "1ST REVIEW CONTENT GOES HERE.", "proper name": "REVIEW 1 Title", "reviewRating": { "@type": "Rating", "bestRating": "5", "ratingValue": "4", "worstRating": "ane" } }, { "@blazon": "Review", "author": "2ND REVIEWER Name", "datePublished": "2015-01-02", "description": "2ND REVIEW CONTENT GOES HERE", "name": "REVIEW ane TITLE", "reviewRating": { "@type": "Rating", "bestRating": "v", "ratingValue": "3", "worstRating": "one" } } ] } </script> RDFa Markup for a Local Business with Reviews
Below is an Case of a Local Business organisation Aggregate Rating with multiple Reviews using RDFa Schema Markup
LOCAL Business concern DATA (You can delete this line) <div vocab="http://schema.org/" typeof="LocalBusiness"> <span property="proper noun">LOCAL Business organization NAME</span> Aggregate RATING (You tin can delete this line) <div property="aggregateRating" typeof="AggregateRating"> <span property="ratingValue">three.5</bridge>/5 Based on <span property="reviewCount">two</bridge> Reviews </div> Customer REVIEWS (You tin delete this line) <div property="review" typeof="Review"> <span belongings="proper name">REVIEW 1 TITLE</span> - past <bridge belongings="author">REVIEWER one Name</bridge>, <meta property="datePublished" content="2016-12-01">Dec 01, 2016 <div property="reviewRating" typeof="Rating"> <meta property="worstRating" content = "ane"> <bridge belongings="ratingValue">4</span>/ <span holding="bestRating">v</span> </div> <bridge holding="reviewBody">1ST REVIEW GOES HERE</span> </div> <div property="review" typeof="Review"> <span property="name">REVIEW ii Championship</bridge> - by <bridge belongings="author">REVIEWER 2 NAME</bridge>, <meta property="datePublished" content="2015-01-02">January 02, 2015 <div property="reviewRating" typeof="Rating"> <meta property="worstRating" content = "ane"/> <bridge property="ratingValue">3</bridge>/ <span property="bestRating">v</bridge>stars </div> <span belongings="reviewBody">2d REVIEW GOES HERE</span> </div> </div>
We advise you to read more information on the additional possibilities and alternatives to the above-provided markup for Local Business organisation Reviews and AggregateRating. Check out these invaluable resources related to schema markup for Local Businesses
Google Structured information report
Schema.org Local Business
Schema.org AggregateRating
Schema.org Review
Source: https://www.wisevu.com/blog/localbusiness-aggregate-rating-reviews-show-stars-google-listing-schema/
0 Response to "How to Agragrate Facebook Reviews in Rich Snippet Code"
Post a Comment