Visitor Comments - Google Form and Sheet
One of the most frequently asked questions about new Google Sites is "How can we add viewer comments to our site?". This article demonstrates how to use a Google Form to capture the comments and a Google Sheet to display them.
Make a Google Form
On the form add the fields you want, e.g. Name, Comment and anything else you want. You can make fields required, if necessary and change the form colour.
On the Responses tab choose to Create spreadsheet, name the spreadsheet as required and use the Create button
Add a Second Sheet to sort the Comments
The form adds the data to the sheet at the next available row of the spreadsheet (furthest down the spreadsheet).
If you want to display the newest comment first make a new sheet and add the headings from the original sheet, then in the next row use the SORT() function to display the columns in descending date order. In this example we used this formula:
Embed the Google Sheet in the Site
At the same page embed the Google Sheet in your preferred location, use the Insert panel and then Sheets.
If you added a sheet to sort the comments to newest first then open the embedded sheet's settings (use the button that looks like a cog/gear) and choose your sorted sheet as the default sheet to display.
Test the form and you should see the comment you made. There can be a delay for the form data to arrive in the sheet and then a further delay for Google to update the published sheet for the public.