🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Site Reviews Premium Add-on Setup Guide

Updated 7 min read Gravity Forms Integrations A–Z
On this page
  1. Video walkthrough
  2. What you need
  3. Install and activate
  4. Build the review form
  5. Create a feed
  6. Review
  7. Assign the review
  8. Publishing
  9. Custom fields
  10. Condition
  11. How ratings are converted
  12. What happens after a review is made
  13. Rules of Site Reviews still apply
  14. Developer hooks
  15. Troubleshooting
  16. Questions
  17. Does it make a review form in Site Reviews?
  18. Can I import old entries?
  19. Does it send email?
  20. What is not covered?

Video walkthrough

Gravity Forms Site Reviews: Turn Form Entries into Star Reviews with Approval (Free Plugin)
Video tutorial: Gravity Forms Site Reviews Watch on YouTube

The Gravity Forms Site Reviews Premium Add-on turns a Gravity Forms submission into a review in the free Site Reviews plugin. You build the review form with Gravity Forms, with all of its field types, conditional logic, multi page forms, spam protection and notifications, and each submission becomes a real Site Reviews review that you can show with the Site Reviews blocks, moderate in the Site Reviews screens and count in its star totals.

The add-on writes only into the Site Reviews plugin of the same WordPress site, through its own PHP functions. It never contacts another site and it does not store reviews anywhere else.

What you need

  • WordPress 6.5 or newer and PHP 7.4 or newer.
  • Gravity Forms 2.9 or newer. The add-on is tested with Gravity Forms 3.1.2 on PHP 8.3 and Gravity Forms 2.9.8 on PHP 7.4.
  • The free Site Reviews plugin, version 7.2 or newer. It is tested with Site Reviews 8.3.5 (which needs PHP 8.1.2 or newer) and Site Reviews 7.2.5 (which runs on PHP 7.4).
  • An active license key for this add-on.

If Site Reviews is not active the feed screens show a notice and nothing is created. If Gravity Forms is missing or older than 2.9 the add-on shows a notice in the WordPress admin and does nothing else.

Install and activate

  1. Install and activate Site Reviews and Gravity Forms, then install and activate this add-on.
  2. Open Forms → Settings → Site Reviews and enter your license key.
  3. Open the form that collects the reviews, go to Settings → Site Reviews and choose Add New.

Build the review form

Any Gravity Forms form can become a review form. At the least it needs one field that holds the rating. Most review forms also have a name, an email address, a title and a text box for the review. The rating field can be a number field, a drop down, radio buttons, a hidden field or a star rating field. The add-on does not care what type it is; it reads the value that was submitted.

A Gravity Forms review form on a product page: name, email, rating, title and review text
The visitor fills in an ordinary Gravity Forms form; no Site Reviews form is needed on the page.

Create a feed

A feed tells the add-on what to do with each submission. The feed screen has five parts.

The Site Reviews feed settings in Gravity Forms: the review fields, the rating scale, what the review is assigned to and how it is published
The feed: map the form fields to the review, choose the rating scale, the page it belongs to and whether it is published.

Review

  • Name: only for you, it is shown in the feed list.
  • Review fields: choose the form field for the Rating (required), the Review title, the Review text, the Reviewer name and the Reviewer email. A Name field can be chosen as a whole and arrives as the full name. An email address that is not valid is left out; the review is still made.
  • Rating field scale: Site Reviews uses whole stars from 1 to 5. If your field uses another scale, pick it here and the value is converted. See the next section.

Assign the review

Site Reviews can show the reviews of one page, one user or one category. Leave this part empty for a general review of your business.

  • Assign to a page or post: nothing, fixed post IDs (a page, a post, a product, any post type), the post ID that a form field holds (for example a hidden field filled by a merge tag), or the page the form was submitted on. IDs of posts that do not exist are dropped.
  • User IDs: for reviews about a person, such as a coach or an agent.
  • Category IDs: the numbers of Site Reviews categories.

Publishing

  • New reviews are: as set in Site Reviews (the add-on follows the approval setting under Site Reviews, Settings, General, including the star threshold), published at once, or held for approval.
  • Use the entry date as the review date: the review gets the date of the submission, which matters when you re-run a feed for old entries.
  • Keep the review in step with the entry: when an administrator edits the entry, the review is updated.
  • Hold the review back while the entry is in the trash or marked as spam.
  • Mark the review as verified: for forms that only your real customers can reach.
  • Save the visitor IP address: off by default.
  • Link the review to the WordPress user who submitted the form: on by default; it only applies when the visitor was signed in.

