Gravity Forms Constant Contact

Plugin Banner

Gravity Forms Constant Contact

by Zack Katz

Download
Description

Warning: This plugin was deprecated in March 2021 and is no longer receiving updates or support. Please use the official Gravity Forms Constant Contact Add-On instead.

This plugin requires a Constant Contact account, and the Gravity Forms form plugin.

Integrate Constant Contact with Gravity Forms

If you use Constant Contact email service and the Gravity Forms plugin, you’re going to want this plugin!

Integrate your Gravity Forms forms so that when users submit a form entry, the entries get added to Constant Contact. Link any field type with Constant Contact, including custom fields!

You may also be interested in:

  • GravityView – Display your Gravity Forms entries; easily turn Gravity Forms into a directory plugin.
  1. Upload plugin files to your plugins folder, or install using WordPress’ built-in Add New Plugin installer.
  2. Activate the plugin
  3. Go to the plugin settings page (under Forms > Settings > Constant Contact)
  4. Enter the information requested by the plugin.
  5. Click Save Settings.
  6. If the settings are correct, it will say so.
  7. Follow on-screen instructions for integrating with Constant Contact.
  1. Plugin settings screen

    Plugin settings screen

  2. Choose the lists form submissions are added to, and map the data (including Custom Fields!)

    Choose the lists form submissions are added to, and map the data (including Custom Fields!)

  3. Add advanced logic to determine when a submission should (or should not) be added

    Add advanced logic to determine when a submission should (or should not) be added

  4. Configure one or more feeds (Constant Contact sync rules) per form

    Configure one or more feeds (Constant Contact sync rules) per form

Does this plugin require Gravity Forms?

Yes, it does. You can purchase Gravity Forms here.

Does this plugin require Constant Contact?

Yes, it does. If you don’t have an Constant Contact account, sign up for an account here.

What’s the license for this plugin?

This plugin is released under a GPL license.

How do I prevent opt-in confirmation emails?

To disable “Confirmed Opt-in”, add this code to your theme’s functions.php file:

add_filter('gravity_forms_constant_contact_action_by', 'return_action_by_customer');
function return_action_by_customer() { return 'ACTION_BY_CUSTOMER'; }

How do I prevent access to the Settings page?

To see the Settings page (that has the Constant Contact username and password on it), an user must have the gravityforms_constantcontact capability. To enable or disable access to users, install the Members plugin and add or remove the capability from the user.

How do I prevent the Entry notes confirming that the entry was added to Constant Contact?

To disable this feature, add this code to your theme’s functions.php file:

add_filter('gravityforms_constant_contact_add_notes_to_entries', '__return_false');

Excellent plugin, important and much appreciated major new update recently

By Marty (bozzmedia) on April 27, 2017

First off, thank you to the developers for making a rock solid plugin for this integration, and I really appreciate the recent 3.0 update. It expands the usefulness of this plugin considerably. Highly recommend this plugin.

Very Useful

By echohill on April 21, 2017

Great for connecting Gravity forms, transferring contacts over to Constant Contact and using their automation tools.

Not PHP7 Compatible

By Tim Bowen (creativeslice) on March 15, 2017

FILE: /wp-content/plugins/gravity-forms-constant-contact/api/cc_class.php ----------------------------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 1 LINE ----------------------------------------------------------------------------------------- 82 | ERROR | Function eregi() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_match instead 82 | ERROR | Extension 'ereg' is deprecated since PHP 5.3 and removed since PHP 7.0 - use pcre instead. ----------------------------------------------------------------------------------------- FILE: /wp-content/plugins/gravity-forms-constant-contact/constantcontact.php ----------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------------- 1162 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7. -----------------------------------------------------------------------------------------

Works perfectly

By Steve Henty (stevehenty) on March 7, 2017

This add-on for Gravity Forms works perfectly - just as you would expect of an official Gravity Forms add-on. This is because the developer uses exactly the same coding standards. It's built on top of the Gravity Forms Add-On Framework so the UI is familiar and easy to use. It also means that a great deal of security, future-proofing and compatibility with other add-ons is guaranteed.

Simple, works

By radgh on December 19, 2016

I'm not a big constant contact fan, but a few clients use it. I've set this up a couple of times and it works just fine. Not happy that it has to use their username and password, but the alternatives I've seen also need username and password. So I'm going to blame constant contact instead of this wordpress plugin. For everything else, though, the plugin works as expected and lets you map all sorts of fields. So far it has done everything I have needed. Thanks

Room for improvement in functionality & security

By maymond on November 4, 2016

Works well for the basics but would be much more useful if it could pull custom fields set in Constant Contact into the field mapping options when setting up a feed. (Relevant support thread) Regardless of functionality though the fact that the Constant Contact login info is stored in the database as plain text is a non-starter.

Works very well

