Constant ContactPro
This guide assumes you have a Constant Contact account already.
Compatibility
Uses OAuth flow on v3
of the REST API.
Endpoints
Maps data to the following endpoints:
- Contact Lists
Does your project require something else? Contact Us
Fields
Maps data to the following field types:
- Standard
- Custom
Duplicate Check & Update
If a duplicate email address is found in Constant Contact, the profile data will be updated with the latest information submitted.
Setup Instructions
1
Prepare your site's end for Integration
- Go to the Email Marketing section in Freeform Settings (Freeform → Settings → Email Marketing).
- Click the New Integration button at the top right.
- Select Constant Contact (v3) from the Service Provider select dropdown.
- Enter a name and handle for the integration.
- Copy the URL in the OAuth 2.0 Return URI field to your clipboard.
- Leave this page open.
2
Prepare Constant Contact's end for Integration
- Open up a new browser tab and go to Constant Contact's API My Applications website.
- Log into your Constant Contact account there.
- Go to the My Applications page (click at top nav menu).
- Click on the New Application button at top right.
- Enter a name for the application in the modal window that pops up, and click Save. Leave the other 2 settings as they are defaulted.
- On the next page, paste the value you copied from Freeform's OAuth 2.0 Return URI field into the Constant Contact Redirect URI field.
- Fill out the rest of the form if you like, and then click the Save button at the top right.
- On the My Applications list page, click on your newly created application.
- Copy the
API Key
value from Constant Contact. - Click the Generate Secret button beside the API Key field, and then copy the
App Secret
value from Constant Contact.
3
Prepare the Connection
- Go back to your Craft/Freeform browser tab.
- Paste the
API Key
value from Constant Contact into the API Key field in Freeform. - Paste the
App Secret
value from Constant Contact into the App Secret field in Freeform.
4
Finish the Connection
- Click the Save button.
- You will be redirected to a Constant Contact OAuth page to allow permissions.
- If not currently logged in, fill in your credentials.
- Click Allow when asked for permissions.
- You will then be redirected back to the Freeform Email Marketing Integration page.
- Confirm that there is a green circle with Authorized in the middle of the page.
5
Configure the Form
To use this integration on your form(s), you'll need to configure each form individually.
- Visit the form inside the form builder.
- Click on the Integrations tab.
- Click on Constant Contact in the list of available integrations.
- On the right side of the page:
- Enable the integration.
- Choose a Freeform field to be the target opt-in field.
- Select a mailing list that new users should be subscribed to.
- Map Freeform fields to the Constant Contact fields as you wish.
Finished!
Please note that if you set this up initially on a development environment, you will need to update your callback URL and reauthorize the connection on your production environment. However, your settings and field mappings will remain intact.