Embed a Survey
Add a SenseFolks survey to your website or application using a simple HTML snippet. Works with any framework or static site.
Steps to Embed a Survey
- Get Your Survey Key
Find the survey key (UUID) in your dashboard under the survey settings or Embed tab
- Add the Script Tag
Include the component script in your HTML head or before the closing body tag:
html<script type="module" src="https://unpkg.com/@sensefolks/fastpoll"></script> - Add the Component
Place the survey component where you want it to appear:
html<sf-fastpoll survey-key="your-survey-uuid"></sf-fastpoll>
Component Script URLs
Use the correct script URL for your survey type:
| Component | Script URL |
|---|---|
| sf-fastpoll | https://unpkg.com/@sensefolks/fastpoll |
| sf-userchoice | https://unpkg.com/@sensefolks/userchoice |
| sf-pricepoint | https://unpkg.com/@sensefolks/pricepoint |
| sf-openfeedback | https://unpkg.com/@sensefolks/openfeedback |
| sf-featurepriority | https://unpkg.com/@sensefolks/featurepriority |