By Luke Cavanagh (lukecavanagh) on September 3, 2016

Very easy to configure to setup to work with form submissions in Gravity Forms.

Works as advertised

By strid3r on September 3, 2016

Thank you for this plugin. It works great.

Works as intended

By HMchristine on September 3, 2016

So far this plugin works exactly as intended with WP 4.4.1. No issues yet, will be installing on more sites. Setting up the feeds is straightforward.

Loads up and connects to CC - doesn't connect form data

By sheegoggery on September 3, 2016

I was able to connect our Constant Contact account to configure settings and pull the appropriate lists but the new entries were not loaded into Constant Contact.

I exported the form, and imported it with no success. I fiddled with settings and still nothing. It looks like this plugin is working for some people, so it's worth trying out.

It's been a couple of hours since the first test. If pushing the form entries takes longer I'll come back and edit this review as I still have the plugin running tonight.

3.1.1 on August 9, 2018

  • Fixed hash_equals() PHP warning (thanks, @connorblikre!)

3.1 on April 2, 2018

  • Added link to refresh lists
  • Added support for Gravity Forms 2.3 encryption
  • Fixed fetching lists for usernames containing non-alphanumeric characters

  • Fixed undefined index for username and password when setting up for the first time

  • Fixed PHP 7 code warning
  • Thanks to @fluiditystudio, @michaelw_dc, @codezen8, and @jeffhertzler for head-starts to bug fixes
  • Allow users who have manage_options permissions to access settings and form settings

3.0 on February 19, 2017

  • Completely rewritten to use the Gravity Forms Feed Addon 2.0. If you are upgrading, check your feed configuration!
  • Now requires Gravity Forms 1.9.14+

New Features:

  • Add subscriber to multiple lists at once
  • Use complex Opt-In Conditions (before, plugin only supported one condition)
  • Encrypt Constant Contact login settings
  • Improved restriction of settings page
  • Fixed bug that prevented emails with plus signs (+) from being processed properly
  • Confirmed compatibility with WordPress 4.7.2
  • Added improved logging
  • Added translation strings

2.2.2 (August 11, 2015)

  • Fixed: Invalid login issue (thanks @robertark!)
  • Confirmed plugin compatibility with WordPress 4.3

2.2 & 2.2.1 (January 5, 2015)

  • Fixed: Fatal error on activation for plugins located outside of /plugins/ directory
  • Modified: Converted API to use WordPress remote request functionality – now works with or without curl enabled.
  • Fixed: PHP notices
  • Tweak: Replace some images with Dashicons
  • Tweak: Update Constant Contact logo for Retina displays
  • Removed PressTrends reporting
  • Added: Intro to GravityView plugin
  • Tweak: Only fetch the API if a feed is going to be exported to CTCT

2.1.2 (February 5, 2014)

  • Fixed: Some servers are very sensitive to the fact of posting a form where some values are urls (in this case, the Constant Contact list endpoint). This version replaces that way of posting and adds three new methods to convert endpoint’s in short id’s and backwards.
  • Fixed: Minor corrections (html, PHP warnings)

2.1.1

  • Added: gravityforms_constant_contact_change_date_format filter to enable changing the format of the date field export to Constant Contact.

2.1

  • Fixed: Many PHP notices. This should fix the “spinning” issue when creating a feed with WP_DEBUG turned on.
  • Added: Now a note is added to each entry to confirm that the entry was added/updated in Constant Contact.
  • Improved: PHP 5.4 support
  • Improved: Look of the settings page, new CC logo

2.0.3

  • Made it clearer that you need to configure the settings before creating a feed.
  • Plugin now only checks username & password when saved; this prevents accounts being frozen
  • Corrected “Opt-in Source” to be ACTION_BY_CONTACT, which is correct. It used to be ACTION_BY_CUSTOMER.
  • Added notice when Gravity Forms isn’t installed or active
  • Attempted to fix bug where user names with spaces don’t connect to the API properly
  • Turned off curl debug for echoing errors on submitted forms. Add ?debug=true to the page URL to turn back on.

2.0.2

  • Fixed bug where Custom Fields don’t get sent to Constant Contact.
  • Added notice on Custom Fields feed setup to let user know that custom fields are limited to 50 characters.

2.0.1

  • Fixed issue where registration notice shows up on Plugins page, even when Gravity Forms is registered.

2.0

  • Converted to Gravity Forms Add-On Feeds system. If upgrading, you will need to re-configure your connected forms!
  • Removed dependence on the Constant Contact for WordPress plugin

1.1

  • Added list selection capability – allow users to choose which lists they are subscribed to (view the plugin’s Installation tab or the Help tab on the Edit Form page to learn more)
  • Improved notices if Gravity Forms or Constant Contact API is not installed or activated

1.0

  • Launched plugin
Back to top