Available on: Professional, Business plans
Constant Contact is a powerful email marketing tool designed to help businesses of all sizes connect with their audience.
When you connect your form to a Constant Contact account, each submission will add a new contact to your selected list while adding Constant Contact plugin, including their name, email address, and other relevant information added through submission.
Form Setup
Before using the Constant Contact Plugin, you must create a form to collect information. Any HTML form will suffice, provided it includes an "email" input field. Additionally, during plugin setup, ensure that you select the list where contacts will be added in Constant Contact. This list should contain at least an email address for each contact. Other than the required email address field, you can customize the form to include any additional known and custom fields you desire for your Constant Contact contacts.
name="email" (Required)
Formspree will use the email address to create a new Constant Contact contact. If a contact already exists with the provided email address, no changes will be made to the existing contact in Constant Contact, and the submission tab will indicate its existence. However, if the "Overwrite contacts" option is enabled during plugin setup, all provided fields will be updated in Constant Contact.
For example:
<input type="email" name="email" placeholder="Your email address" required>
name="name"
Adding input named "name" or "firstName" and "lastName" inputs will set the contact's first and last name. If a user already exists with the given email, and the over write option is enabled it will update the name (first and last names) under that contact.
This is an optional field.
<input type="text" name="firstName" placeholder="Your first name">
<input type="text" name="lastName" placeholder="Your last name">
or
<input type="text" name="name" placeholder="Your full name">
name="phone"
An input named phone will set the phone to the new contact. If the Overwrite contact option is enabled, will be added to the contact phone list.
This is an optional field.
<input type="text" name="name" placeholder="+55999999999">
name="company"
If the company field is submitted, Formspree will try to find this company on your database or create it if doesn't exist. If a new contact is created, will be bind to this company.
This is an optional field.
<input type="text" name="company" placeholder="Formspree Inc">
name="tags"
An input named "tags" can be used to add tags to the ticket. You should send the tags split by a comma. A tag called formspree would be added by default.
This is an optional field.
<input type="text" name="tags" value="nice tag, another tag">
Additional Fields
In addition to the required fields like email and street address, there are other fields that can be included in the form to be sent to Constant Contact. The following fields are optional and if submitted, will be added to the contact.
Address
For the street address, you need to provide the following 5 fields to be correctly sent to Constant Contact:
- Street
- City
- State
- Zip
- Country
<input type="text" name="street" required>
<input type="text" name="city" required>
<input type="text" name="state" required>
<input type="text" name="zip" required>
<input type="text" name="country" required>
name="job_title"
This field should be submitted as a string. For example:
<input type="text" name="job_title">
name="birthday_month":
This field should be submitted as an integer.
<input type="number" name="birthday_month">
name="birthday_day":
This field should be submitted as an integer.
<input type="number" name="birthday_day">
name="anniversary":
The accepted formats for the anniversary field are MM/DD/YYYY, M/D/YYYY, YYYY/MM/DD, YYYY/M/D, YYYY-MM-DD, YYYY-M-D, M-D-YYYY, or M-DD-YYYY.
<input type="text" name="anniversary" placeholder="MM/DD/YYYY">
Connecting to Constant Contact
Once you've created and configured a form that, at a minimum, has an input named "email_address" you can connect to Constant Contact using the Constant Contact Plugin. To do so, first, go to the Plugins tab of your form. Then click the Constant Contact button as show below,
After clicking on the Constant Contact plugin button, the following dialogue window will open and in which you need to click on connect button.
Then after clicking the “Connect” button, you need to login in to Constant Contact by entering your username and password and click on “Sign In” button as shown below,
After when the user is successfully logged-in in the constant contact, the user needs to select the list in which the user wants their contacts to be stored after the submission of the form. The user can also enable/disable the Over write option.
Note: The Constant Contact does not allow to handle the option for opt-in through API. The user needs to enable it in the Constant Contact website. The link is given here as well.
Changing Constant Contact plugin settings
If the user wants to change the settings of the plugin, the user can get to the workflow tab in Formspree interface, locate the constant contact plugin and click on the three doted button as show in the red square in the image below and then click of the settings button
After when clicked the settings button, then you can change the settings of the plugin as you want. It will be the same as finishing the setup while adding the plugin at the very first time.
You can also remove or disconnect the plugin from the Formspree by clicking on the red button named “Disconnect”.