Website survey popup
Quick feedback from your website visitors
After a short delay, a small popup invites visitors to take a short survey hosted in your Research Automators account. It's a lightweight script you can add to any website in seconds.
How to set it up
Five steps, a few minutes
- Copy the script below.
- Paste it into your website's HTML.
- Replace the survey URL with your own survey link from Research Automators.
- Adjust the text, button colour and delay to match your site's tone and timing.
- Add the completion script to your survey's Complete text in Research Automators.
That's it. Once added, the popup appears automatically after the set delay, inviting visitors to take your survey.
Website script
<!-- Research Automators – Survey popup -->
<script src="https://app.researchautomators.com/jqueryscripts/survey-popup.js?"
data-survey-url="https://insight.researchautomators.se/?105000962"
data-popup-text="Help us improve our website - take a short survey:"
data-open-button-text="Sure!"
data-decline-button-text="No, thanks"
data-button-color="#4737ff"
data-delay="3000"><!-- delay in ms -->
</script>Survey completion script
<script>
setTimeout(function () {
window.parent.postMessage('RA_SURVEY_CLOSE', '*');
}, 1500);
</script>