Introduction
You can use FormAssembly's HTTPS connector to create subscribers in Mailchimp.
If you are working with Groups in Mailchimp, this page will provide additional information.
Finally, it is important to note that you cannot update subscribers through FormAssembly's HTTPS connector, only create new subscribers. In other words, once a respondent has subscribed through a form, they cannot subscribe again to a different group.
Requirements
- FormAssembly HTTPS Connector
- FormAssembly Essentials plan and higher, or legacy Professional and Premier plans
View the Template
Click here to View the template form in our template library.
Subscribe respondents to a mailing list
Before getting started, we need to get some information about your mailing list in MailChimp.
1. Login to MailChimp and navigate to Audience | Signup forms
2. Click the Select button next to Form builder
3. Select Signup form from the Forms and response emails menu
4. Locate the Signup form URL, formatted similar to:
http://eepurl.com/XXXXXXX
5. Copy this shortened URL and paste it into the address bar of the current (or another) browser tab or window
6. Navigate to the shortened Signup form URL and note that the URL will expand to appear similar to:
https://ACCOUNT.usXX.list-manage.com/subscribe?u=XXXXXXXXXXX&id=XXXXXXX
7. Copy this expanded Signup form URL and separate the domain and path from the u and id query parameters:
https://ACCOUNT.usXX.list-manage.com/subscribe
u=XXXXXXXXXXX
id=XXXXXXX
Then add "/post" to the end of the URL.
https://ACCOUNT.usXX.list-manage.com/subscribe/post
8. In FormAssembly, make sure your form contains fields to collect the respondent's First Name, Last Name, and E-mail Address
9. Add a HTTPS connector to your form and click Configure
10. Paste the domain and path Signup form URL from Step 7 into the Remote Script URL field and set the HTTP Request Method to GET
11. Scroll down to the Field Mapping section. You will notice there are two columns: Your Form Fields and Will Be Submitted As...
a) Your form field for the subscriber's E-mail address should be submitted as: MERGE0
b) Your form field for the subscriber's First Name should be submitted as: MERGE1
c) Your form field for the subscriber's Last Name should be submitted as: MERGE2
d) Under Additional values, enter the u and id query parameters from the Signup form URL and enter them as shown in the image
12. Save your changes and enable the HTTPS connector
Subscribe respondents who opt-in with a checkbox
To have your respondent opt-in to your mailing list with a form checkbox, follow the steps below after completing the video steps:
1. In Form Builder, add a new checkbox to your form
(question labels may be hidden under Presentation -> Label Placement)
2. Save your changes
3. Navigate to your form's alias list by clicking on:
Notifications -> Show the list of available aliases for this form
4. Locate and make note of the field aliases for your:
- e-mail field
- checkbox field
5. Navigate back to the HTTPS connector and click Add another custom field
6. In the Additional values column, add an @IF formula similar to the one below:
@IF(%%tfa_checkbox%%,%%tfa_email%%,"")
- tfa_checkbox should be replaced by the field alias of your checkbox
- tfa_email should be replaced by the field alias of your e-mail field
7. In the will be submitted as... column, type in MERGE0
Your final result will look similar to the screenshot below:
8. Save your changes
Now, respondents will only be added to your mailing list if they check the box!