Website Survey Popup

The Website Survey Popup is the easiest way to collect quick feedback from your website visitors. After a short delay, a small popup appears inviting users to take a short survey hosted in your Research Automators account.

It’s a lightweight script that you can add to any website, and it only takes a few seconds to set up.

How to set it up

  1. Copy the script below.
  2. Paste it into your website’s HTML.
  3. Replace the survey URL with your own survey link from Research Automators.
  4. Adjust the text, button color, and delay to match your site’s tone and timing.
  5. Add the completion script to your survey’s Complete-text inside Research Automators.

That’s it. Once added, the popup will appear 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>