To offer a spin the wheel popup that doesn't require an email, we're going to use a sign-up block that we're going to edit to:
- Hide the email field
- Use the WisePops' JS Callbacks feature to automatically fill up the email field with a dummy email address
Step 1: Create a campaign including a wheel block.
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 :)