The widget survey allows you to have a quick way to get feedback on your website. See demo here
The html looks like this:
<center>
<div class="container">
<iframe class="responsive-iframe" src="https://c-savonen.shinyapps.io/widget-survey/?course_name=widget_repo" style="width: 300px; height: 200px; overflow: auto;"></iframe>
</div>
</div>
</center>
Where you can set course_name to what you'd like to be recorded.
Here's the rough description of how you'd set up your own widget survey you'd do the following:
- Clone this repo.
- Change the Rmd so that it points to your own Googlesheet where you'd like responses to be recorded.
- Run this Rmd interactively the first time and set up your google creds.
- Publish this Shiny app to the location of your choice. For the current example, I used rsconnect because it was free.
- Then put the URL of your published Shiny app in the code given above.
- In the website where you'd like to put this, set the
course_nameto what you'd like to be recorded in your Googlesheet.