-
Add Mailchimp subscribe form to all posts automatically
To automatically add a sign-up form to all your posts, go and edit the form you would like to show and open up the Settings tab. From there, locate the Automatically add this form to posts in the following category setting and pick a category. Then save the form to update your settings. That will […]
-
Add variables to redirect URL
You can pass variables from your form to the page your form redirects to. This way you can, for example, thank subscribers by name after they’ve succesfully filled in your form. To do this, use one of the available form variables we’ve listed for you on the Edit form page and add it to the […]
-
Adding tags to Mailchimp subscribers
Subscriber tags are a relatively new Mailchimp feature to help organize your contacts. Our Mailchimp for WordPress plugin allows you to easily add tags to all new subscribers that subscribe through our sign-up forms. To use this feature, go to the page where you edit your form(s), open the Settings and locate the setting from […]
-
Accepted form shortcode arguments
The Mailchimp for WordPress plugin comes with a shortcode that allows you to place a sign-up form just about anywhere. You can put a shortcode in a Post, Page or Widget to display the form to website visitors in that position. While this shortcode works without any arguments, you can specify a few arguments to […]
-
Block spam sign-ups
Mailchimp for WordPress includes several checks to help block spam sign-ups. Forms include a hidden honeypot field and a timestamp check. Submissions from obvious bots are rejected. Some bots still get through. They may target your site directly, or they may use browser automation that looks more like a real visitor. If your Mailchimp audience […]
-
Change position of form response
You can change the position of success and error messages using the {response} tag or by using the mc4wp_form_message_position filter. Using {response} To set the position of the messages using the {response} tag, just place it anywhere in your form mark-up. Using the filter Valid options for the filter are before or after, which will […]
-
Conditional fields or elements
Mailchimp for WordPress supports conditional fields or elements by using two special attributes: data-show-if and data-hide-if. The attribute value can be either just a field name or a field name followed by a colon and the expected field value. For example, let’s assume you have a field named FOO and you want to show some […]
-
Duplicating a sign-up form with its settings
Sometimes you will want to copy over all the work you’ve done on a sign-up form and take all its settings with it. When using Mailchimp for WordPress, it is easy to duplicate your sign-up forms by taking the following steps. That’s all there is to it! You should now have a new form with […]
-
Track form events with Google Analytics
The plugin makes it easy for you to interact with the various form events and run a piece of code, like tracking the event with Google Analytics. Say you want to send an event to Google Analytics every time someone used a form to subscribe? You can do that by adding the following snippet to […]