Constant Contact is an email marketing provider. Our Constant Contact integration connects directly with Constant Contact to allow end users to sign up to mailing lists at user registration and checkout. Constant Contact also offers embed scripts that you can use to create a form in a custom page for news letter signup.
Integration Setup
II. Add credentials to Shop
Populate all the fields
Application Name: Use the client name suffixed with “mailing list signup”.
Company Name: Enter the client company name.
Website: The client website URL.
Application Description: Enter: Constant Contact Mailing List Sign Up Integration.
Check “Issue a new key for Constant Contact API”
Check “I agree to the terms of service”
Click Register Application
On the confirmation page copy the API key and secret key to notepad
Edit the application you created
In the Redirect URI Field enter https://[_clientBaseUrl_]/administration/constant-contact/auth
Click Save
II. Add credentials to Shop
- In your website Administration panel go to Constant Contact
- Copy the API key into the API key box
- Copy the secret key into the secret key box
- Enter your website URL into the redirect URL box
- Click Connect to Constant Contact to be redirected to Constant Contact
- Login with your credentials
- Follow the prompts to allow access to the application
- Once back at the admin screen your access token will be available
Configure the list you want displayed on the site
The lists that will be displayed on the site are those that are set 'ACTIVE' (it seems they're set 'HIDDEN' by default?)
You will have to set the correct lists as active using the mashery api interface at
At the top of the page, enter the correct App/Key and the access token connected to it (or hit get access token to create a new one).
Then go to ContactList methods -> Get and hit 'Try it!'
The 'Response Body' will give a list of all the contact lists and their id's and status (active/hidden)
In ContactList methods -> Put you can now use the elements from the response body to modify the list
In the listID, put the id number of the list you want to modify. Leave Content-Type as 'application/json'
In the Request Body, enter the name of the list and the status you want to change it to. So to hide the list 'THIS LIST NAME' you'd enter
{
"name": "THIS LIST NAME",
"status": "HIDDEN"
}
If you want to show a list try :
{
"name": "THIS LIST NAME",
"status": "ACTIVE"
}
and hit 'Try it!'. If you get a 200, all good. If not, try the docs at