Signup forms
Collect opted-in contacts on your website with a hosted page or an embedded form.
A signup form turns website visitors into opted-in contacts, with their consent recorded (when, where, and their confirmation).
Create a form
Open Signup forms and create one. Choose:
- the headline, button text and whether to ask for a first name;
- the list new people join, and the topics they sign up for;
- confirmed opt-in (on by default): people get an email with a button to confirm, and only become subscribed once they press it. This keeps out typos, fake addresses and people signed up by someone else;
- a welcome email sent once they are subscribed (see below);
- the allowed sites the form may appear on (see below).
Put it on your site
Each form has a hosted page you can link to, and a snippet that shows the form on any page:
<script src="https://zeebra.ai/embed.js" data-form="FORM_ID" async></script>
Copy the exact snippet from the form's page, under Put it on your site.
Let your AI agent do it
The AI agent tab there has a ready prompt for tools like Cursor, Claude Code, Codex or Lovable. It tells the agent what Zeebra is, gives it this form's script and an HTML form to post with fetch, says when each fits, and what to do in React, Next.js, Vue or Svelte, where a script tag in a component doesn't stay where it sits. It ends with what's left for you, like choosing a plan or listing your site under allowed sites. Press Copy prompt and paste it.
In React, Next.js, Vue or Svelte
Don't write the script tag in a component. Render an empty element where the form goes, and once it is on the page, create the script element in code and append it to that element. Empty the element when the component goes away, so coming back doesn't draw a second form.
Allowed sites
List up to 10 sites (like example.com, which covers its subdomains) and the form only shows and takes signups on their pages: browsers refuse to show it inside any other site. The hosted page can't tell which site sent people to it, so with a list it is off, unless you turn on Also take signups on the hosted page. With no sites listed, both work anywhere.
Every form also keeps scripts out: a hidden field only bots fill in, and a form sent less than 2 seconds after it appeared, more than a day after, or a second time is refused, with a note saying what to do.
What happens when someone signs up
- New address: a contact is created as opted in, pending until they confirm (with confirmed opt-in).
- Already subscribed: nothing changes, and they aren't emailed again.
- Unsubscribed before: they must confirm, even if the form doesn't ask for it.
- Bounced or reported spam: refused.
Your confirmation and welcome emails
A form starts with Zeebra's built-in confirmation email. Press Write your own to change it in the same visual editor as campaigns: text, pictures from your library, buttons and merge tags like first name, with your workspace's email theme. Preview shows it as people get it, for any of your contacts. Turning on the welcome email starts from Zeebra's words in the same way.
The confirm button holds each reader's own confirm link. Its toolbar says what it does instead of offering a link, so it can't be pointed anywhere else. Change its text and place freely. If you remove it, Add the button brings it back, and the form can't be saved without it.
Use the built-in email returns to Zeebra's words when you save. A form that was never changed keeps getting the built-in email.
Emails written in Markdown before the visual editor keep going out exactly as they were, and stay in their Markdown box until you choose Move to the visual editor. It checks that every word, link and picture comes across, and an email it can't hold (with raw HTML, a table or code) stays in Markdown. Nothing changes until you save.
Confirmation emails aren't tracked: the confirm link goes straight to us, so it always works.
The check of your own emails
When you save a form with your own confirmation or welcome email, our content check reads it, as it reads campaigns. Most pass straight away. If one needs a look from our team, the form shows In review next to it, and until it's approved new signups get the built-in confirmation email and no welcome email, so signups keep working. If our team doesn't approve it, you get an email saying why; change it and save to have it checked again.
From your own code
If your sign-up happens in your own app or your own HTML form, call the API's add_signup operation with a signups key. That kind of key can only add signups, so it is safe in website code. A form's address (/f/...) only takes posts from Zeebra's own pages, so a form you write yourself posts to the API instead:
await fetch('https://zeebra.ai/api/v1/signups', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Accept: 'application/json',
Authorization: 'Bearer YOUR_SIGNUPS_KEY',
},
body: JSON.stringify({
form_id: 'FORM_ID',
email: 'sara@example.com',
first_name: 'Sara',
page_url: location.href,
}),
});
It answers 201 when it worked. Allowed sites only apply to the form itself, not to the API. See API and MCP.
With a full access key, get_signup_form reads a form's emails and update_signup_form_emails writes them, as an editor document or in Markdown.