If you want to host your own custom signup forms on your website, you can link those forms to MailChimp to pass subscriber information back to your lists. To do this, you will need to locate the form action, user ID, list ID, and input name elements in the source code for your MailChimp signup form and plug that into the code for the custom form hosted on your website. This allows your custom form to link to your MailChimp account and submit subscriber information. Follow the steps below to get started:
- Navigate to the Lists page.
- Click the drop down menu for the list whose forms you want to work with and choose
- Click the
General forms option.
- Copy the
Signup form URL.
- Paste the Signup form URL into the address bar of a new browser tab or window then press enter.
- In the new browser tab or window, right-click the page if you're working on a Windows machine or control + click in Mac OSX to view a context menu in the browser.
- Select the option to view the page source.
- Find the form action and field information in the form's HTML:
Use the form action code in the signup form hosted on your website. The first value beneath the form action URL is the identifier to link to your MailChimp account. The second value is your list's unique id. Both values are necessary to make sure your form submits to the proper list.
- Locate each of the form's field inputs and copy/paste the "name" for each input to the corresponding field in your custom form.
Test your hosted form by filling out all fields and subscribing to your list.
Adding MailChimp code to a form hosted on your own website is an advanced process best fulfilled by someone with coding experience. If you need assistance setting this up for your site, it's best to find an experienced developer or reach out to one our MailChimp experts.
|Was this article helpful?||
|What can we do to improve your experience with articles like this?|
At this time, we are unable to reply to any responses,but we'll use this information to keep the site up-to-date.