Skip to content

Signup forms

Build a form, embed it on your site, and understand what happens on submit.

Forms → New form. Choose the list it feeds, set the button text and the message shown after signup, and you have an embeddable form.

How many can be live

A form is live when its embed code shows it and it accepts signups, or a draft when it does neither. Publish and Unpublish on the Forms screen switch between the two; the embed code stays the same either way.

Free accounts can have 3 live forms, Starter 10, Pro and Business as many as they like. Drafts never count. The Forms screen always shows how many of your live slots are used. A form you create or duplicate once the limit is reached is saved as a draft and stays one until you unpublish another or upgrade - nothing you built is lost.

Fields

Email address, and optionally a first name. That is all, deliberately.

Every extra field costs you signups. A first name lets you personalise later, which is worth one field. A phone number, company and job title are worth more to your CRM than the subscribers they lose you - collect those later, from people who have already shown interest.

Embedding it

Copy the snippet from the form's row and paste it into your site's HTML:

<div class="tbe-form" data-form-id="YOUR-FORM-KEY"></div>
<script src="https://theblue.email/embed/tbe-embed.js" async></script>

The script finds the div, fetches the form and renders it. It works on any site that lets you paste HTML - WordPress, Webflow, Squarespace, a hand-written page. The exact snippet shown in your account is the one to use; it carries your form's key.

You only need one copy of the script tag per page, even with several forms.

Allowed domains

A form works only on the sites you list under Allowed domains in its settings, one hostname per line, plus your own landing pages on theblue.email. On any other site the snippet shows a short message instead of the form, so a copied snippet does not work on someone else's site.

List every hostname you embed it on, exactly as it appears in the address bar: example.com and www.example.com are two different entries. With the list empty, the form works only on your landing pages.

Spam protection

Always on, with nothing to set up:

Double opt-in - the real defence. A bot can submit the form; it cannot confirm the address. See Double opt-in.

Honeypot - an invisible field. Humans leave it empty; naive bots fill it in and are silently rejected.

Proof of work - before a submission is accepted, the visitor's browser solves a small puzzle in the background. Your visitors never see it and there is nothing to click. A script that posts addresses straight to the form gets nothing through.

Rate limits - one visitor (IP address) can submit at most ten times an hour. A confirmation email to the same pending address is re-sent at most once every 15 minutes, and one address is accepted at most five times a day. An address submitted to several different senders' forms within an hour is refused for a day: that is what an attempt to flood someone's inbox looks like.

A form under attack - if a form suddenly receives many sign-ups that almost nobody confirms, its visitors are asked for one extra check (Cloudflare Turnstile) on a theblue.email page before they are subscribed. The check opens in a new tab and usually passes on its own. It stops by itself an hour after the surge ends. A busy day on which people do confirm is not treated as an attack.

What happens on submit

  1. The submission is checked against the honeypot, the rate limits and the proof of work.
  2. The subscriber is created with status pending and a source of form:{id}.
  3. A confirmation email goes out.
  4. The visitor sees your success message.

The signup source is recorded, so you can later segment by which form someone came from.

The "Powered by" line

Forms on the Free and Starter plans carry a small "Powered by theblue.email" line. It is removed on Pro and Business, or on any plan with the branding add-on - see Billing.

Last updated: