Note: at the moment WisePops doesn't offer a survey block. In this article, we'll share a workaround.

To create the survey, we are going to use a sign-up block that we're going to edit to:

  1. Hide the email field
  2. Use the WisePops' JS Callbacks feature to automatically fill it up with a dummy email address


Step 1: Create a campaign including an email block. Make sure it contains a feedback field or add one.

Step 2: In the popup editor, open the CSS editor.


Step 3: Paste the following code:

.wisepops-block-signup input[name=email] {
  display: none;
}

Step 4: Click on the JS section, add create a new callback listening for the event "Before form submit". Set the following snippet as the script:

// Automatically fill up the email field
event.target.elements['email'].value = 'dummy@example.com';


Save your popup, and you're done! Don't hesitate to contact us if you have any questions :)

Did this answer your question?