For the complete documentation index, see llms.txt. This page is also available as Markdown.

Google Reviews

Display Google Reviews with star ratings, reviewer details, and aggregate rating data.

Use FeedSpring to display Google Reviews on your site, star ratings, reviewer information, and aggregate data like total review count and average rating.

Feed ID prefix: google_...

Render Google Reviews with

  • Attributes, add Google Reviews to any HTML page

  • React & Next.js, use the GraphQL API or attributes in a React app

  • Framer, use the Google Reviews component in Framer

  • GraphQL API, fetch Google Reviews data directly — see the query below

Post fields

In the GraphQL API, post fields are on each item in reviews.nodes.

Attribute
GraphQL field
Type
Description

feed-field="review"

comment

string

The review text itself.

feed-field="name"

author.name

string

Reviewer's name.

feed-field="avatar"

author.photo.url

image URL

Reviewer's Google profile photo.

feed-field="rating"

rating.value

number

Numeric rating (1 to 5).

feed-field="rating-string"

rating.label

string

Rating as a word ("five", "four", etc.). Useful for human-readable output.

feed-field="star"

rating.value

repeater

Active star template. FeedSpring clones this element once per rating point.

feed-field="star-inactive"

rating.value

repeater

Inactive star template. FeedSpring clones this element 5 - rating times.

feed-field="timestamp"

createdAt

date-time

When the review was posted. See timestamp formatting.

Profile fields

In the GraphQL API, profile fields are on the feed itself.

Attribute
GraphQL field
Type
Description

feed-field="average-rating"

averageRating

number

Average rating across all reviews, formatted to one decimal place (e.g. 5.0).

feed-field="total"

reviewCount

number

Total number of reviews.

How star ratings work

Stars are a little different from other fields. Instead of a single attribute, you provide two star elements, one active, one inactive, and FeedSpring fills in the correct count for each review:

For a 4-star review, FeedSpring renders 4 active stars and 1 inactive star. For 5 stars, all 5 active. You design both states, FeedSpring handles the logic.

Google Reviews-specific notes

  • There is no link attribute. Google does not expose individual URLs per review, so there is no way to link to a specific review. See Linking to your Google listing below for the recommended alternative.

  • Ratings are always 1 to 5. Google does not expose half-stars or decimal ratings at the review level. The average rating is a decimal.

  • rating.string returns English words. "five", "four", "three", etc. Useful if you want prose like "Five stars" without formatting the number yourself.

  • Review text is written with innerText. Unlike Instagram captions, review text is inserted as plain text, so any HTML in reviews is escaped.

Linking to your Google listing

Because there is no per-review link, we recommend linking to your Google Business Profile instead. Visitors can read your other reviews there and leave one of their own.

Add it as a normal <a> in your markup, outside the post template, using your own Place ID:

This is a static link you control, not feed data, so it stays the same for every review.

Example

A review grid using the attributes delivery method. It uses static rendering, repeating the review card, because of the known star issue above:

GraphQL API

Fetch Google Reviews feeds with the GraphQL API. The feed returns GoogleReviewsFeedData, with items under reviews.nodes.

Google Reviews feeds contain business information, aggregate rating data, and reviews.

Field notes

Field
Description

business

Business represented by the feed.

location

Feed-level Google location, or null when the feed is not tied to one location.

reviewCount

Total review count reported for the business.

averageRating

Average rating reported for the business.

reviews.nodes

Reviews available in the feed. The list is always present and may be empty.

reply

Business reply to the review, or null when there is no reply.

author.photo

Optional author photo.

author.isAnonymous

Whether Google marked the reviewer as anonymous.

rating.label

Human-readable rating label.

rating.value

Numeric rating value.

review.location

Location associated with an individual review, when available.

Typical use cases

  • Carousel of 5-star reviews under a landing page hero

  • Dedicated reviews page with full review grid

  • Small trust badge in a sidebar or footer showing average rating and review count

  • Product page testimonial with a single featured review

Next steps

Last updated