Audience

Signup forms

Subscribe visitors from your website with a hosted page, an HTML form or a script

A signup form subscribes visitors to one or more lists. Kula hosts it on your own tracking domain, sends the confirmation email and protects it from bots. For a full page, see landing pages.

Forms need a verified domain: they are served from its tracking subdomain, such as link.acme.com.

Create a form

Open Grow › Forms › New form, start from a template, then lay the form out in the editor. Settings holds:

SettingWhat it does
NameFor you only, to find the form in the dashboard
ListsThe lists the visitor joins. One confirmation email covers all of them
Double opt-inOn by default: the visitor confirms by email before being subscribed
Confirmation email subjectSubject of that email, in the language of your space. Default: "Confirm your subscription to" and the list name, or "Confirm your subscription" with several lists
Title, DescriptionShown above the fields on the hosted page and in the script version
Button labelDefault: "Subscribe"
Success messageShown after the visitor submits
Redirect URLOptional: send the visitor to your own thank-you page instead
Confirmation redirect URLOptional, with double opt-in, and without an incentive: where the confirmation link leads, and where a visitor who needs no confirmation goes right after submitting. Without it, the redirect URL
IncentiveA file or a link delivered by email. Incentive

Keep double opt-in on: it keeps typos, fake addresses and bots out of your list. Double opt-in.

A new form is a draft until you click Publish: a draft answers 404. Publish.

Fields

The form block of the editor sets the fields, in the order you choose, with a label, a placeholder and a required setting for each:

FieldNotes
EmailAlways asked, required
First name, Last nameEach hidden, optional or required
AttributesUp to 10 contact attributes: text, number, date, checkbox or choice list (1 to 30 choices). The key is lowercase letters, digits and underscores, up to 50 characters
ListsThe visitor checks the lists to join, among the public lists of the form. Private lists are always joined

The button has a label, a color, a radius and a full-width setting. The line under it defaults to "We respect your privacy. Unsubscribe at any time." Fields are stacked, or the email and the button share one line.

Hidden fields

Up to 5 attributes with a fixed value, set on every signup: lead_source = webinar-nov. In Settings › Advanced.

Display formats

By default the form shows inline, where the script tag stands. On Growth, Settings › Advanced offers three more formats, drawn by the script in a Shadow DOM so your site's CSS can't break it:

FormatWhereTriggers
InlineWhere the script tag is, or in #kula-form-<form-id>Always
Window (modal)Centered, over a dimmed pageDelay, exit intent (computers), scroll percentage, click on an element with data-kula-form="<form-id>"
Slide-inBottom left or bottom right cornerDelay, scroll percentage
BarTop or bottom of the pageDelay
  • Frequency: after a visitor closes it, the format stays away for N days (default 7). After a signup, it never comes back on that browser. The script keeps this choice in localStorage: no cookie, no identifier.
  • Mobile: a window becomes full screen, a slide-in a bottom bar, and there is no exit intent.
  • Outside Growth, the format is saved but the form shows inline.
  • The script sends the page URL, the referrer and the utm_* parameters with the form.

Add it to your site

The Embed panel of the form gives its URL and an HTML snippet.

The form has its own page at:

https://link.acme.com/f/<form-id>

Share it in your social bio, a QR code or a button. Click Copy the URL or Open the page.

Paste the HTML form

Paste the snippet from the dashboard in your page and style it with your own CSS:

<form method="post" action="https://link.acme.com/f/<form-id>">
  <input type="email" name="email" placeholder="you@example.com" required>
  <input type="text" name="first_name" placeholder="First name">
  <!-- Leave this field hidden and empty: it catches bots -->
  <input type="text" name="website" tabindex="-1" autocomplete="off" aria-hidden="true" style="position:absolute;left:-9999px">
  <button type="submit">Subscribe</button>
</form>

After submitting, the visitor sees One moment on your tracking domain for about a second while Kula checks they are not a robot, then the success message or your redirect URL. A bot that does not run JavaScript stops there. Nothing to add to your form.

Keep the hidden website field. Bots fill every field they find: a submission with website filled is answered as a success and silently dropped.

Load it with a script

The script draws the form, with your title, description and brand color, and submits it without leaving the page:

<script src="https://link.acme.com/f/<form-id>/embed.js"></script>

The form appears where the script tag stands. To place it elsewhere, add an empty element with the id kula-form-<form-id> and the script fills it (mailler-form-<form-id> still works). For a window, slide-in or bar, the same script tag is enough.

Submit from your own code

You can also post to the form from JavaScript, as JSON or form data, with the fields email, first_name and website (empty). With Accept: application/json, the answer is:

{ "ok": true, "pending": true, "message": "Thanks! Check your inbox to confirm." }

pending is true when the visitor still has to confirm by email. To create contacts from your backend, use the contacts API instead.

Posts from your own code skip the bot check. If bots get through, Kula pauses the signups for a few hours and answers 429: Bot signups.

What happens on submit

  1. Kula checks the address. An invalid or disposable one (mailinator.com, yopmail.com…) gets an error message.
  2. The contact is created, or updated if it already exists, with the source Signup form.
  3. With double opt-in, the visitor receives the confirmation email, which names each list with its description, and the subscription stays Pending until they click. Without it, they are subscribed right away.
  4. A confirmed subscription starts the flows triggered by the list, such as your welcome sequence.
  5. Once the signup takes effect (confirmation click, or the submission without double opt-in), Kula records the event kula.form_joined on the contact, which starts the flows triggered by Someone joins a form. Events.
  6. With an incentive, the visitor receives the document by email.

The form is kept on each subscription it creates, and on the contact it created (their source form).

Special cases:

  • If the space confirms an address once (Double opt-in), someone already subscribed to another list is subscribed right away, even with double opt-in.
  • Someone who unsubscribed and fills the form again always confirms by email, even with double opt-in off.
  • An address that bounced or complained gets the same success message as anyone else, but nothing is stored. The form never reveals what Kula knows about an address.
  • Each visitor can submit at most 10 times per minute.
  • When bots fill the form with other people's addresses, Kula pauses the signups for a few hours: visitors are asked to try again later. Bot signups.
  • A subscription not confirmed within 30 days is removed, and the contact with it if nothing else is attached to it. Double opt-in.

Lists

Subscription statuses and double opt-in

Landing pages & forms

Landing pages, incentive and reports

Welcome new subscribers

Greet everyone who signs up through your form