Mailchimp Integration ===================== This feature can automatically subscribe someone to a Mailchimp email list when they submit a form. When this functionality is enabled, you can map form submission variables to merge variables and add form submissions to specific interest groups. For example, if you have a contact form, you might want to opt-in submitters to a newsletter Mailchimp list. And if you have a sales inquiry form, you could opt-in those submitters to a separate sales Mailchimp list with a particular interest group. Implementation -------------- By default, when you generate a website, you will get an implementation of ``CoderedFormPage``. To get the functionality working, you need to do the following: - Implement the abstract ``MailchimpSubscriberIntegration`` class with a ``ParentalKey`` that points to your ``FormPage`` - Add an ``integrations_panels`` variable to ``FormPage`` that holds an ``InlinePanel`` for your implemented ``MailchimpSubscriberIntegration`` class Here is what the resulting code will look like in ``website/models.py``:: from modelcluster.fields import ParentalKey from coderedcms.models import CoderedFormPage, MailchimpSubscriberIntegration from wagtail.admin.edit_handlers import InlinePanel class FormPageMailchimpSubscriberIntegration(MailchimpSubscriberIntegration): page = ParentalKey('FormPage', related_name='mailchimp_integrations', on_delete=models.CASCADE) class FormPage(CoderedFormPage): """ A page with an html