Embed on Landing Page

The simplest way to use WaitlistPilot is to keep your own landing page (Next.js, Webflow, WordPress) and just submit the form data to us.

HTML / Vanilla JS Example

html
<form onsubmit="joinWaitlist(event)">
  <input type="email" name="email" required />
  <button type="submit">Join</button>
</form>

<script>
async function joinWaitlist(e) {
  e.preventDefault();
  const email = e.target.email.value;
  
  await fetch('https://waitlistpilot.com/api/signup', {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
      email,
      projectId: 'YOUR_PROJECT_ID'
    })
  });
  
  alert('Thanks for joining!');
}
</script>