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:
MC4WP > 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.