Custom fields

If you added custom fields to the Site Reviews form (for example an order number), enter the name of the custom field and choose the form field that fills it. A name may use lower case letters, digits, a dash and an underscore. Any other name is skipped.

Condition

Use the Gravity Forms conditional logic of the feed to create reviews only when you want to, for example only when the rating is 4 or more, or only when a consent box is ticked.

How ratings are converted

The value is turned into a whole number of stars from 1 to 5, rounded half up, and never lower than 1 or higher than 5.

  • 1 to 5: 4 stays 4; 4.5 becomes 5.
  • 1 to 10: 8 becomes 4, 7 becomes 4 (3.5 rounds up), 1 becomes 1.
  • 1 to 100: 60 becomes 3; 100 becomes 5.
  • Position of the chosen choice: for radio buttons, drop downs and survey rating fields. With five choices the first is 1 star and the last is 5. With more choices the position is scaled to five stars.
  • Values like 4/5, 8 / 10 and 80% carry their own scale and ignore the setting. A row of star characters is counted. A choice value with a price part, like 4|0, uses the number in front.
  • An empty field, zero, a negative number or text that is not a number gives no review. The entry gets an error note instead.

What happens after a review is made

  • The entry gets a note such as Site Reviews review created (4 stars, published) and the entry screen shows a Site Reviews box with the stars, the status and a link to the review.
  • Running the feed again for the same entry (resend, re-process) updates the same review. It never makes a second one.
  • Editing the entry in the admin updates the review title, text, name, email, rating, assignment and custom fields. The status and the date stay as they are.
  • Moving the entry to the trash, or marking it as spam, sets the review back to pending. Restoring the entry publishes it again, but only if the add-on was the one that held it back. A review that was waiting for approval stays waiting.
  • Deleting an entry leaves the review in place.
The Site Reviews list in the WordPress admin with reviews that came from a Gravity Forms form, with their star ratings, titles and names
The reviews arrive in the Site Reviews list like any other review, with the entry date.

Rules of Site Reviews still apply

The review is created with the PHP function that Site Reviews provides for developers, so the Site Reviews checks of that function run: a duplicate is refused if you switched on the duplicate check, and a rating or email that Site Reviews refuses is refused. When a review is refused the entry gets an error note and the Site Reviews console log has the reason.

The checks that Site Reviews runs on its own public form (its CAPTCHA, honeypot and blocked word lists) belong to that form and do not run here. Protect your Gravity Forms review form with the Gravity Forms honeypot, a CAPTCHA field or a spam filter, and use the approval setting above if you want to read reviews before they appear.

Developer hooks

  • Filter gfsitereviews_review_values: change the values given to Site Reviews (rating, title, content, name, email, assigned_posts, assigned_users, assigned_terms, is_approved and so on). It receives the values, the feed, the entry, the form and whether the review is new.
  • Action gfsitereviews_review_created: runs after a review is made, with the review ID, the feed, the entry and the form.
  • Entry meta gfsitereviews_review_ followed by the feed ID holds the review ID of that feed.

Troubleshooting

  • No review appears. Open the entry: an error note says why. The usual causes are an empty or text rating, a feed condition that is not met, or Site Reviews refusing a duplicate.
  • The feed list says Site Reviews is needed. Activate the Site Reviews plugin, version 7.2 or newer.
  • The review is pending. Check the feed setting and the approval setting of Site Reviews.
  • The page does not show the review. Reviews are shown by the Site Reviews blocks, and a review that is assigned to a page is shown by blocks that are set to that page.

Questions

Does it make a review form in Site Reviews?

No. You use a Gravity Forms form, and Site Reviews shows and counts the reviews.

Can I import old entries?

Yes. Resend the feed for the entries from the Gravity Forms entry screens or bulk actions. With the entry date option each review gets the date of its entry.

Does it send email?

The add-on sends none. Site Reviews and Gravity Forms send their own notifications as you set them up.

What is not covered?

It does not read reviews back into Gravity Forms, it does not change reviews that were made in Site Reviews, and it does not touch any other site.

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr