After you have installed MailChimp for WordPress (free) and MailChimp for WordPress Premium, it is time to set up your first form. Don't worry, creating your first sign-up form should be relatively easy.
Requirement: set up an audience in Mailchimp
If you haven't already, go to your MailChimp Dashboard and set up a new MailChimp audience. When doing so, think about the different fields your list will need.
MailChimp offers the possibility of using different field types. Simply put, these types tell MailChimp and our plugin what sort of data to expect. That way we can check if the input your potential subscriber is trying to pass along corresponds with the data you would like to receive. Using correct field types will decrease the chance of errors, so it's good to give it some thought!
If you have set up a new list after installing the MailChimp for WordPress plugin, you will need to refresh the plugin's saved data (or cache) for changes to show up in your website.
Create your first form
Once you have your list ready, it's time to set up your first form! This part should be a breeze; you've already done the hard bit.
Within your website, please go here:
MailChimp for WP > Forms
Premium users: you will need to make a new form by clicking the 'Create New Form' button atop the Sign-up Forms list.
Edit your form
You will see the Edit form page with it's editor; a basic form has already been made for you, based on the default list fields in MailChimp. It is now up to you to edit that form to your liking.
You can craft the HTML for your fields yourself or use one of the available field buttons to have the plugin generate it all for you. This field helper will ensure that the generated HTML matches the expected format so that data ends up in MailChimp correctly.
Getting your form live
We provide a shortcode that makes it super easy for you to put the form you have just created anywhere you'd like. It will look something like this:
If you're building a WordPress theme and would rather implement (or hard code) the shortcode through PHP, you can use it like this:
<?php echo do_shortcode('[mc4wp_form]'); ?>
Need to know more?
There are a lot of things you will be able to do with this plugin, so make sure to have a browse around our knowledge base.
We think you might do well to check out these particular pages:
- Styling and customizing your forms
- Send email campaign with every new post
- What to do when you get an 'Oops something went wrong' error
- Track signups through Google Analytics
And don't forget: if you are one of our Premium users, we're here to help. Don't hesitate to contact us if you need anything.