Constant Contact

Constant Contact

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

I. Create a Constant Contact developer account.

II. Add credentials to Shop

III. Setup Constant Contact

  1. Go to https://constantcontact.mashery.com/ and sign-up for a developer account
  2. 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.
  3. Check “Issue a new key for Constant Contact API”
  4. Check “I agree to the terms of service”
  5. Click Register Application
  6. On the confirmation page copy the API key and secret key to notepad
  7. Edit the application you created
  8. In the Redirect URI Field enter https://[_clientBaseUrl_]/administration/constant-contact/auth
  9. Click Save

II. Add credentials to Shop

  1. In your website Administration panel go to Constant Contact
  2. Copy the API key into the API key box
  3. Copy the secret key into the secret key box
  4. Enter your website URL into the redirect URL box
  5. Click Connect to Constant Contact to be redirected to Constant Contact

III. Setup Constant Contact

  1. Login with your credentials
  2. Follow the prompts to allow access to the application
  3. 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



    • Related Articles

    • Company Details

      Overview This is where you confirm basic details about your company: address, contact information, etc. This information appears in the footer of every page on your site. Company information may be displayed to visitors depending on the site ...
    • Product Associations

      Use Product Associations to associate one product with another. This can be used to populate a carousel on product details pages, to require the purchase of a product when another is added to cart, and to offer optional products for purchase. To ...