I've read through the docs on how to add the aggregated reviews in your search result as rich snippet, but all docs explain that you should manually hardcode the review summary (i. e. number of reviews and star rating) in your ld+json structured data within your website.

Doesnt that mean that you manually have to update this data every time a new review comes in or your average star rating changes? Did I miss something? Isnt there a way to "just look at the Google ratings" and show them in the search result, too? Whats best practice here?

2

There are 2 best solutions below

4
grg On

You would need JavaScript to query an API and obtain the reviews information to produce the markup on your page.

For products, there’s no such Google API:

currently, there is no such google api for product ratings/reviews.

https://support.google.com/google-ads/thread/108957491?hl=en&msgid=108960347

For business reviews, there is a Google API:

but Google do not show rich results when the review markup is for your own Organization or LocalBusiness:

we're not going to display review rich results anymore for the schema types LocalBusiness and Organization (and their subtypes) in cases when the entity being reviewed controls the reviews themselves.

https://developers.google.com/search/blog/2019/09/making-review-rich-results-more-helpful#self-serving-reviews-arent-allowed-for-localbusiness-and-organization.

0
user18206062 On

hope you have found a solution and sorry for not replying last year. The script below calls an api on au2matic.com which returns accumulated customer reviews. It costs 10-15 USD per month but can be tested for free.

Good luck

Just copy below in bottom of header on website

<p style="font-size:1%;" id="a2mjson"></p>
<Script>
var request = new XMLHttpRequest();
request.open('GET', 'https://au2mailer.com/api/a2m-getschemaorg.asp?apikey=f457c545a9ded88f18ecee47145a72c0&prod=44');
request.send();
request.onload = ()=>{
document.getElementById("a2mjson").innerHTML = request.response;
}
</script>