Provides functionality to add contacts to Mailchimp
Directly integrates with IQnection's Base Pages module
Log in to MailChimp as the client: https://login.mailchimp.com
Create a Mailchimp API key. At the time this was written, this was located under Account > Extras > API Keys.
If using the IQnection BasePages module, a field will automatically be added to the form controls tab in the CMS to select which list submissions should be added to.
Create an extension for your page, and add the following function to the Controller Extension:
class FormSubmission extends DataObject
public function onBeforeWrite()
$mc = new Mailchimp(SiteConfig::current_site_config()->MailchimpApiKey);
$result = $mc->addContact($this->Email, 'my_mailchimp_list_id', $this->FirstName, $this->LastName);
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem