If you want to allow your users to subscribe themselves to one of your static lists in Iterable, it's often useful to provide a form on your website.
For projects that use email
as a unique identifier, Iterable provides a
basic HTML form that adds a new user to your list whenever someone submits
their information. You can customize and use this form on your website.
IMPORTANT
Iterable provides this form code for email-based and hybrid projects. This code isn't available for userID-based projects. To learn more about each project type and feature availability, read Project Types and Unique Identifiers.
To get the form code, go to Audience > Lists and find the Signup Form link. This link is available under the name of the static list for which you want to create a signup form.
You can generate a form from an existing list, or create a new list and then generate a form.
These steps cover creating a new list and then creating a signup form.
-
Create a standard list by navigating to Audience > Lists and clicking Import List. For more information, read Adding Users and Creating Lists.
Once you have a list for which you'd like to create a signup form, return to Audience > Lists.
-
In the Name column, click Signup Form.
-
Use the sample code to build your form. You can copy the code block and use it as-is, or customize it using HTML/CSS. For each field you want to include in the form, add an
input
line similar to the one shown in the following example.
The live preview shows what the signup form looks like when rendered on a website.
Copy the code, and modify it to customize the form as you like. For example, you
might change the prompt text, or the text on the button. Note that Iterable doesn't
support using a different domain for the signup form—the user will always
see the link as links.iterable.com/lists/publicAddSubscriberForm
.
NOTE
If a user submits an invalid email address using the form code shown above, they are redirected to an Iterable error page. To avoid this, edit the form code to add validation logic.