In Campaign Monitor you will find a newsletter subscription form that can be embedded into a content field on any page.

The form that is created in Campaign Monitor may come in handy if you'd like to:

  • Collect details other than just the subscriber's name and email address
  • Edit the form's HTML markup
  • Enforce the Captcha check so that no bots can subscribe to your online store's newsletter

In other cases, you can also embed the subscription form in the page by adding the {NewsletterSubscribeForm} tag to the contents (learn more about using Interface tags).

Defining your own subscriber fields

By default, the only fields included in the form are the subscriber name and email address. To add new fields to the subscriber form:

  1. Via the settings in the Email Marketing extension, access Campaign Monitor.
  2. On the Lists & subscribers page, open the email list about whose subscribers you'd like to learn more.
  3. In the right-hand menu, click the Custom fields link.
  4. Enter a name for the new field, and select the field's data type.
  5. Click Add custom field.
  6. When necessary, set the field as being visible and/or required.
The next time you copy the list's subscription form from Campaign Monitor, the new field will be included in the form.

If you add new fields to the form later on, you'll have to copy and embed it once again in your online store after making the changes. See the next chapter for instructions.

Copying and embedding the form in your online store

To copy the form from Campaign Monitor and embed it in your online store:

  1. Via the settings in the Email Marketing extension, access Campaign Monitor.
  2. On the page Lists & subscribers, open the email list for which visitors should fill in the newly created subscription form.
  3. In the right-hand menu, click the Sign up forms link.
  4. Select the desired type of form. For the standard form, select Copy/paste a form to your site.

    When necessary, you can also set the form to add the subscriber to multiple lists. Select all desired lists in the form settings.

  5. Click Get the code, and copy the HTML code that appears on the page.

    You can add the Captcha test to prevent bots from subscribing to your newsletter. To do so, change the name attribute's value to email in the fieldEmail field.

    At this stage, you can still introduce changes into the HTML markup.

  6. Back in your online store's admin panel, open the page (content page, product, or news article) to which the form should be added.

    Switch the text editor to HTML code mode by clicking the <> button.

    Paste the previously-copied code into the location at which the form should appear.
  7. Save the page, and make sure that the form works properly.

    Adding the form to a page may require changes to the store theme so that the form's design is kept in line with your online store's visuals.